diff options
author | tron <tron> | 2001-01-13 00:21:11 +0000 |
---|---|---|
committer | tron <tron> | 2001-01-13 00:21:11 +0000 |
commit | 28e3ef6348737c38b66d444f3d203b4c1f1f0623 (patch) | |
tree | dcfe10c6be5f79d3e2222da6a7a6c8a237c8c5b0 /lang | |
parent | 77aa0652bd1daf422ad92ccefff3aea629a089d6 (diff) | |
download | pkgsrc-28e3ef6348737c38b66d444f3d203b4c1f1f0623.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/Makefile | 9 |
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 |