From 4ea48b263013c963efa92ecd9a02feda158b9c07 Mon Sep 17 00:00:00 2001 From: jlam Date: Fri, 17 Dec 2004 16:24:22 +0000 Subject: 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. --- mk/bsd.pkg.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mk') 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 -- cgit v1.2.3