From af294b7e338de6a0ea239943f2edb3de95d70aca Mon Sep 17 00:00:00 2001 From: dbj Date: Mon, 9 May 2011 03:12:07 +0000 Subject: include bsd.prefs.mk before consulting MACHINE_ARCH so it picks up manually set ABI --- math/fftw2/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'math') 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" -- cgit v1.2.3