pkgsrc-Users archive

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

Re: Problems with building/installing libtool-base?



On Wed, 18 Jan 2017, Paul Goyette wrote:

On Wed, 18 Jan 2017, Paul Goyette wrote:

Hmmm, it looks like we might need a similar fix for the devel/libtool-fortran

Well, the up-to-date pkgsrc installs libtool-fortran-2.4.2nb6 but it appears that coinmp thinks that the version of libtool-fortran needs to match the version of teh libtool-base package. It looks for libtool-fortran-2.4.2nb9

There doesn't appear to be any obvious way to specify that the -fortran package has a different PKGREV

Well, for now, it seems sufficient to remove the PKGREV info from the Makefile, and simply depend on libtool-*-2.4.2*

Index: bsd.pkg.use.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/bsd.pkg.use.mk,v
retrieving revision 1.65
diff -u -p -r1.65 bsd.pkg.use.mk
--- bsd.pkg.use.mk	18 Jan 2017 05:33:39 -0000	1.65
+++ bsd.pkg.use.mk	18 Jan 2017 09:00:34 -0000
@@ -97,7 +97,7 @@ PKG_SHLIBTOOL?=		${LOCALBASE}/bin/shlibt
 LIBTOOL?=		${WRAPPER_BINDIR}/libtool
 SHLIBTOOL?=		${WRAPPER_BINDIR}/shlibtool
 .if defined(USE_LIBTOOL)
-LIBTOOL_REQD?=		2.4.2nb9
+LIBTOOL_REQD?=		2.4.2
 .if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
 TOOL_DEPENDS+=		cross-libtool-base-${MACHINE_ARCH}>=${_OPSYS_LIBTOOL_REQD:U${LIBTOOL_REQD}}:../../cross/libtool-base
 .else


This is just a hack (I think), and should probably be replaced by some mechanism that allows for separate default versions of LIBTOOL_REQD for -base and -fortran




+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+


Home | Main Index | Thread Index | Old Index