pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/arnold Pass down X11 options for modular Xorg.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a8b89aed7cbb
branches:  trunk
changeset: 400825:a8b89aed7cbb
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Oct 28 01:06:37 2009 +0000

description:
Pass down X11 options for modular Xorg.

diffstat:

 emulators/arnold/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 7f02356de009 -r a8b89aed7cbb emulators/arnold/Makefile
--- a/emulators/arnold/Makefile Wed Oct 28 01:02:03 2009 +0000
+++ b/emulators/arnold/Makefile Wed Oct 28 01:06:37 2009 +0000
@@ -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 @@
        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"



Home | Main Index | Thread Index | Old Index