summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-06-30 03:36:48 +0000
committerjlam <jlam@pkgsrc.org>2001-06-30 03:36:48 +0000
commitacff7084644dc2de6d6c4d81a9552c34327178ac (patch)
tree4fd07f4c5ba5a49da2b7c0886908404a0e879d74 /mk
parent0116e0507b6b6100a6bbb4aa0fcacde6570d7ed7 (diff)
downloadpkgsrc-acff7084644dc2de6d6c4d81a9552c34327178ac.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.mk11
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