From dd2b8e34b96110e6669bb0787d0e20f3b902f328 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 29 Oct 2009 20:21:43 +0000 Subject: Pass down X11 location options for modular Xorg. --- games/powermanga/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'games/powermanga') diff --git a/games/powermanga/Makefile b/games/powermanga/Makefile index 37e11ae17e7..0c144324170 100644 --- a/games/powermanga/Makefile +++ b/games/powermanga/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2009/09/02 11:38:01 wiz Exp $ +# $NetBSD: Makefile,v 1.22 2009/10/29 20:21:43 joerg Exp $ # DISTNAME= powermanga-0.90 @@ -18,6 +18,13 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q} MAKE_ENV+= TOUCH=${TOUCH:Q} WRKSRC=${WRKSRC:Q} +.include "../../mk/bsd.prefs.mk" + +.if ${X11_TYPE} == "modular" +CONFIGURE_ARGS+= --x-includes=${PREFIX}/include +CONFIGURE_ARGS+= --x-libraries=${PREFIX}/lib +.endif + SUBST_CLASSES+= path SUBST_STAGE.path= post-patch SUBST_SED.path+= -e "s,/games/powermanga,/powermanga,g" -- cgit v1.2.3