summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-01-13 00:21:11 +0000
committertron <tron@pkgsrc.org>2001-01-13 00:21:11 +0000
commit3731f4fbf87cc7c32d8fd54fa513d2904aae1a71 (patch)
treedcfe10c6be5f79d3e2222da6a7a6c8a237c8c5b0 /lang
parentfd931ee3ad908b5421fd2991806069b1f9850acb (diff)
downloadpkgsrc-3731f4fbf87cc7c32d8fd54fa513d2904aae1a71.tar.gz
It doesn't make sense to remove "bin/cc" and recreate it later in
"post-install" target.
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile
index e4d9a9225e6..6cbb708e343 100644
--- a/lang/gcc/Makefile
+++ b/lang/gcc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2001/01/11 06:53:10 tron Exp $
+# $NetBSD: Makefile,v 1.10 2001/01/13 00:21:11 tron Exp $
DISTNAME= gcc-2.95.2
CATEGORIES= lang
@@ -66,9 +66,10 @@ post-build:
.endif
post-install:
- ${RM} -f ${PREFIX}/${PKGNAME}/lib/gcc-lib/${MACHINE_GCC_PLATFORM}/${GCC_VERSION}/include/curses.h ${PREFIX}/${PKGNAME}/bin/cc
-.if (${OPSYS} != SunOS)
- ${LN} -s gcc ${PREFIX}/${PKGNAME}/bin/cc
+.if (${OPSYS} == SunOS)
+ ${RM} -f ${GCC_PREFIX}/bin/cc
+.else
+ ${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