From 84ece66cd2c3aaa3cc2661c155269eef29f22bdd Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Mon, 17 Aug 1998 02:03:20 +0000 Subject: 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. --- lang/glibstdc++28/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lang') 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 # -# $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 -- cgit v1.2.3