summaryrefslogtreecommitdiff
path: root/mail/mush/patches
diff options
context:
space:
mode:
authorminskim <minskim>2005-05-29 05:45:58 +0000
committerminskim <minskim>2005-05-29 05:45:58 +0000
commitaf0d7fa9a8b0bbee91a969caf289694b2cf68226 (patch)
tree4abf93df345af1e3c2dbc4b493804e30e38857fb /mail/mush/patches
parentbc0b51e352bd2634597bc9ce26a4b1162c8134c0 (diff)
downloadpkgsrc-af0d7fa9a8b0bbee91a969caf289694b2cf68226.tar.gz
Honor CFLAGS, LDFLAGS, and PREFIX on Linux.
Diffstat (limited to 'mail/mush/patches')
-rw-r--r--mail/mush/patches/patch-ao25
1 files changed, 25 insertions, 0 deletions
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