summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authordbj <dbj@pkgsrc.org>2011-05-09 03:12:07 +0000
committerdbj <dbj@pkgsrc.org>2011-05-09 03:12:07 +0000
commitaf294b7e338de6a0ea239943f2edb3de95d70aca (patch)
tree7fe01ea31afee3094d2c0f29c9230b7abb68f094 /math
parentd489483c75140340a60eabb7fe2a52f120b02a15 (diff)
downloadpkgsrc-af294b7e338de6a0ea239943f2edb3de95d70aca.tar.gz
include bsd.prefs.mk before consulting MACHINE_ARCH so it picks up manually set ABI
Diffstat (limited to 'math')
-rw-r--r--math/fftw2/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/math/fftw2/Makefile b/math/fftw2/Makefile
index bcf4166d0ac..a88518ceb44 100644
--- a/math/fftw2/Makefile
+++ b/math/fftw2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2010/07/30 10:36:28 asau Exp $
+# $NetBSD: Makefile,v 1.21 2011/05/09 03:12:07 dbj Exp $
DISTNAME= fftw-2.1.5
PKGNAME= fftw2-2.1.5
@@ -16,11 +16,13 @@ PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-shared
-.if ${MACHINE_ARCH} == "i386"
-CONFIGURE_ARGS+= --enable-i386-hacks
-.endif
USE_LANGUAGES= c fortran77
USE_TOOLS+= gmake makeinfo
INFO_FILES= # PLIST
+.include "../../mk/bsd.prefs.mk"
+.if ${MACHINE_ARCH} == "i386"
+CONFIGURE_ARGS+= --enable-i386-hacks
+.endif
+
.include "../../mk/bsd.pkg.mk"