diff options
author | sketch <sketch> | 2003-12-23 10:37:56 +0000 |
---|---|---|
committer | sketch <sketch> | 2003-12-23 10:37:56 +0000 |
commit | 8eb5a123834049986c65868921c574fdbeba1988 (patch) | |
tree | 74595757301c8f3d90b395577013d6ca1a69349e /textproc/sp | |
parent | c69982a10ef0fc835b5abb64339e4f707f560063 (diff) | |
download | pkgsrc-8eb5a123834049986c65868921c574fdbeba1988.tar.gz |
Use compiler.mk logic, fixing systems with a non-GCC compiler.
Diffstat (limited to 'textproc/sp')
-rw-r--r-- | textproc/sp/Makefile | 6 |
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; \ |