From 171b30288ea38b36bc621dc81c9d670d63aa00bb Mon Sep 17 00:00:00 2001 From: minskim Date: Sun, 29 May 2005 05:45:58 +0000 Subject: Honor CFLAGS, LDFLAGS, and PREFIX on Linux. --- mail/mush/distinfo | 3 ++- mail/mush/patches/patch-ao | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 mail/mush/patches/patch-ao (limited to 'mail/mush') diff --git a/mail/mush/distinfo b/mail/mush/distinfo index 22ea95cae9c..502f04f7fe2 100644 --- a/mail/mush/distinfo +++ b/mail/mush/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2005/05/29 05:33:42 minskim Exp $ +$NetBSD: distinfo,v 1.7 2005/05/29 05:45:58 minskim Exp $ SHA1 (mush/mush-7.2.5.tar.Z) = 1b9b54b368b9a748401b1baeb3b3eba5a9ed2c03 RMD160 (mush/mush-7.2.5.tar.Z) = 32e010f544f79cc1a0f899d722d465975d552a4e @@ -38,3 +38,4 @@ SHA1 (patch-ak) = 47a3a7dc405a654db3a7d76f80d71af98e9501cb SHA1 (patch-al) = 4d0c9ff2a6a8c3c1d59a81b659ed3599881cc762 SHA1 (patch-am) = 2af4636ebd0168d06711abff5f05ffbf0e1868a8 SHA1 (patch-an) = a750c02339df8a161f3c3c8cf33aa6411f1aa2bd +SHA1 (patch-ao) = f48b3cc63489fcbb61e21f1b44f4a755595faada diff --git a/mail/mush/patches/patch-ao b/mail/mush/patches/patch-ao new file mode 100644 index 00000000000..84e55dcb9e4 --- /dev/null +++ b/mail/mush/patches/patch-ao @@ -0,0 +1,25 @@ +$NetBSD: patch-ao,v 1.1 2005/05/29 05:45:58 minskim Exp $ + +--- makefile.linux.orig 2005-05-29 00:37:30.610283960 -0500 ++++ makefile.linux +@@ -30,9 +30,9 @@ DEBUG=-O6 + # apparently has the ncurses library installed as -lcurses, whereas the latter + # has a separate -lncurses. RedHat for 5.0 recommends dropping -ltermcap + # and using only -lcurses. Set CFLAGS and LIBS here as appropriate. +-CFLAGS= $(DEBUG) -DPOSIX -DSIGRET=void -fwritable-strings -DCURSES -DDEFINE_CURSES_SGTTY -I/usr/include/ncurses ++CFLAGS+= -DPOSIX -DSIGRET=void -fwritable-strings -DCURSES -DDEFINE_CURSES_SGTTY -I/usr/include/ncurses + #CFLAGS= $(DEBUG) -DPOSIX -DSIGRET=void -fwritable-strings -DCURSES -DDEFINE_CURSES_SGTTY -DNCURSES +-LDFLAGS= $(DEBUG) ++#LDFLAGS= $(DEBUG) + LIBS= -lncurses -ltermcap + #LIBS= -lcurses -ltermcap + #LIBS= -lcurses +@@ -50,7 +50,7 @@ $(OBJS2): $(HDRS1) $(HDRS2) $(HDRS3) + loop.o: version.h + + #PREFIX= /usr/packages/mush +-PREFIX= /usr ++#PREFIX= /usr + BINDIR= $(PREFIX)/bin + LIBDIR= $(PREFIX)/lib + MRCDIR= $(PREFIX)/lib -- cgit v1.2.3