aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2013-10-18 15:05:40 +0800
committeroliver <oliver@FreeBSD.org>2013-10-18 15:05:40 +0800
commit1ec97617d1740bbd11a41c5e984e463c4a408aa4 (patch)
treee05003e3b0c35200584d627821837a74bc4c567a /games
parent6bd7563cc7bb7ef2808e9df0f35b0cf449341031 (diff)
downloadfreebsd-ports-gnome-1ec97617d1740bbd11a41c5e984e463c4a408aa4.tar.gz
freebsd-ports-gnome-1ec97617d1740bbd11a41c5e984e463c4a408aa4.tar.zst
freebsd-ports-gnome-1ec97617d1740bbd11a41c5e984e463c4a408aa4.zip
fix build with clang by removing the forced set of CC
Diffstat (limited to 'games')
-rw-r--r--games/heretic/Makefile2
-rw-r--r--games/heretic/files/patch-aj3
2 files changed, 3 insertions, 2 deletions
diff --git a/games/heretic/Makefile b/games/heretic/Makefile
index 9a5cfb788f85..bb106307c217 100644
--- a/games/heretic/Makefile
+++ b/games/heretic/Makefile
@@ -55,7 +55,7 @@ PLIST_SUB= WAD:="@comment "
post-extract:
.if ${PORT_OPTIONS:MWAD}
- @${GZIP_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/heretic_share.wad.gz \
+ @${GZIP_CMD} -dc ${_DISTDIR}/heretic_share.wad.gz \
> ${WRKSRC}/heretic_share.wad
.endif
@${FIND} ${WRKSRC} -name .depend -type f -delete
diff --git a/games/heretic/files/patch-aj b/games/heretic/files/patch-aj
index 7bd6689d4292..9293acc923aa 100644
--- a/games/heretic/files/patch-aj
+++ b/games/heretic/files/patch-aj
@@ -1,7 +1,8 @@
--- sndserv/Makefile.orig Sat Oct 23 11:02:21 1999
+++ sndserv/Makefile Thu Jan 10 19:34:23 2002
@@ -1,6 +1,6 @@
- CC = gcc
+-CC = gcc
++#CC = gcc
-CFLAGS= -Wall -Wstrict-prototypes $(COPT.arch)
+CFLAGS= -Wall -Wstrict-prototypes $(COPT.arch) -I/usr/include/sys