diff options
author | tron <tron@pkgsrc.org> | 2001-06-11 15:10:38 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2001-06-11 15:10:38 +0000 |
commit | c5dc20afe06388b0bce22878dcccafa96b403c97 (patch) | |
tree | 78135268b485fd65986cf2bc6b5b825c87767fca /lang | |
parent | 2011379a66b86ca01f1d4df6d7b8b446e2ab1a01 (diff) | |
download | pkgsrc-c5dc20afe06388b0bce22878dcccafa96b403c97.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/Makefile | 4 |
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 |