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
commit45b5efe0e619f9269ac2d84a534ce487eacccb84 (patch)
tree3a41265a10e67317ecbf8a2ac456dcab116e14f5 /textproc
parent58ad8ddc19f828fd462a357536a9e88243cd43b3 (diff)
downloadpkgsrc-45b5efe0e619f9269ac2d84a534ce487eacccb84.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