pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/agg Pass down X11 configure options for modul...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7f02356de009
branches:  trunk
changeset: 400824:7f02356de009
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Oct 28 01:02:03 2009 +0000

description:
Pass down X11 configure options for modular Xorg

diffstat:

 graphics/agg/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 014888f16c06 -r 7f02356de009 graphics/agg/Makefile
--- a/graphics/agg/Makefile     Wed Oct 28 00:53:56 2009 +0000
+++ b/graphics/agg/Makefile     Wed Oct 28 01:02:03 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2008/06/12 02:14:31 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2009/10/28 01:02:03 joerg Exp $
 #
 
 DISTNAME=      agg-2.5
@@ -22,6 +22,13 @@
 pre-configure:
        cd ${WRKSRC}; chmod +x autogen.sh; ./autogen.sh
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${X11_TYPE} == "modular"
+CONFIGURE_ARGS+=       --x-includes=${PREFIX}/include
+CONFIGURE_ARGS+=       --x-libraries=${PREFIX}/lib
+.endif
+
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../graphics/freetype2/buildlink3.mk"
 .include "../../devel/SDL/buildlink3.mk"



Home | Main Index | Thread Index | Old Index