summaryrefslogtreecommitdiff
path: root/lang/gcc
diff options
context:
space:
mode:
authortron <tron>2002-03-14 20:44:21 +0000
committertron <tron>2002-03-14 20:44:21 +0000
commit6df4abd70d1c15930ea0f0a2305a506e22a6696b (patch)
tree559a87968af7aa54d444152232c0fe0b734291d6 /lang/gcc
parent6511465266e384fc6ad4bca13e56911567a13007 (diff)
downloadpkgsrc-6df4abd70d1c15930ea0f0a2305a506e22a6696b.tar.gz
Remove empty directory "v9" after installation to avoid deinstallation
problems.
Diffstat (limited to 'lang/gcc')
-rw-r--r--lang/gcc/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile
index 190072d1c63..3bb7cfe9f0e 100644
--- a/lang/gcc/Makefile
+++ b/lang/gcc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2002/03/14 16:21:57 wiz Exp $
+# $NetBSD: Makefile,v 1.37 2002/03/14 20:44:21 tron Exp $
# Make sure that the version number in "Makefile.gcc" matches this.
DISTNAME= gcc-2.95.3
@@ -79,11 +79,12 @@ post-install:
${LN} -s gcc ${PREFIX}/${PKGNAME}/bin/cc
${INSTALL_DATA} ${WRKDIR}/gcc.mk ${PREFIX}/etc/${PKGNAME}.mk
.else
-# remove empy file and directory that show up when one
+# remove empy file and directories that show up when one
# does make install; make deinstall; make install
post-install:
- ${RM} -f ${GCC_PREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/fixed
- -${RMDIR} ${GCC_PREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/v7
+ -cd ${GCC_PREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include && \
+ ${RM} -f fixed && \
+ ${RMDIR} v7 v9
.endif
.include "../../mk/texinfo.mk"