pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/xgalaga When using modular Xorg, pass down --x-l...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3d989c64e47a
branches: trunk
changeset: 565740:3d989c64e47a
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Oct 07 15:38:03 2009 +0000
description:
When using modular Xorg, pass down --x-libaries, otherwise -L gets
used without argument.
diffstat:
games/xgalaga/Makefile | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 16cca2bf1636 -r 3d989c64e47a games/xgalaga/Makefile
--- a/games/xgalaga/Makefile Wed Oct 07 15:34:14 2009 +0000
+++ b/games/xgalaga/Makefile Wed Oct 07 15:38:03 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2008/01/19 09:16:23 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2009/10/07 15:38:03 joerg Exp $
DISTNAME= xgalaga-2.0.34
PKGREVISION= 4
@@ -17,6 +17,13 @@
MAKE_ENV+= GAMEOWN=${GAMEOWN:Q} GAMEGRP=${GAMEGRP:Q} \
GAMEMODE=${GAMEMODE:Q} GAMEDATAMODE=${GAMEDATAMODE:Q}
+.include "../../mk/bsd.prefs.mk"
+
+.if ${X11_TYPE} == "modular"
+CONFIGURE_ARGS+= --x-includes=${PREFIX}/include
+CONFIGURE_ARGS+= --x-libraries=${PREFIX}/lib
+.endif
+
INSTALLATION_DIRS= libexec
post-install:
Home |
Main Index |
Thread Index |
Old Index