diff options
author | jlam <jlam> | 2001-06-11 16:13:33 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-06-11 16:13:33 +0000 |
commit | 71bb155d6dc96dde21310a7b6b317248e8b3d0ad (patch) | |
tree | 83c207226c251efeffd408fb6ae7340c266d84f4 /lang/pgcc | |
parent | 86cb16885f429033347127d4108ee01d43556f41 (diff) | |
download | pkgsrc-71bb155d6dc96dde21310a7b6b317248e8b3d0ad.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/pgcc')
-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 |