diff options
author | jlam <jlam@pkgsrc.org> | 2000-08-01 12:00:48 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-08-01 12:00:48 +0000 |
commit | f87ba023e8a9cab42f924bbcb0caf7240428513f (patch) | |
tree | 4bcbe7f1557e8f60650d2f21f2a621d1d9b5a4b7 /mk | |
parent | c62bc321c2c4d8efddc0a0792347f1febcfc8e29 (diff) | |
download | pkgsrc-f87ba023e8a9cab42f924bbcb0caf7240428513f.tar.gz |
In LTCONFIG_OVERRIDE code, remove the old ltconfig file before writing
our own in it's place. This avoids the problem of if the old ltconfig
file is a symbolic link to somewhere else in the filesystem.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index e3c406730b2..c4dbb6b88a1 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.532 2000/08/01 02:51:34 hubertf Exp $ +# $NetBSD: bsd.pkg.mk,v 1.533 2000/08/01 12:00:48 jlam Exp $ # # This file is in the public domain. # @@ -1373,6 +1373,7 @@ 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 \ + ${RM} -f ${ltconfig}; \ ${ECHO} "${RM} -f libtool; ${LN} -s ${LIBTOOL} libtool" \ > ${ltconfig}; \ fi |