diff options
author | jlam <jlam> | 2000-12-08 07:24:22 +0000 |
---|---|---|
committer | jlam <jlam> | 2000-12-08 07:24:22 +0000 |
commit | e765c825d504dc074adfef394a571de97239dfa6 (patch) | |
tree | 0412537b84cd6c537abc568bd545e51617913d66 /print | |
parent | 6058e0c2fb8a49a603ce9b222ca0822f70c4cbc6 (diff) | |
download | pkgsrc-e765c825d504dc074adfef394a571de97239dfa6.tar.gz |
Honor CFLAGS passed in from environment during build.
Diffstat (limited to 'print')
-rw-r--r-- | print/mpage/files/patch-sum | 4 | ||||
-rw-r--r-- | print/mpage/patches/patch-aa | 17 |
2 files changed, 16 insertions, 5 deletions
diff --git a/print/mpage/files/patch-sum b/print/mpage/files/patch-sum index cf1304355e1..7d41dfa1077 100644 --- a/print/mpage/files/patch-sum +++ b/print/mpage/files/patch-sum @@ -1,3 +1,3 @@ -$NetBSD: patch-sum,v 1.1 1999/07/09 14:23:01 agc Exp $ +$NetBSD: patch-sum,v 1.2 2000/12/08 07:24:22 jlam Exp $ -MD5 (patch-aa) = 2803e0c131ff02b8b95fa045c54a4721 +MD5 (patch-aa) = de5bbf3609da40dc2a0870d11dea6fa5 diff --git a/print/mpage/patches/patch-aa b/print/mpage/patches/patch-aa index e181d55b0c1..f7103cda39e 100644 --- a/print/mpage/patches/patch-aa +++ b/print/mpage/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.2 1998/08/07 11:11:28 agc Exp $ +$NetBSD: patch-aa,v 1.3 2000/12/08 07:24:22 jlam Exp $ ---- Makefile~ Tue Nov 25 23:16:06 1997 -+++ Makefile Thu Feb 19 15:18:17 1998 +--- Makefile.orig Tue Nov 25 18:16:06 1997 ++++ Makefile @@ -30,7 +30,6 @@ # Set this to an ANSI compatible C compiler (preferably gcc) # See also system specific settings below @@ -21,6 +21,17 @@ $NetBSD: patch-aa,v 1.2 1998/08/07 11:11:28 agc Exp $ MANDIR=$(PREFIX)/man/man1 # +@@ -110,8 +108,8 @@ + # Choose one of the following CFLAGS/CC definitions: + # If you are using gcc, you probably don't need to change anything here. + +-# Linux: +-CFLAGS = -O2 -s $(DEFS) -Wall ++# Linux or BSD: ++CFLAGS += -O2 -s $(DEFS) -Wall + + # AIX (xlC on aix 4): + #CFLAGS = -O2 -s $(DEFS) @@ -168,10 +166,10 @@ |