summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2013-06-07 13:28:56 +0000
committergdt <gdt@pkgsrc.org>2013-06-07 13:28:56 +0000
commit1fbb7234ba3fca215074bee2e8934343930f793e (patch)
tree730e639413e113e030785831a1d807c437289055 /math
parent5959fd093301a8726c468fc8f69d5893ade1405e (diff)
downloadpkgsrc-1fbb7234ba3fca215074bee2e8934343930f793e.tar.gz
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.
Diffstat (limited to 'math')
-rw-r--r--math/fftw/Makefile10
1 files 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