pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Ensure that libtool-base>=1.5.10nb7 is required for...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f00ac36bc861
branches:  trunk
changeset: 485637:f00ac36bc861
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Dec 18 00:14:04 2004 +0000

description:
Ensure that libtool-base>=1.5.10nb7 is required for packages that set
USE_FORTRAN.

diffstat:

 mk/bsd.pkg.mk |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r fdc27c2f2615 -r f00ac36bc861 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Fri Dec 17 23:33:24 2004 +0000
+++ b/mk/bsd.pkg.mk     Sat Dec 18 00:14:04 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1547 2004/12/17 16:24:22 jlam Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1548 2004/12/18 00:14:04 jlam Exp $
 #
 # This file is in the public domain.
 #
@@ -336,9 +336,6 @@
 .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
@@ -408,8 +405,13 @@
 LIBTOOL?=              ${PKG_LIBTOOL}
 SHLIBTOOL?=            ${PKG_SHLIBTOOL}
 .if defined(USE_LIBTOOL)
+.  if defined(USE_FORTRAN)
+LIBTOOL_REQD?=         1.5.10nb7
+BUILD_DEPENDS+=                libtool-base>=${LIBTOOL_REQD}:../../devel/libtool-base
+.  else
 LIBTOOL_REQD?=         1.5.10nb1
 BUILD_DEPENDS+=                libtool-base>=${_OPSYS_LIBTOOL_REQD:U${LIBTOOL_REQD}}:../../devel/libtool-base
+.  endif
 CONFIGURE_ENV+=                LIBTOOL="${LIBTOOL} ${LIBTOOL_FLAGS}"
 MAKE_ENV+=             LIBTOOL="${LIBTOOL} ${LIBTOOL_FLAGS}"
 LIBTOOL_OVERRIDE?=     libtool */libtool */*/libtool



Home | Main Index | Thread Index | Old Index