summaryrefslogtreecommitdiff
path: root/lang/glibstdc++28/Makefile
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-08-17 17:03:31 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-08-17 17:03:31 +0000
commit151b01a7c9ceaa25bc84d3f07c3cf1438110f181 (patch)
treee4a49c5a3e52cc6e3270c2ff7dce22eee8f45fef /lang/glibstdc++28/Makefile
parentFix my careless mistakes. (diff)
Re-add bits to allow ``make reinstall'' or a boched ``make install'' to
be retried.
Notes
Notes: svn path=/head/; revision=12584
Diffstat (limited to 'lang/glibstdc++28/Makefile')
-rw-r--r--lang/glibstdc++28/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/glibstdc++28/Makefile b/lang/glibstdc++28/Makefile
index 61a7cd58ced0..27651b96cccf 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.8 1998/08/17 02:03:20 obrien Exp $
+# $Id: Makefile,v 1.9 1998/08/17 06:40:16 hoek Exp $
#
DISTNAME= libstdc++-2.8.1.1
@@ -26,6 +26,11 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
PLIST_SUB= GCC28SUBDIR=${GCC28DIR}
+pre-install:
+ @# 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++
${MV} ${PREFIX}/include/g++ \