Date: Sun, 2 Jan 2000 01:09:58 +0000 (GMT) From: Anthony Kimball <alk@pobox.com> To: ports@freebsd.org Subject: speak_freely-7.1 Message-ID: <14446.42246.441243.697692@avalon.east>
next in thread | raw e-mail | index | archive | help
I had to slightly modified the patched makefile in order to install cleanly. Find enclosed the diff relative to the unpatched Makefile. If I should have used send-pr instead of this mailing list, please someone drop me a reply to that effect, so that I will follow the more correct protocol in future. diff -u Makefile.orig Makefile --- Makefile.orig Sat Sep 18 15:29:44 1999 +++ Makefile Sun Jan 2 01:07:26 2000 @@ -3,7 +3,7 @@ # Debugging options -DEBUG = -g -DHEXDUMP +#DEBUG = -g -DHEXDUMP #DEBUG = -g -DHEXDUMP -DNOCRYPTO #DEBUG = -O @@ -38,9 +38,9 @@ # functionality is working. Please see the detailed description # of the available flags which follows these declarations. # -CCFLAGS = -DAUDIO_BLOCKING -DLINUX -DHALF_DUPLEX -DM_LITTLE_ENDIAN -CC = gcc -O3 # for GNU's gcc compiler -LFLAGS = -lncurses -lm +#CCFLAGS = -DAUDIO_BLOCKING -DLINUX -DHALF_DUPLEX -DM_LITTLE_ENDIAN +#CC = gcc -O3 # for GNU's gcc compiler +#LFLAGS = -lncurses -lm # # If the above LFLAGS doesn't work, try the one below. #LFLAGS = -lcurses -lm @@ -220,8 +220,8 @@ # Depending on how your driver handles non-blocking I/O, # you may also have to add -DAUDIO_BLOCKING to the # CCFLAGS line. -#CCFLAGS = -DM_LITTLE_ENDIAN -#LFLAGS = -lcurses -ltermcap -lcompat -lm +CCFLAGS = -O2 -DM_LITTLE_ENDIAN -DHALF_DUPLEX +LFLAGS = -lcurses -ltermcap -lcompat -lm # Hewlett-Packard # (courtesy of Marc Kilian) @@ -271,7 +271,9 @@ CFLAGS = $(DEBUG) -Iadpcm -Ilpc -Igsm/inc -Imd5 -Iidea -Ilibdes -Iblowfish $(CARGS) $(DUPLEX) $(CCFLAGS) $(DOMAIN) -PROGRAMS = sfspeaker sfmike sflaunch sflwld sflwl sfecho sfreflect sfvod +CPROGRAMS = sfspeaker sfmike sflaunch sflwld sflwl sfecho sfreflect +PPROGRAMS = sfvod +PROGRAMS = $(CPROGRAMS) $(PPROGRAMS) all: $(PROGRAMS) @@ -337,7 +339,7 @@ # in make not necessarily available on all platforms. adpcmlib.o: - ( echo "Building ADPCM library."; cd adpcm ; make CC="$(CC)" ) + ( echo "Building ADPCM library."; cd adpcm ; make CC="$(CC) $(CCFLAGS)" ) echo "ADPCM" >adpcmlib.o deslib.o: @@ -361,15 +363,15 @@ echo "LPC" >lpc10lib.o gsmlib.o: - ( echo "Building GSM library."; cd gsm ; make CC="$(CC)" ) + ( echo "Building GSM library."; cd gsm ; make CC="$(CC) $(CCFLAGS)" ) echo "GSM" >gsmlib.o md5lib.o: - ( echo "Building MD5 library."; cd md5 ; make CC="$(CC)" ) + ( echo "Building MD5 library."; cd md5 ; make CC="$(CC) $(CCFLAGS)" ) echo "MD5" >md5lib.o idealib.o: - ( echo "Building IDEA library."; cd idea ; make CC="$(CC)" ) + ( echo "Building IDEA library."; cd idea ; make CC="$(CC) $(CCFLAGS)" ) echo "IDEA" >idealib.o # Object file dependencies @@ -462,5 +464,6 @@ # be root to install in system directories. install: $(PROGRAMS) - $(INSTALL) -o root -g root -m 755 -s $(PROGRAMS) $(INSTDIR_BIN) - $(INSTALL) -o root -g root -m 644 *.1 $(INSTDIR_MAN)/man1 + $(INSTALL) -o root -g wheel -m 755 -s $(CPROGRAMS) $(INSTDIR_BIN) + $(INSTALL) -o root -g wheel -m 755 $(PPROGRAMS) $(INSTDIR_BIN) + $(INSTALL) -o root -g wheel -m 644 *.1 $(INSTDIR_MAN)/man1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14446.42246.441243.697692>