summaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1998-08-17 02:03:20 +0000
committerobrien <obrien@FreeBSD.org>1998-08-17 02:03:20 +0000
commitaccab26b2d7da45766fcd05616bdf2280e44dbba (patch)
tree5ef869f716d97911ea9d66d82d1d483d1cbb7916 /lang
parent499336974d152cce841f44692f63455cfefd9711 (diff)
downloadFreeBSD-ports-accab26b2d7da45766fcd05616bdf2280e44dbba.zip
FreeBSD-ports-accab26b2d7da45766fcd05616bdf2280e44dbba.tar.gz
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/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/glibstdc++28/Makefile b/lang/glibstdc++28/Makefile
index a409a89..8d6705c 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>
OpenPOWER on IntegriCloud