diff options
author | seb <seb@pkgsrc.org> | 2004-02-21 08:38:45 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2004-02-21 08:38:45 +0000 |
commit | 2f8e22c79c3c0566feca35143f49758e09115175 (patch) | |
tree | ab069e4514fc74c36d82286d973114d3dec38d8f /lang/gcc3-c | |
parent | f770e0ad3f4c0a4a7a43bd2ef02d1ed0eec6fdc4 (diff) | |
download | pkgsrc-2f8e22c79c3c0566feca35143f49758e09115175.tar.gz |
Play it safe -and be Solaris friendly: don't rely on 'ln -sf' to properly
remove an existing file, use 'rm -f' then 'ln -s'.
Diffstat (limited to 'lang/gcc3-c')
-rw-r--r-- | lang/gcc3-c/language.mk | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lang/gcc3-c/language.mk b/lang/gcc3-c/language.mk index 3cc8fa918ae..8c584b2f959 100644 --- a/lang/gcc3-c/language.mk +++ b/lang/gcc3-c/language.mk @@ -1,4 +1,4 @@ -# $NetBSD: language.mk,v 1.6 2004/02/20 06:52:43 jlam Exp $ +# $NetBSD: language.mk,v 1.7 2004/02/21 08:38:45 seb Exp $ BUILDLINK_DEPENDS.gcc3c+= gcc3${GCC3_PKGMODIF}-c-${GCC_VERSION}{,nb*} BUILDLINK_DEPMETHOD.gcc3c+= full @@ -7,7 +7,8 @@ BUILDLINK_DEPMETHOD.gcc3c+= full pre-build: cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} tconfig.h - ${LN} -sf ${GCC_PREFIX}/lib/libiberty.a ${WRKSRC}/libiberty - ${LN} -sf ${GCC_PREFIX}/bin/gcc ${WRKSRC}/gcc/xgcc + ${RM} -f ${WRKSRC}/libiberty ${WRKSRC}/gcc/xgcc + ${LN} -s ${GCC_PREFIX}/lib/libiberty.a ${WRKSRC}/libiberty + ${LN} -s ${GCC_PREFIX}/bin/gcc ${WRKSRC}/gcc/xgcc .include "../gcc3-c/buildlink3.mk" |