diff options
author | hubertf <hubertf@pkgsrc.org> | 2000-08-03 15:45:42 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2000-08-03 15:45:42 +0000 |
commit | d4ce86ca24bdeed683ed07741906a47f7b6b2f71 (patch) | |
tree | ce2aeaf068a2e8378d0991bb4dd7848e0901e0e1 /mk | |
parent | cf40ac0c62ff98b5ad7a8d1de27e63131d1835c8 (diff) | |
download | pkgsrc-d4ce86ca24bdeed683ed07741906a47f7b6b2f71.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.mk | 6 |
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 |