summaryrefslogtreecommitdiff
path: root/lang/gcc3-c
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2004-02-22 04:51:25 +0000
committerkristerw <kristerw@pkgsrc.org>2004-02-22 04:51:25 +0000
commitaa409720a478accfbc899a5ae2c83a0bece0e5ea (patch)
treee1a1471854c90e3d426b078579446775ddaf17e2 /lang/gcc3-c
parentadc8d2b04e405b7ec6fd24b78449254b8c9bf312 (diff)
downloadpkgsrc-aa409720a478accfbc899a5ae2c83a0bece0e5ea.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