pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/compiler Don't create hardlinks to symlinks, AIX fr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/56bbf13ef5f3
branches:  trunk
changeset: 394017:56bbf13ef5f3
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jun 02 22:28:52 2009 +0000

description:
Don't create hardlinks to symlinks, AIX freaks out with that.

diffstat:

 mk/compiler/xlc.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5b46c991f489 -r 56bbf13ef5f3 mk/compiler/xlc.mk
--- a/mk/compiler/xlc.mk        Tue Jun 02 19:48:34 2009 +0000
+++ b/mk/compiler/xlc.mk        Tue Jun 02 22:28:52 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: xlc.mk,v 1.23 2009/05/30 18:16:26 joerg Exp $
+# $NetBSD: xlc.mk,v 1.24 2009/06/02 22:28:52 joerg Exp $
 #
 # Copyright (c) 2005 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -158,7 +158,7 @@
 .    for _alias_ in ${_ALIASES.${_var_}:S/^/${.TARGET:H}\//}
        ${RUN}                                  \
        if [ ! -x "${_alias_}" ]; then                                  \
-               ${LN} -f ${.TARGET} ${_alias_};                         \
+               ${LN} -f -s ${.TARGET} ${_alias_};                      \
        fi
 .    endfor
 .  endif



Home | Main Index | Thread Index | Old Index