pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/compiler Learn from the AIX issues with hard links ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/432fd16f5be2
branches:  trunk
changeset: 394018:432fd16f5be2
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jun 02 22:32:49 2009 +0000

description:
Learn from the AIX issues with hard links to symbolic links and always
create the compiler aliases with ln -fs.

diffstat:

 mk/compiler/ccc.mk     |  4 ++--
 mk/compiler/hp.mk      |  4 ++--
 mk/compiler/icc.mk     |  4 ++--
 mk/compiler/ido.mk     |  4 ++--
 mk/compiler/mipspro.mk |  4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

diffs (90 lines):

diff -r 56bbf13ef5f3 -r 432fd16f5be2 mk/compiler/ccc.mk
--- a/mk/compiler/ccc.mk        Tue Jun 02 22:28:52 2009 +0000
+++ b/mk/compiler/ccc.mk        Tue Jun 02 22:32:49 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ccc.mk,v 1.18 2009/05/30 18:16:26 joerg Exp $
+# $NetBSD: ccc.mk,v 1.19 2009/06/02 22:32:49 joerg Exp $
 #
 # This is the compiler definition for the Compaq C Compilers.
 #
@@ -83,7 +83,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
diff -r 56bbf13ef5f3 -r 432fd16f5be2 mk/compiler/hp.mk
--- a/mk/compiler/hp.mk Tue Jun 02 22:28:52 2009 +0000
+++ b/mk/compiler/hp.mk Tue Jun 02 22:32:49 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hp.mk,v 1.6 2009/05/30 18:16:26 joerg Exp $
+# $NetBSD: hp.mk,v 1.7 2009/06/02 22:32:49 joerg Exp $
 #
 # This is the compiler definition for the HP-UX C/aC++ compilers.
 #
@@ -85,7 +85,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
diff -r 56bbf13ef5f3 -r 432fd16f5be2 mk/compiler/icc.mk
--- a/mk/compiler/icc.mk        Tue Jun 02 22:28:52 2009 +0000
+++ b/mk/compiler/icc.mk        Tue Jun 02 22:32:49 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: icc.mk,v 1.6 2009/05/30 18:16:26 joerg Exp $
+# $NetBSD: icc.mk,v 1.7 2009/06/02 22:32:49 joerg Exp $
 #
 # This is the compiler definition for the Intel compilers.
 #
@@ -94,7 +94,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
diff -r 56bbf13ef5f3 -r 432fd16f5be2 mk/compiler/ido.mk
--- a/mk/compiler/ido.mk        Tue Jun 02 22:28:52 2009 +0000
+++ b/mk/compiler/ido.mk        Tue Jun 02 22:32:49 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ido.mk,v 1.7 2009/05/30 18:16:26 joerg Exp $
+# $NetBSD: ido.mk,v 1.8 2009/06/02 22:32:49 joerg Exp $
 #
 # This is the compiler definition for the SGI IRIS Development Option
 # cc (IRIX 5).
@@ -80,7 +80,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
diff -r 56bbf13ef5f3 -r 432fd16f5be2 mk/compiler/mipspro.mk
--- a/mk/compiler/mipspro.mk    Tue Jun 02 22:28:52 2009 +0000
+++ b/mk/compiler/mipspro.mk    Tue Jun 02 22:32:49 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mipspro.mk,v 1.40 2009/05/30 18:16:26 joerg Exp $
+# $NetBSD: mipspro.mk,v 1.41 2009/06/02 22:32:49 joerg Exp $
 #
 # This is the compiler definition for the MIPSpro C compiler.
 #
@@ -104,7 +104,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