summaryrefslogtreecommitdiff
path: root/mk/xaw.buildlink2.mk
diff options
context:
space:
mode:
authorjschauma <jschauma>2002-12-23 22:50:29 +0000
committerjschauma <jschauma>2002-12-23 22:50:29 +0000
commit5c7558efbe93ff23fa290b7e27e00a88e6820305 (patch)
tree298d82e0ca2a201404c54c6c408464eb16e370df /mk/xaw.buildlink2.mk
parente7692238d6a840fc659c5f82713eb1f08a2c91c7 (diff)
downloadpkgsrc-5c7558efbe93ff23fa290b7e27e00a88e6820305.tar.gz
Don't test for OPSYS to set rpath et al, but rather use _OPSYS_RPATH_NAME.
Suggested by Stoned Elipot. Thanks.
Diffstat (limited to 'mk/xaw.buildlink2.mk')
-rw-r--r--mk/xaw.buildlink2.mk8
1 files changed, 2 insertions, 6 deletions
diff --git a/mk/xaw.buildlink2.mk b/mk/xaw.buildlink2.mk
index 3d41ccc8d5c..11b50c17145 100644
--- a/mk/xaw.buildlink2.mk
+++ b/mk/xaw.buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: xaw.buildlink2.mk,v 1.7 2002/12/23 22:33:14 jschauma Exp $
+# $NetBSD: xaw.buildlink2.mk,v 1.8 2002/12/23 22:50:29 jschauma Exp $
.if !defined(XAW_BUILDLINK2_MK)
XAW_BUILDLINK2_MK= # defined
@@ -19,11 +19,7 @@ BUILDLINK_PREFIX.Xaw?= ${BUILDLINK_PREFIX.Xaw3d}
BUILDLINK_PREFIX.Xaw?= ${BUILDLINK_PREFIX.neXtaw}
.else
BUILDLINK_PREFIX.Xaw?= ${X11BASE}
-. if ${OPSYS} == "IRIX"
-LIBXAW?= -L${X11BASE}/lib -Wl,-rpath,${X11BASE}/lib -lXaw
-. else
-LIBXAW?= -L${X11BASE}/lib -Wl,-R${X11BASE}/lib -lXaw
-. endif
+LIBXAW?= -L${X11BASE}/lib -Wl,${_OPSYS_RPATH_NAME}${X11BASE}/lib -lXaw
.endif
MAKE_ENV+= LIBXAW="${LIBXAW}"