diff options
author | jlam <jlam> | 2001-06-30 03:36:48 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-06-30 03:36:48 +0000 |
commit | d5fa4d47dfb47e4b4f96b8f230904fca670fd198 (patch) | |
tree | 4fd07f4c5ba5a49da2b7c0886908404a0e879d74 /mk | |
parent | 6085f0a54019eeb3318de437c05a4527ccb5f8e1 (diff) | |
download | pkgsrc-d5fa4d47dfb47e4b4f96b8f230904fca670fd198.tar.gz |
Resurrect LIBTOOL_OVERRIDE. It's needed for lesstif-0.92.32 which uses
the latest libtool in its sources (there's no ltconfig, only ltmain.sh).
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 9782a51330d..23a09a280f0 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.772 2001/06/29 18:29:27 jlam Exp $ +# $NetBSD: bsd.pkg.mk,v 1.773 2001/06/30 03:36:48 jlam Exp $ # # This file is in the public domain. # @@ -1514,6 +1514,15 @@ do-configure: .if defined(USE_IMAKE) ${_PKG_SILENT}${_PKG_DEBUG}cd ${WRKSRC} && ${SETENV} ${SCRIPTS_ENV} XPROJECTROOT=${X11BASE} ${XMKMF} .endif +.if defined(USE_LIBTOOL) && defined(LIBTOOL_OVERRIDE) +.for libtool in ${LIBTOOL_OVERRIDE} + ${_PKG_SILENT}${_PKG_DEBUG}\ + if [ -f ${libtool} ]; then \ + ${RM} -f ${libtool}; \ + ${LN} -sf ${LIBTOOL} ${libtool}; \ + fi +.endfor +.endif .endif # Build |