1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

- Fix server build

PR:		222408
Reported by:	gerrit@weinberg2.de
This commit is contained in:
Dmitry Marakasov 2017-11-29 17:40:16 +00:00
parent 3a90e9ac3d
commit f77e40ac8b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=455136
2 changed files with 10 additions and 3 deletions

View File

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

View File

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