summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-01-14 03:36:42 +0000
committerhans <hans@pkgsrc.org>2012-01-14 03:36:42 +0000
commit65a21db0887988ab6a8423979721752ccaf7e634 (patch)
treea12d5bb6790ac8eafb526b0f8343eba1346dee3d /math
parentb0db8ab390ea381eed7b128d09a64000f91010cd (diff)
downloadpkgsrc-65a21db0887988ab6a8423979721752ccaf7e634.tar.gz
Force real gsed only on NetBSD.
Diffstat (limited to 'math')
-rw-r--r--math/octave/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/math/octave/Makefile b/math/octave/Makefile
index 259cf63064e..ffd4f66c111 100644
--- a/math/octave/Makefile
+++ b/math/octave/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.95 2012/01/14 00:51:36 hans Exp $
+# $NetBSD: Makefile,v 1.96 2012/01/14 03:36:42 hans Exp $
DISTNAME= octave-${OCTAVE_VER}
CATEGORIES= math
@@ -38,7 +38,10 @@ CONFIGURE_ARGS+= --enable-static
CONFIGURE_ARGS+= --enable-shared
# trick pkgsrc into real gsed, needed for "mkf77def"
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "NetBSD"
TOOLS_PLATFORM.gsed= #empty
+.endif
.include "options.mk"