From b565b093091e21642f0c51cbe954a55e312c0a28 Mon Sep 17 00:00:00 2001 From: gdt Date: Fri, 7 Jun 2013 13:28:56 +0000 Subject: Cosmetic change to make it easier to disable fortran. This commit makes no semantic change; it merely splits USE_LANGUAGES=c fortran77 into two lines, reorders, and adds comments. However, one can then easily turn off USE_LANGUAGES+= fortran77 and turn on CONFIGURE_ARGS+= --disable-fortran and build, without a fortran dependency, and observe that there are no PLIST problems. --- math/fftw/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/math/fftw/Makefile b/math/fftw/Makefile index 6bc9d392b84..4a5071a97ac 100644 --- a/math/fftw/Makefile +++ b/math/fftw/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.43 2013/05/31 12:41:21 wiz Exp $ +# $NetBSD: Makefile,v 1.44 2013/06/07 13:28:56 gdt Exp $ DISTNAME= fftw-3.3.3 PKGREVISION= 1 @@ -13,12 +13,18 @@ LICENSE= gnu-gpl-v2 PKG_INSTALLATION_TYPES= overwrite pkgviews -USE_LANGUAGES= c fortran77 +USE_LANGUAGES= c USE_LIBTOOL= yes USE_TOOLS+= gmake GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-shared +# The next lines are fodder for a fortran option. +# Swapping the comments doesn't change the PLIST. So what's the +# benefit of not? +USE_LANGUAGES+= fortran77 +# CONFIGURE_ARGS+= --disable-fortran + PKGCONFIG_OVERRIDE+= fftw.pc.in INFO_FILES= yes -- cgit v1.2.3