summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-01-02 11:35:13 +0000
committerjoerg <joerg@pkgsrc.org>2007-01-02 11:35:13 +0000
commit0381550c336b94ea2dedaf8820205a17f0c8c8b5 (patch)
tree842fa21e0f0bb9f96c362e3b8f541379229e9a56 /x11
parentb9ed060566fd8d0d16ab222c2c46baf743d0eee6 (diff)
downloadpkgsrc-0381550c336b94ea2dedaf8820205a17f0c8c8b5.tar.gz
To keep the status quo, set X11_LDFLAGS here for X11_TYPE=modular.
Diffstat (limited to 'x11')
-rw-r--r--x11/libX11/buildlink3.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/x11/libX11/buildlink3.mk b/x11/libX11/buildlink3.mk
index 69c56e1dbc5..616e6cb0e8d 100644
--- a/x11/libX11/buildlink3.mk
+++ b/x11/libX11/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2006/11/05 16:55:28 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2007/01/02 11:35:13 joerg Exp $
.include "../../mk/bsd.fast.prefs.mk"
@@ -20,6 +20,9 @@ BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libX11
.if ${LIBX11_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.libX11+= libX11>=0.99
BUILDLINK_PKGSRCDIR.libX11?= ../../x11/libX11
+
+X11_LDFLAGS+= ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libX11}/lib
+X11_LDFLAGS+= -L${BUILDLINK_PREFIX.libX11}/lib
.endif # LIBX11_BUILDLINK3_MK
.include "../../x11/inputproto/buildlink3.mk"