summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordbj <dbj>2011-05-09 03:12:07 +0000
committerdbj <dbj>2011-05-09 03:12:07 +0000
commitfbe4a8d931b98b194ec6503ed0d3e3dea4f9d841 (patch)
tree7fe01ea31afee3094d2c0f29c9230b7abb68f094
parent7fdcbf4018fd6a07e2b7d10008cb59eaf5d1087f (diff)
downloadpkgsrc-fbe4a8d931b98b194ec6503ed0d3e3dea4f9d841.tar.gz
include bsd.prefs.mk before consulting MACHINE_ARCH so it picks up manually set ABI
-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"