summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2009-10-28 01:06:37 +0000
committerjoerg <joerg>2009-10-28 01:06:37 +0000
commit715fc080cd6591a95d6a02e799e5752dede2be42 (patch)
tree95a2fc66031ac7ce19b940d41e4c45e29c17c46a
parentc217ef1803cc80b127b172b601e4656e6dd57536 (diff)
downloadpkgsrc-715fc080cd6591a95d6a02e799e5752dede2be42.tar.gz
Pass down X11 options for modular Xorg.
-rw-r--r--emulators/arnold/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/emulators/arnold/Makefile b/emulators/arnold/Makefile
index 83800a3ce94..a27331c3a0f 100644
--- a/emulators/arnold/Makefile
+++ b/emulators/arnold/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2009/08/25 11:57:45 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2009/10/28 01:06:37 joerg Exp $
#
DISTNAME= arnsrc27012002
@@ -36,6 +36,13 @@ do-install:
cd ${WRKSRC} && ${INSTALL_DATA} readme.* \
${DESTDIR}${PREFIX}/share/doc/arnold
+.include "../../mk/bsd.prefs.mk"
+
+.if ${X11_TYPE} == "modular"
+CONFIGURE_ARGS+= --x-includes=${PREFIX}/include
+CONFIGURE_ARGS+= --x-libraries=${PREFIX}/lib
+.endif
+
.include "../../mk/oss.buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"