pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/powermanga Pass down X11 location options for mo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b42244173a19
branches:  trunk
changeset: 400891:b42244173a19
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Oct 29 20:21:43 2009 +0000

description:
Pass down X11 location options for modular Xorg.

diffstat:

 games/powermanga/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r eaf85ce22604 -r b42244173a19 games/powermanga/Makefile
--- a/games/powermanga/Makefile Thu Oct 29 20:19:27 2009 +0000
+++ b/games/powermanga/Makefile Thu Oct 29 20:21:43 2009 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index