aboutsummaryrefslogtreecommitdiff
path: root/games/icbm3d
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
commit3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch)
treed573ea09b2bf6be67cb497df199932da9e2707c4 /games/icbm3d
parent40049f4af2200d0dcf33596508688623fc75f764 (diff)
downloadports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz
ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip
Notes
Diffstat (limited to 'games/icbm3d')
-rw-r--r--games/icbm3d/Makefile4
-rw-r--r--games/icbm3d/files/patch-aa6
2 files changed, 5 insertions, 5 deletions
diff --git a/games/icbm3d/Makefile b/games/icbm3d/Makefile
index 82547fb08801..ee44b33a3651 100644
--- a/games/icbm3d/Makefile
+++ b/games/icbm3d/Makefile
@@ -7,7 +7,7 @@
PORTNAME= icbm3d
PORTVERSION= 0.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= ftp://ftp.billsgames.com/unix/x/icbm3d/
DISTNAME= ${PORTNAME}.${PORTVERSION}
@@ -16,7 +16,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= "Inter-Continental Ballistic Missiles, 3D" - 3D game of defense
WRKSRC= ${WRKDIR}/icbm3d
-USE_X_PREFIX= yes
+USE_XORG= x11
MAKEFILE= makefile
ALL_TARGET= icbm3d
diff --git a/games/icbm3d/files/patch-aa b/games/icbm3d/files/patch-aa
index 1d20749a5459..b9f935070eca 100644
--- a/games/icbm3d/files/patch-aa
+++ b/games/icbm3d/files/patch-aa
@@ -7,7 +7,7 @@
-CC=gcc
+CC?=gcc
+PREFIX?=/usr/X11R6
-+X11BASE?=/usr/X11R6
++LOCALBASE?=/usr/X11R6
MATHLIB=-lm
INSTALLROOT=$(PREFIX)
@@ -15,8 +15,8 @@
-XLIB=-L$(PREFIX)/lib -lX11 #-lcompat
-CFLAGS=-I$(PREFIX)/include -O2
-+XLIB=-L$(X11BASE)/lib -lX11 #-lcompat
-+CFLAGS+=-I$(X11BASE)/include
++XLIB=-L$(LOCALBASE)/lib -lX11 #-lcompat
++CFLAGS+=-I$(LOCALBASE)/include
# End of makefile user-definable variables-----------------------------------