diff options
author | joerg <joerg> | 2009-06-02 22:32:49 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-06-02 22:32:49 +0000 |
commit | 13705b62816b2b29614993d3213fade70c41d1a7 (patch) | |
tree | f5cf45bf049d7ab5271413eee275646009728040 /mk/compiler | |
parent | 8df759d24ac1e1f2ebeb691385d04a0603bf685b (diff) | |
download | pkgsrc-13705b62816b2b29614993d3213fade70c41d1a7.tar.gz |
Learn from the AIX issues with hard links to symbolic links and always
create the compiler aliases with ln -fs.
Diffstat (limited to 'mk/compiler')
-rw-r--r-- | mk/compiler/ccc.mk | 4 | ||||
-rw-r--r-- | mk/compiler/hp.mk | 4 | ||||
-rw-r--r-- | mk/compiler/icc.mk | 4 | ||||
-rw-r--r-- | mk/compiler/ido.mk | 4 | ||||
-rw-r--r-- | mk/compiler/mipspro.mk | 4 |
5 files changed, 10 insertions, 10 deletions
diff --git a/mk/compiler/ccc.mk b/mk/compiler/ccc.mk index f4005012cc2..2d3518ce7b2 100644 --- a/mk/compiler/ccc.mk +++ b/mk/compiler/ccc.mk @@ -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 @@ ${_CCC_${_var_}}: . 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 --git a/mk/compiler/hp.mk b/mk/compiler/hp.mk index 8d9762982bb..a166cc6024b 100644 --- a/mk/compiler/hp.mk +++ b/mk/compiler/hp.mk @@ -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 @@ ${_HP_${_var_}}: . 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 --git a/mk/compiler/icc.mk b/mk/compiler/icc.mk index befa686fe8a..4f8ff385065 100644 --- a/mk/compiler/icc.mk +++ b/mk/compiler/icc.mk @@ -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 @@ ${_ICC_${_var_}}: . 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 --git a/mk/compiler/ido.mk b/mk/compiler/ido.mk index ecf3f1613a5..c9d3e198095 100644 --- a/mk/compiler/ido.mk +++ b/mk/compiler/ido.mk @@ -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 @@ ${_IDO_${_var_}}: . 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 --git a/mk/compiler/mipspro.mk b/mk/compiler/mipspro.mk index 3121a0374f3..c76a384641a 100644 --- a/mk/compiler/mipspro.mk +++ b/mk/compiler/mipspro.mk @@ -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 @@ ${_MIPSPRO_${_var_}}: . 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 |