summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2004-08-10 15:11:58 +0000
committerjlam <jlam>2004-08-10 15:11:58 +0000
commitc347a0e0e6e31baeb48c4ba41958946afc74749a (patch)
tree9c9f285b4ef59f681386d70f46d5579df898554e /mk
parent33ec27c17a6af84004746a6d48e76c9697907abb (diff)
downloadpkgsrc-c347a0e0e6e31baeb48c4ba41958946afc74749a.tar.gz
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 (limited to 'mk')
-rw-r--r--mk/defs.UnixWare.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/defs.UnixWare.mk b/mk/defs.UnixWare.mk
index 82882b16a18..9a822030d3e 100644
--- a/mk/defs.UnixWare.mk
+++ b/mk/defs.UnixWare.mk
@@ -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_HAS_OSSAUDIO= no # libossaudio is available
_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