summaryrefslogtreecommitdiff
path: root/lang/gcc3-c
diff options
context:
space:
mode:
authorkristerw <kristerw>2004-02-22 04:51:25 +0000
committerkristerw <kristerw>2004-02-22 04:51:25 +0000
commita4af9cfd4fe50e162fa2c9bb06b6d9b9379371f5 (patch)
treee1a1471854c90e3d426b078579446775ddaf17e2 /lang/gcc3-c
parentf54cde01187ad0a30f4d52f1890bd41ca6df9d04 (diff)
downloadpkgsrc-a4af9cfd4fe50e162fa2c9bb06b6d9b9379371f5.tar.gz
Previous change broke build on NetBSD because it tried to "rm -f" a
directory instead of just the file that was intended.
Diffstat (limited to 'lang/gcc3-c')
-rw-r--r--lang/gcc3-c/language.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/gcc3-c/language.mk b/lang/gcc3-c/language.mk
index 8c584b2f959..531be8cc6f2 100644
--- a/lang/gcc3-c/language.mk
+++ b/lang/gcc3-c/language.mk
@@ -1,4 +1,4 @@
-# $NetBSD: language.mk,v 1.7 2004/02/21 08:38:45 seb Exp $
+# $NetBSD: language.mk,v 1.8 2004/02/22 04:51:25 kristerw Exp $
BUILDLINK_DEPENDS.gcc3c+= gcc3${GCC3_PKGMODIF}-c-${GCC_VERSION}{,nb*}
BUILDLINK_DEPMETHOD.gcc3c+= full
@@ -7,7 +7,7 @@ BUILDLINK_DEPMETHOD.gcc3c+= full
pre-build:
cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} tconfig.h
- ${RM} -f ${WRKSRC}/libiberty ${WRKSRC}/gcc/xgcc
+ ${RM} -f ${WRKSRC}/libiberty/libiberty.a ${WRKSRC}/gcc/xgcc
${LN} -s ${GCC_PREFIX}/lib/libiberty.a ${WRKSRC}/libiberty
${LN} -s ${GCC_PREFIX}/bin/gcc ${WRKSRC}/gcc/xgcc