summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2002-03-30 02:58:47 +0000
committerhubertf <hubertf@pkgsrc.org>2002-03-30 02:58:47 +0000
commit70be18a91812986014de92aabb2a9b1eed7664f7 (patch)
treeafa563b54f0843517d0269e942e8c9ff7a8bcb7a /games
parent198760d74a85fe109c3628ef6294c91d0f3a8082 (diff)
downloadpkgsrc-70be18a91812986014de92aabb2a9b1eed7664f7.tar.gz
This works fine if $DISPLAY is not set. Mark no longer as interactive.
Diffstat (limited to 'games')
-rw-r--r--games/clanbomber/Makefile14
1 files changed, 1 insertions, 13 deletions
diff --git a/games/clanbomber/Makefile b/games/clanbomber/Makefile
index 2350db45009..1369dfd97db 100644
--- a/games/clanbomber/Makefile
+++ b/games/clanbomber/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2002/03/13 17:36:59 fredb Exp $
+# $NetBSD: Makefile,v 1.15 2002/03/30 02:58:47 hubertf Exp $
DISTNAME= clanbomber-1.01
PKGREVISION= 2
@@ -14,22 +14,10 @@ USE_X11BASE= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
-# needs a valid X display to compile its datafiles
-.ifndef DISPLAY
-IS_INTERACTIVE= yes
-.endif
-
pre-configure:
${ECHO} "#define BOMBERDATDIR \"${X11PREFIX}/share/clanbomber/clanbomber.dat\"" >> ${WRKSRC}/config.h.in
${ECHO} "#define BOMBERMAPS \"${X11PREFIX}/share/clanbomber/maps\"" >> ${WRKSRC}/config.h.in
-pre-build:
- @if [ "${DISPLAY}" = "" ]; then \
- ${ECHO} Please set the DISPLAY variable to a valid display; \
- ${ECHO} before compiling ${PKGNAME}.; \
- exit 1; \
- fi;
-
.include "../../graphics/clanlib/buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"