diff options
author | joerg <joerg@pkgsrc.org> | 2009-11-26 16:40:55 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-11-26 16:40:55 +0000 |
commit | 168214f635906678113bc01e612c7f912dd0beef (patch) | |
tree | 7eb9b69143ba47a52efdb30eac2c6664f90218aa /lang/eag | |
parent | 70042e7c2fa8996a91beb1f8ee9a52166d5ff7b2 (diff) | |
download | pkgsrc-168214f635906678113bc01e612c7f912dd0beef.tar.gz |
Pass down --x-includes/--x-libraries for modular Xorg too.
Diffstat (limited to 'lang/eag')
-rw-r--r-- | lang/eag/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/eag/Makefile b/lang/eag/Makefile index 31d9fddc066..e7243aab20f 100644 --- a/lang/eag/Makefile +++ b/lang/eag/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2008/11/10 17:21:36 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2009/11/26 16:40:55 joerg Exp $ DISTNAME= eag-2.3 PKGREVISION= 3 @@ -16,5 +16,12 @@ PKG_DESTDIR_SUPPORT= user-destdir USE_LIBTOOL= yes GNU_CONFIGURE= yes +.include "../../mk/bsd.prefs.mk" + +.if ${X11_TYPE} == "modular" +CONFIGURE_ARGS+= --x-includes=${PREFIX:Q}/include +CONFIGURE_ARGS+= --x-libraries=${PREFIX:Q}/lib +.endif + .include "../../x11/libXaw/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |