diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1998-08-17 02:03:20 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1998-08-17 02:03:20 +0000 |
commit | 84ece66cd2c3aaa3cc2661c155269eef29f22bdd (patch) | |
tree | 34f7e84d177ddedef9c81a757be67fd4ea2b7b01 /lang | |
parent | Find sendmail in /usr/sbin and fix a couple of potential buffer overflows. (diff) |
Allow a ``make install'' that boched to be re-attempted.
The current version of bsd.port.mk has a bug such that it doens't generate
TMPPLIST at the proper point, and thus all 1st install attempts bomb.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/glibstdc++28/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/glibstdc++28/Makefile b/lang/glibstdc++28/Makefile index a409a89ecf3c..8d6705c0a142 100644 --- a/lang/glibstdc++28/Makefile +++ b/lang/glibstdc++28/Makefile @@ -4,7 +4,7 @@ # Date created: 03 Mar 1998 # Whom: David O'Brien <obrien@NUXI.com> # -# $Id: Makefile,v 1.6 1998/08/15 22:22:33 obrien Exp $ +# $Id: Makefile,v 1.7 1998/08/16 18:05:32 obrien Exp $ # DISTNAME= libstdc++-2.8.1.1 @@ -30,6 +30,9 @@ pre-install: ${SED} -e 's:%%GNUOSREL%%:${OSREL}:' \ -e 's:%%GCC28SUBDIR%%:${GCC28DIR}:' \ ${PKGDIR}/PLIST > ${PLIST} + @# allow a boched ``make install'' to be re-tried + @${RM} -rf ${PREFIX}/include/g++ + @${MKDIR} ${PREFIX}/include/g++ post-install: ${RM} -rf ${PREFIX}/${GCC28DIR}/include/g++ @@ -40,6 +43,6 @@ post-install: ${MV} ${PREFIX}/lib/libstdc++.a \ ${PREFIX}/${GCC28DIR} ${INSTALL_DATA} ${FILESDIR}/osfcn.h \ - ${PREFIX}/${GCC28SUBDIR}/include/g++ + ${PREFIX}/${GCC28DIR}/include/g++ .include <bsd.port.mk> |