summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjlam <jlam>2004-02-09 03:26:39 +0000
committerjlam <jlam>2004-02-09 03:26:39 +0000
commitb771201bf6b83886debc50ac6e52c7054b1d18b0 (patch)
tree3a41265a10e67317ecbf8a2ac456dcab116e14f5 /textproc
parentd7b31db02dc8df809b8e143f956f9336838b718e (diff)
downloadpkgsrc-b771201bf6b83886debc50ac6e52c7054b1d18b0.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/Makefile10
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