summaryrefslogtreecommitdiff
path: root/math/octave
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-25 15:26:55 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-25 15:26:55 +0000
commit4557f1d6a46da5cfcb32366f42d1bd4bee802341 (patch)
treebc464787da1efbe27c6cde3108b43180afa90b46 /math/octave
parent4704b2a4893165d54310a4ff99a4b91dd5ddfcd2 (diff)
downloadpkgsrc-4557f1d6a46da5cfcb32366f42d1bd4bee802341.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'math/octave')
-rw-r--r--math/octave/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/math/octave/Makefile b/math/octave/Makefile
index 45fa5b5a156..a1b29bc3322 100644
--- a/math/octave/Makefile
+++ b/math/octave/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.132 2016/02/16 04:21:40 dbj Exp $
+# $NetBSD: Makefile,v 1.133 2016/02/25 15:26:55 jperkin Exp $
DISTNAME= octave-4.0.0
CATEGORIES= math
@@ -41,14 +41,12 @@ CONFIGURE_ARGS+= --disable-java
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "Darwin"
# When __APPLE__ is defined, fltk headers typedef an alternate version of Window
# which conflicts with the one in the X11 headers, so avoid pulling in X11.
-CONFIGURE_ARGS+= --without-x
+CONFIGURE_ARGS.Darwin+= --without-x
# The OpenGL framework doesn't have osmesa and the X11 one has header conflicts with the framework
-CONFIGURE_ARGS+= --without-OSMesa
-.endif
+CONFIGURE_ARGS.Darwin+= --without-OSMesa
# We use this to install .oct files so it doesn't strip them.
CONFIGURE_ENV+= INSTALL_LIB=${INSTALL_LIB:Q}