diff options
author | jlam <jlam@pkgsrc.org> | 2004-12-17 16:24:22 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-12-17 16:24:22 +0000 |
commit | 88648515a25556d9c441203aa102f2f290775637 (patch) | |
tree | 859a37b74efed0b6ec6c5d9c156cb3f0114f4e0b /mk | |
parent | 3b0e947bbd32db491d9cb8ceee5364a492fbd952 (diff) | |
download | pkgsrc-88648515a25556d9c441203aa102f2f290775637.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.mk | 5 |
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 |