summaryrefslogtreecommitdiff
path: root/x11/neXtaw
diff options
context:
space:
mode:
authorseb <seb>2003-03-03 14:22:41 +0000
committerseb <seb>2003-03-03 14:22:41 +0000
commit703b76540b825e22ef1738ccc633bf5e783349f4 (patch)
tree655724c0b0b51cb71036a5f7de38c8d122c115e3 /x11/neXtaw
parentdae7ff98ed89a0ab137a8fa64d3473ec0d258466 (diff)
downloadpkgsrc-703b76540b825e22ef1738ccc633bf5e783349f4.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