summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorhubertf <hubertf>2000-08-03 15:45:42 +0000
committerhubertf <hubertf>2000-08-03 15:45:42 +0000
commite0c027939ae2ae99fe9524a2100e7e69d89a5f02 (patch)
treece2aeaf068a2e8378d0991bb4dd7848e0901e0e1 /mk
parent188a37fc637963833825edbcbebc01e198b83842 (diff)
downloadpkgsrc-e0c027939ae2ae99fe9524a2100e7e69d89a5f02.tar.gz
Fix LTCONFIG_OVERRIDE:
'chmod +x' the newly generated ltconfig file, so it is can be run
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index c4dbb6b88a1..3bb20209aa3 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.533 2000/08/01 12:00:48 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.534 2000/08/03 15:45:42 hubertf Exp $
#
# This file is in the public domain.
#
@@ -1372,10 +1372,12 @@ do-configure:
.if (defined(USE_LIBTOOL) || defined(USE_PKGLIBTOOL)) && defined(LTCONFIG_OVERRIDE) && !defined(LIBTOOL_OVERRIDE)
.for ltconfig in ${LTCONFIG_OVERRIDE}
- ${_PKG_SILENT}${_PKG_DEBUG}if [ -f ${ltconfig} ]; then \
+ ${_PKG_SILENT}${_PKG_DEBUG}\
+ if [ -f ${ltconfig} ]; then \
${RM} -f ${ltconfig}; \
${ECHO} "${RM} -f libtool; ${LN} -s ${LIBTOOL} libtool" \
> ${ltconfig}; \
+ ${CHMOD} +x ${ltconfig} ; \
fi
.endfor
.endif