From 138cfb107d17bc7d755947b8e5a4f66339e6a7e6 Mon Sep 17 00:00:00 2001 From: edwin Date: Thu, 17 Oct 2013 06:19:32 +0000 Subject: Fix build on 10.0 --- games/xpired/Makefile | 2 +- games/xpired/files/patch-Makefile | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 games/xpired/files/patch-Makefile (limited to 'games') 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 + -- cgit