Fix build on 10.0

This commit is contained in:
Edwin Groothuis 2013-10-17 06:19:32 +00:00
parent 2afd241d64
commit 1c4f731250
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330605
2 changed files with 12 additions and 1 deletions

View file

@ -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

View file

@ -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