aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-11-29 17:40:16 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-11-29 17:40:16 +0000
commitf77e40ac8ba70101e26f9518938b6605f4e082a8 (patch)
tree980df6889ebf0d0215c32485193efc5beddd6363 /games
parent3a90e9ac3d573c449f4534e60acd8d68d765c5bf (diff)
downloadports-f77e40ac8ba70101e26f9518938b6605f4e082a8.tar.gz
ports-f77e40ac8ba70101e26f9518938b6605f4e082a8.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/hedgewars/Makefile6
-rw-r--r--games/hedgewars/files/patch-cmake__modules_checkModule.hs7
2 files changed, 10 insertions, 3 deletions
diff --git a/games/hedgewars/Makefile b/games/hedgewars/Makefile
index 9fa785e6ae86..a160ce38f355 100644
--- a/games/hedgewars/Makefile
+++ b/games/hedgewars/Makefile
@@ -3,7 +3,7 @@
PORTNAME= hedgewars
PORTVERSION= 0.9.22
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://download.gna.org/hedgewars/ \
http://mirror.amdmi3.ru/distfiles/
@@ -38,7 +38,7 @@ PORTDATA= *
# VIDEOREC - broken with recent ffmpeg
OPTIONS_DEFINE= SERVER # VIDEOREC
-#OPTIONS_DEFAULT=SERVER # until it's unbroken
+OPTIONS_DEFAULT=SERVER
SERVER_DESC= Build server (requires haskell)
#VIDEOREC_DESC= Enable video recording (requires ffmpeg)
@@ -64,7 +64,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/cmake_modules/*.cmake
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
${INSTALL_DATA} ${WRKSRC}/share/hedgewars/Data/misc/hedgewars.desktop \
${STAGEDIR}${PREFIX}/share/applications/
${INSTALL_DATA} ${WRKSRC}/misc/hedgewars.png \
diff --git a/games/hedgewars/files/patch-cmake__modules_checkModule.hs b/games/hedgewars/files/patch-cmake__modules_checkModule.hs
new file mode 100644
index 000000000000..c0ce373bfa30
--- /dev/null
+++ b/games/hedgewars/files/patch-cmake__modules_checkModule.hs
@@ -0,0 +1,7 @@
+--- cmake_modules/checkModule.hs.orig 2014-10-02 15:53:26 UTC
++++ cmake_modules/checkModule.hs
+@@ -1,3 +1,4 @@
++{-# LANGUAGE ImpredicativeTypes #-}
+ module Main where
+
+ import qualified MODULE as M