diff options
author | jlam <jlam@pkgsrc.org> | 2002-12-19 15:17:10 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-12-19 15:17:10 +0000 |
commit | a8e95a52e83e61b7a9a5b4f7fc452deee39d56f5 (patch) | |
tree | 52d8e286d2176f196fe9b37dbfbd9285be791b3c /mk | |
parent | cfdb0f97dccbb2aecebb9092858c5251bb410500 (diff) | |
download | pkgsrc-a8e95a52e83e61b7a9a5b4f7fc452deee39d56f5.tar.gz |
Use a symlink, not a hard link, so that we don't break when pkgsrc is on
a different filesystem than the system headers. Fix from PR 19452 by
Arto Huusko <arto.huusko@utu.fi>.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/ossaudio.buildlink2.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/ossaudio.buildlink2.mk b/mk/ossaudio.buildlink2.mk index 431ae0d4a1c..331504e7328 100644 --- a/mk/ossaudio.buildlink2.mk +++ b/mk/ossaudio.buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: ossaudio.buildlink2.mk,v 1.9 2002/10/03 20:31:14 jlam Exp $ +# $NetBSD: ossaudio.buildlink2.mk,v 1.10 2002/12/19 15:17:10 jlam Exp $ # # This file should be included by Makefiles for packages that use OSS. # By checking the value of HAVE_OSS after including this file, it's possible @@ -81,7 +81,7 @@ ossaudio-buildlink-soundcard-h: if [ ! -f $${mach_soundcard_h} -a -f $${sys_soundcard_h} ]; then \ ${ECHO_BUILDLINK_MSG} "Creating $${mach_soundcard_h}."; \ ${MKDIR} `${DIRNAME} $${mach_soundcard_h}`; \ - ${LN} $${sys_soundcard_h} $${mach_soundcard_h}; \ + ${LN} -s $${sys_soundcard_h} $${mach_soundcard_h}; \ fi .endif # OSSAUDIO_BUILDLINK2_MK |