summaryrefslogtreecommitdiff
path: root/mk/compiler/hp.mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-06-02 22:32:49 +0000
committerjoerg <joerg@pkgsrc.org>2009-06-02 22:32:49 +0000
commit869429a0e93be29aea460716819f0e4b8aa93749 (patch)
treef5cf45bf049d7ab5271413eee275646009728040 /mk/compiler/hp.mk
parent3ba39f1c8b922e5e95590f3ccd9a50715bb16152 (diff)
downloadpkgsrc-869429a0e93be29aea460716819f0e4b8aa93749.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/hp.mk')
-rw-r--r--mk/compiler/hp.mk4
1 files changed, 2 insertions, 2 deletions
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