pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/mush Honor CFLAGS, LDFLAGS, and PREFIX on Linux.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ee68d9005543
branches:  trunk
changeset: 494730:ee68d9005543
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun May 29 05:45:58 2005 +0000

description:
Honor CFLAGS, LDFLAGS, and PREFIX on Linux.

diffstat:

 mail/mush/distinfo         |   3 ++-
 mail/mush/patches/patch-ao |  25 +++++++++++++++++++++++++
 2 files changed, 27 insertions(+), 1 deletions(-)

diffs (43 lines):

diff -r 5e0f3a2e7de3 -r ee68d9005543 mail/mush/distinfo
--- a/mail/mush/distinfo        Sun May 29 05:33:42 2005 +0000
+++ b/mail/mush/distinfo        Sun May 29 05:45:58 2005 +0000
@@ -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-al) = 4d0c9ff2a6a8c3c1d59a81b659ed3599881cc762
 SHA1 (patch-am) = 2af4636ebd0168d06711abff5f05ffbf0e1868a8
 SHA1 (patch-an) = a750c02339df8a161f3c3c8cf33aa6411f1aa2bd
+SHA1 (patch-ao) = f48b3cc63489fcbb61e21f1b44f4a755595faada
diff -r 5e0f3a2e7de3 -r ee68d9005543 mail/mush/patches/patch-ao
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/mush/patches/patch-ao        Sun May 29 05:45:58 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index