pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk set _OPSYS_RPATH_NAME=-L, as proposed by danw@ in



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e8ce72f4a461
branches:  trunk
changeset: 464156:e8ce72f4a461
user:      grant <grant%pkgsrc.org@localhost>
date:      Thu Dec 04 06:07:49 2003 +0000

description:
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:

 mk/defs.Darwin.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 1b836dec7413 -r e8ce72f4a461 mk/defs.Darwin.mk
--- a/mk/defs.Darwin.mk Thu Dec 04 05:58:31 2003 +0000
+++ b/mk/defs.Darwin.mk Thu Dec 04 06:07:49 2003 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index