diff options
author | dbj <dbj@pkgsrc.org> | 2011-05-09 03:12:07 +0000 |
---|---|---|
committer | dbj <dbj@pkgsrc.org> | 2011-05-09 03:12:07 +0000 |
commit | 46b6e463060e9481d03b8c253947ddcbf25b4268 (patch) | |
tree | 7fe01ea31afee3094d2c0f29c9230b7abb68f094 /math | |
parent | 23fe56f8e7e343a4f5bd139fc6e79524eaa1a253 (diff) | |
download | pkgsrc-46b6e463060e9481d03b8c253947ddcbf25b4268.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/Makefile | 10 |
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" |