summaryrefslogtreecommitdiff
path: root/mk/defs.Darwin.mk
diff options
context:
space:
mode:
authorgrant <grant>2003-12-04 06:07:49 +0000
committergrant <grant>2003-12-04 06:07:49 +0000
commit796add35d8479cdd652fa87fe76852005a841f41 (patch)
tree9c0a52b1aa0212c207060af6b995a5f814f216a4 /mk/defs.Darwin.mk
parent6a666b2a9fb4bc554695e88ceec76d98a042670d (diff)
downloadpkgsrc-796add35d8479cdd652fa87fe76852005a841f41.tar.gz
set _OPSYS_RPATH_NAME=-L, as proposed by danw@ in
<1062867125.27063.26.camel@frotz.local> on tech-pkg. Darwin has no rpath, but many packages pass "-Wl,${RPATH_NAME}..." to the linker, breaking the build of these packages on Darwin. using -L essentially makes these arguments a no-op, and fixes packages which were solely broken by this.
Diffstat (limited to 'mk/defs.Darwin.mk')
-rw-r--r--mk/defs.Darwin.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/defs.Darwin.mk b/mk/defs.Darwin.mk
index bf380744638..7eff6384c1a 100644
--- a/mk/defs.Darwin.mk
+++ b/mk/defs.Darwin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.Darwin.mk,v 1.61 2003/11/21 00:14:00 grant Exp $
+# $NetBSD: defs.Darwin.mk,v 1.62 2003/12/04 06:07:49 grant Exp $
#
# Variable definitions for the Darwin operating system.
@@ -120,7 +120,7 @@ _OPSYS_HAS_OSSAUDIO= no # libossaudio is available
_OPSYS_LIBTOOL_REQD= 1.4.20010614nb16 # base version of libtool required
_OPSYS_PERL_REQD= 5.8.0 # base version of perl required
_OPSYS_PTHREAD_AUTO= yes # -lpthread not needed for pthreads
-_OPSYS_RPATH_NAME= darwin_has_no_rpath
+_OPSYS_RPATH_NAME= -L # darwin has no rpath, use -L instead
_PATCH_CAN_BACKUP= yes # native patch(1) can make backups
_PATCH_BACKUP_ARG= -V simple -b -z # switch to patch(1) for backup suffix
_PREFORMATTED_MAN_DIR= cat # directory where catman pages are