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". UnixWare has no rpath,...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fdd34957f1e6
branches:  trunk
changeset: 479284:fdd34957f1e6
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Aug 10 15:11:58 2004 +0000

description:
Set _OPSYS_RPATH_NAME="-L".  UnixWare has no rpath, but many packages
pass "-Wl,${RPATH_FLAG}..." to the linker, which can break the build
of these packages.  Using -L essentially makes these arguments a no-op,
and fixes packages which were solely broken by this.

diffstat:

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

diffs (18 lines):

diff -r 88d93e25d2d1 -r fdd34957f1e6 mk/defs.UnixWare.mk
--- a/mk/defs.UnixWare.mk       Tue Aug 10 15:11:14 2004 +0000
+++ b/mk/defs.UnixWare.mk       Tue Aug 10 15:11:58 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: defs.UnixWare.mk,v 1.5 2004/06/18 11:22:41 kristerw Exp $
+# $NetBSD: defs.UnixWare.mk,v 1.6 2004/08/10 15:11:58 jlam Exp $
 #
 # Variable definitions for the UnixWare 7 operating system.
 
@@ -125,7 +125,7 @@
 _OPSYS_PERL_REQD=              # no base version of perl required
 _OPSYS_PTHREAD_AUTO=   no              # -lpthread needed for pthreads
 # XXX native linker for UnixWare doesn't have this, see also _USE_RPATH
-_OPSYS_RPATH_NAME=                     # name of symbol in rpath directive to linker
+_OPSYS_RPATH_NAME=     -L              # name of symbol in rpath directive to linker
 _OPSYS_SHLIB_TYPE=     ELF/a.out       # shared lib type
 _PATCH_CAN_BACKUP=     yes             # native patch(1) can make backups
 _PATCH_BACKUP_ARG?=    -b -V simple -z # switch to patch(1) for backup suffix



Home | Main Index | Thread Index | Old Index