diff options
author | jlam <jlam@pkgsrc.org> | 2001-06-11 16:13:33 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-06-11 16:13:33 +0000 |
commit | e6da90398875780820d1ca272d856f3fa7a2d881 (patch) | |
tree | 83c207226c251efeffd408fb6ae7340c266d84f4 /lang | |
parent | df40ba2c1bb2c92f81e8dc01f211d4500b87fe2c (diff) | |
download | pkgsrc-e6da90398875780820d1ca272d856f3fa7a2d881.tar.gz |
Mirror recent changes to lang/gcc/Makefile:
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/pgcc/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/pgcc/Makefile b/lang/pgcc/Makefile index 6e2cf1e6b92..df56d48dd67 100644 --- a/lang/pgcc/Makefile +++ b/lang/pgcc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2001/05/04 10:15:46 skrll Exp $ +# $NetBSD: Makefile,v 1.12 2001/06/11 16:13:33 jlam Exp $ DISTNAME= gcc-2.95.2 PKGNAME= pgcc-2.95.2.1 @@ -40,6 +40,7 @@ CONFIGURE_ARGS= --host=${MACHINE_GCC_PLATFORM} \ --prefix=${GCC_PREFIX} \ --enable-shared CONFIGURE_SCRIPT= ${SRCDIR}/configure +INFO_FILES= chill cpp g77 gcc # For pgcc, GCC_VERSION is actually the name of a subdirectory in the gcc # library tree. We keep the odd name to keep this Makefile in-sync with @@ -91,6 +92,7 @@ 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 |