summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortron <tron>2001-06-11 15:10:38 +0000
committertron <tron>2001-06-11 15:10:38 +0000
commit6a8b12bb40c3c5b33cbbdc15c813c1920dfffc0a (patch)
tree78135268b485fd65986cf2bc6b5b825c87767fca /lang
parent001b466f84303b69b90a12b48b143db707347aba (diff)
downloadpkgsrc-6a8b12bb40c3c5b33cbbdc15c813c1920dfffc0a.tar.gz
Remove link "${PREFIX}/${PKGNAME}/bin/cc" before trying to create it to
avoid install failures in case of an incomplete install before.
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile
index a5bba84ff39..0a0a6eabcd2 100644
--- a/lang/gcc/Makefile
+++ b/lang/gcc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2001/06/07 11:57:52 tron Exp $
+# $NetBSD: Makefile,v 1.25 2001/06/11 15:10:38 tron Exp $
DISTNAME= gcc-2.95.2
CATEGORIES= lang
@@ -76,8 +76,8 @@ post-build:
.if (${OPSYS} != SunOS)
post-install:
+ ${RM} -f ${GCC_PREFIX}/lib/gcc-lib/${MACHINE_GCC_PLATFORM}/${GCC_VERSION}/include/curses.h ${PREFIX}/${PKGNAME}/bin/cc
${LN} -s gcc ${PREFIX}/${PKGNAME}/bin/cc
- ${RM} -f ${GCC_PREFIX}/lib/gcc-lib/${MACHINE_GCC_PLATFORM}/${GCC_VERSION}/include/curses.h
${INSTALL_DATA} ${WRKDIR}/gcc.mk ${PREFIX}/etc/${PKGNAME}.mk
.endif