pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/gcc3-c Play it safe -and be Solaris friendly: don...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f7a3cc4d192c
branches: trunk
changeset: 469269:f7a3cc4d192c
user: seb <seb%pkgsrc.org@localhost>
date: Sat Feb 21 08:38:45 2004 +0000
description:
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:
lang/gcc3-c/language.mk | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 8a2576e95e89 -r f7a3cc4d192c lang/gcc3-c/language.mk
--- a/lang/gcc3-c/language.mk Sat Feb 21 08:18:14 2004 +0000
+++ b/lang/gcc3-c/language.mk Sat Feb 21 08:38:45 2004 +0000
@@ -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 @@
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"
Home |
Main Index |
Thread Index |
Old Index