1 $NetBSD: patch-aa,v 1.2 2010/02/11 19:18:55 joerg Exp $
3 --- Makefile.orig Mon Oct 23 03:27:20 2000
6 -CXXFLAGS=-O2 # flags for compiler
7 -LDFLAGS=-Xlinker -R/usr/ucblib:/usr/local/lib # linker flags
8 -LDLIBS=-L/usr/local/lib -Itbcc # linker libraries
11 -INSTALLDIR=/usr/bin# installation dir of Elizatalk (be sure there is no space between the dir and the #)
12 -INSTALLDIRDICT=/usr/share/elizatalk# installation dir of the dictionaries (be sure there is no space between the dir and the #)
13 +#CXXFLAGS=-O2 # flags for compiler
14 +#LDFLAGS=-Xlinker -R/usr/ucblib:/usr/local/lib # linker flags
15 +#LDLIBS=-L/usr/local/lib -Itbcc # linker libraries
16 +#CXX=gcc # C compiler
18 +CFLAGS+=-DELIZADIR=\"${PREFIX}/share/elizatalk\"
19 +INSTALLDIR=${DESTDIR}${PREFIX}/bin# installation dir of Elizatalk (be sure there is no space between the dir and the #)
20 +INSTALLDIRDICT=${DESTDIR}${PREFIX}/share/elizatalk# installation dir of the dictionaries (be sure there is no space between the dir and the #)
24 @@ -20,10 +21,10 @@ make.depend:$(SOURCES)
28 - install -m 775 -s elizatalk $(INSTALLDIR)
29 - install -d $(INSTALLDIRDICT)/words
30 - install -m 666 main.dict syn.dict $(INSTALLDIRDICT)
31 - install -m 666 words/* $(INSTALLDIRDICT)/words
32 + ${BSD_INSTALL_PROGRAM} elizatalk $(INSTALLDIR)
33 + ${BSD_INSTALL_DATA_DIR} $(INSTALLDIRDICT)/words
34 + ${BSD_INSTALL_DATA} main.dict syn.dict $(INSTALLDIRDICT)
35 + ${BSD_INSTALL_DATA} words/* $(INSTALLDIRDICT)/words
38 rm -f $(INSTALLDIR)/elizatalk