diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-09 03:26:39 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-09 03:26:39 +0000 |
commit | cff0b2385c10c19340342b5b05f06f6b2e691a62 (patch) | |
tree | 3a41265a10e67317ecbf8a2ac456dcab116e14f5 /textproc | |
parent | e49ae0aae8097e6da593673f54b4b08a0b8d39b9 (diff) | |
download | pkgsrc-cff0b2385c10c19340342b5b05f06f6b2e691a62.tar.gz |
CC_VERSION is "gcc-2.8.1" for egcs. Also fix up a few nits: not all
compilers understand "-O" to optimize, and if we only care about gcc, then
wrap the block in an ifdef that is triggered only if we're using gcc.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/sp/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/textproc/sp/Makefile b/textproc/sp/Makefile index 2db0232591a..a4bc190a1de 100644 --- a/textproc/sp/Makefile +++ b/textproc/sp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2004/01/23 17:18:32 jmmv Exp $ +# $NetBSD: Makefile,v 1.15 2004/02/09 03:26:39 jlam Exp $ # DISTNAME= sp-1.3.4 @@ -34,10 +34,10 @@ post-install: .include "../../mk/bsd.prefs.mk" post-patch: -.if !empty(CC_VERSION:Megcs*) - @cd ${WRKSRC}; - for FILE in ${PATCHDIR}/egcs-patch-*; do \ - ${PATCH} ${PATCH_ARGS} <$$FILE; \ +.if !empty(CC_VERSION:Mgcc-2.8.1) + @cd ${WRKSRC}; \ + for FILE in ${PATCHDIR}/egcs-patch-*; do \ + ${PATCH} ${PATCH_ARGS} < $$FILE; \ done .endif |