aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2013-10-17 14:19:32 +0800
committeredwin <edwin@FreeBSD.org>2013-10-17 14:19:32 +0800
commit138cfb107d17bc7d755947b8e5a4f66339e6a7e6 (patch)
tree0378a81138c10f0a4a8f6af9a99f5dc66b3433b0 /games
parent499d68f21364531b236157db17282eeaf4de8bea (diff)
downloadfreebsd-ports-gnome-138cfb107d17bc7d755947b8e5a4f66339e6a7e6.tar.gz
freebsd-ports-gnome-138cfb107d17bc7d755947b8e5a4f66339e6a7e6.tar.zst
freebsd-ports-gnome-138cfb107d17bc7d755947b8e5a4f66339e6a7e6.zip
Fix build on 10.0
Diffstat (limited to 'games')
-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
+