summaryrefslogtreecommitdiff
path: root/textproc/sp
diff options
context:
space:
mode:
authorsketch <sketch@pkgsrc.org>2003-12-23 10:37:56 +0000
committersketch <sketch@pkgsrc.org>2003-12-23 10:37:56 +0000
commit839613806ef24d5545ec27bb10ff7b00bde026f7 (patch)
tree74595757301c8f3d90b395577013d6ca1a69349e /textproc/sp
parent7422a82dcf0240d929f2f566a3f2232920d777a1 (diff)
downloadpkgsrc-839613806ef24d5545ec27bb10ff7b00bde026f7.tar.gz
Use compiler.mk logic, fixing systems with a non-GCC compiler.
Diffstat (limited to 'textproc/sp')
-rw-r--r--textproc/sp/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/textproc/sp/Makefile b/textproc/sp/Makefile
index dfa47a13cdf..a5055e13ef8 100644
--- a/textproc/sp/Makefile
+++ b/textproc/sp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2003/01/29 21:43:34 jmmv Exp $
+# $NetBSD: Makefile,v 1.13 2003/12/23 10:40:46 sketch Exp $
#
DISTNAME= sp-1.3.4
@@ -33,10 +33,8 @@ post-install:
.include "../../mk/bsd.prefs.mk"
-GCC_VERSION!= ${CC} --version
-
post-patch:
-.if (${GCC_VERSION:C/-.*$$//} == egcs)
+.if !empty(CC_VERSION:Megcs*)
@cd ${WRKSRC};
for FILE in ${PATCHDIR}/egcs-patch-*; do \
${PATCH} ${PATCH_ARGS} <$$FILE; \