diff options
author | joerg <joerg> | 2009-10-28 01:02:03 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-10-28 01:02:03 +0000 |
commit | c217ef1803cc80b127b172b601e4656e6dd57536 (patch) | |
tree | 29c46a5dcf57dd546bf42a222fb46f5239a381dc /graphics/agg | |
parent | 9a1fb501e29eecf1c5936c83d2810ed8e946a55e (diff) | |
download | pkgsrc-c217ef1803cc80b127b172b601e4656e6dd57536.tar.gz |
Pass down X11 configure options for modular Xorg
Diffstat (limited to 'graphics/agg')
-rw-r--r-- | graphics/agg/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/graphics/agg/Makefile b/graphics/agg/Makefile index b8d5bafe629..d93eb12bfc6 100644 --- a/graphics/agg/Makefile +++ b/graphics/agg/Makefile @@ -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 @@ PKGCONFIG_OVERRIDE+= libagg.pc.in 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" |