summaryrefslogtreecommitdiff
path: root/games/xpired
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2013-10-17 06:19:32 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2013-10-17 06:19:32 +0000
commit1c4f73125090837c55a98bace8f24df2a003f9a9 (patch)
tree0378a81138c10f0a4a8f6af9a99f5dc66b3433b0 /games/xpired
parentAdd STAGEDIR support. (diff)
Fix build on 10.0
Notes
Notes: svn path=/head/; revision=330605
Diffstat (limited to 'games/xpired')
-rw-r--r--games/xpired/Makefile2
-rw-r--r--games/xpired/files/patch-Makefile11
2 files changed, 12 insertions, 1 deletions
diff --git a/games/xpired/Makefile b/games/xpired/Makefile
index f2443824cdf7..dc8867c8fae9 100644
--- a/games/xpired/Makefile
+++ b/games/xpired/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xpired
PORTVERSION= 1.22
-PORTREVISION= 17
+PORTREVISION= 18
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-linux/${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}-linux_source
diff --git a/games/xpired/files/patch-Makefile b/games/xpired/files/patch-Makefile
new file mode 100644
index 000000000000..a91bce489971
--- /dev/null
+++ b/games/xpired/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig 2013-10-18 04:17:46.000000000 +1100
++++ Makefile 2013-10-18 04:17:55.000000000 +1100
+@@ -2,7 +2,7 @@
+ SHARE_PREFIX=$(PREFIX)/share/xpired
+ CFLAGS=`sdl-config --cflags` -DUNIX -DPREFIX=\"$(PREFIX)\" -DSHARE_PREFIX=\"$(SHARE_PREFIX)\"
+ LDFLAGS=`sdl-config --libs` -lSDL -lSDL_mixer -lSDL_image -lSDL_gfx
+-CC=gcc
++CC=cc
+
+ BINARIES = xpired xpiredit
+