summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2004-12-17 16:24:22 +0000
committerjlam <jlam>2004-12-17 16:24:22 +0000
commit4ea48b263013c963efa92ecd9a02feda158b9c07 (patch)
tree859a37b74efed0b6ec6c5d9c156cb3f0114f4e0b /mk
parentd2883a3f9635d3231ccc5ab812d6f96f3ad411e9 (diff)
downloadpkgsrc-4ea48b263013c963efa92ecd9a02feda158b9c07.tar.gz
Rewrite func_infer_tag in the libtool script so that it's easier to
specify (hardcoded) compilers from which we can infer the correct tag (CC, CXX, F77). Use the following patterns to match compilers to tags: CC: *cc *xlc CXX: *++ *CC F77: *77 *fort Bump the PKGREVISION to 1.5.10nb7 since we now infer the F77 tag from likely Fortran compilers. Also require at least this version of libtool when building packages that set USE_FORTRAN. This should fix PR pkg/28661.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index bbdb293df74..a9c71df1330 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1546 2004/12/10 04:25:09 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1547 2004/12/17 16:24:22 jlam Exp $
#
# This file is in the public domain.
#
@@ -336,6 +336,9 @@ MAKEFLAGS+= PERL5_ARCHLIB=${PERL5_ARCHLIB:Q}
.endif # USE_PERL5 == run
.if defined(USE_FORTRAN)
+. if defined(USE_LIBTOOL)
+LIBTOOL_REQD?= 1.5.10nb7
+. endif
. if !exists(/usr/bin/f77)
PKG_FC?= f2c-f77
. endif