summaryrefslogtreecommitdiff
path: root/x11/neXtaw
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2003-03-03 14:22:41 +0000
committerseb <seb@pkgsrc.org>2003-03-03 14:22:41 +0000
commit00e799491cdc6a967d8777e1a37d6344e0ec92d6 (patch)
tree655724c0b0b51cb71036a5f7de38c8d122c115e3 /x11/neXtaw
parent50db9b5c80cefb216753e3876ebb8609fd0220e3 (diff)
downloadpkgsrc-00e799491cdc6a967d8777e1a37d6344e0ec92d6.tar.gz
Use ${_OPSYS_RPATH_NAME} instead of bare `-R'
Diffstat (limited to 'x11/neXtaw')
-rw-r--r--x11/neXtaw/buildlink2.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/x11/neXtaw/buildlink2.mk b/x11/neXtaw/buildlink2.mk
index e4eb2a0fd71..e8b23b952b7 100644
--- a/x11/neXtaw/buildlink2.mk
+++ b/x11/neXtaw/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.2 2002/09/23 08:29:59 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.3 2003/03/03 14:22:41 seb Exp $
.if !defined(NEXTAW_BUILDLINK2_MK)
NEXTAW_BUILDLINK2_MK= # defined
@@ -7,6 +7,8 @@ BUILDLINK_PACKAGES+= neXtaw
BUILDLINK_DEPENDS.neXtaw?= neXtaw>=0.12
BUILDLINK_PKGSRCDIR.neXtaw?= ../../x11/neXtaw
+.include "../../mk/bsd.prefs.mk"
+
EVAL_PREFIX+= BUILDLINK_PREFIX.neXtaw=neXtaw
BUILDLINK_PREFIX.neXtaw_DEFAULT= ${X11PREFIX}
BUILDLINK_FILES.neXtaw+= include/X11/neXtaw/*
@@ -15,7 +17,7 @@ BUILDLINK_FILES.neXtaw+= lib/libneXtaw.*
BUILDLINK_TARGETS+= neXtaw-buildlink
LIBXAW?= -L${BUILDLINK_PREFIX.neXtaw}/lib \
- -Wl,-R${BUILDLINK_PREFIX.neXtaw}/lib \
+ -Wl,${_OPSYS_RPATH_NAME}${BUILDLINK_PREFIX.neXtaw}/lib \
-lneXtaw
neXtaw-buildlink: _BUILDLINK_USE