diff options
Diffstat (limited to 'games/powermanga')
-rw-r--r-- | games/powermanga/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
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" |