summaryrefslogtreecommitdiff
path: root/math/octave
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 /math/octave
parent7422a82dcf0240d929f2f566a3f2232920d777a1 (diff)
downloadpkgsrc-839613806ef24d5545ec27bb10ff7b00bde026f7.tar.gz
Use compiler.mk logic, fixing systems with a non-GCC compiler.
Diffstat (limited to 'math/octave')
-rw-r--r--math/octave/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/math/octave/Makefile b/math/octave/Makefile
index d4f7ec504a6..15899fad1a5 100644
--- a/math/octave/Makefile
+++ b/math/octave/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2003/11/10 04:25:08 grant Exp $
+# $NetBSD: Makefile,v 1.40 2003/12/23 10:39:30 sketch Exp $
# FreeBSD Id: Makefile,v 1.18 1998/09/27 20:10:45 steve Exp
DISTNAME= octave-2.0.17
@@ -50,14 +50,12 @@ post-install:
.include "../../mk/bsd.prefs.mk"
-GCC_VERSION!= ${CC} --version
-
.if !empty(CC_VERSION:Mgcc-3*)
PKG_FAIL_REASON= "Octave does not build with ${CC_VERSION} - please use octave-current."
.endif
post-patch:
-.if ${GCC_VERSION:C/-.*$$//} == egcs
+.if !empty(CC_VERSION:Megcs*)
@EGCS_VERSION=`${CC} -v 2>&1 | ${AWK} '{print $$4}'`; \
if [ $$EGCS_VERSION -lt 19981201 ]; then \
cd ${WRKSRC}; \