1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

games/frogatto: Attempt to unbreak

Portsmon says this is broken everywhere.  Maybe this untested PR
from the maintainer will fix it.

PR:		192126
Submitted by:	maintainer (Green Dog)
This commit is contained in:
John Marino 2014-07-28 21:14:43 +00:00
parent 250e583ec1
commit 908f7b5dfc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363257

View File

@ -3,6 +3,7 @@
PORTNAME= frogatto
PORTVERSION= 1.3.1
PORTREVISION= 1
CATEGORIES= games
MAINTAINER= fiziologus@gmail.com
@ -20,13 +21,15 @@ GH_COMMIT= 58bd7c6
USES= gmake pkgconfig
ALL_TARGET= game server
USE_GL= glew
USE_SDL= image mixer ttf
USE_GL= glew glu
USE_SDL= sdl image mixer ttf
PLIST_FILES= bin/${PORTNAME} bin/${PORTNAME}-server
post-patch:
@${ECHO_CMD} >> ${WRKSRC}/src/difficulty.hpp
@${REINPLACE_CMD} -e \
's|-lpthread|${PTHREAD_LIBS}|g ; \
s|-Werror||' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's,%lu,%u,' ${WRKSRC}/src/server.cpp
@${REINPLACE_CMD} -e 's,__linux__,__${OPSYS}__,' \
${WRKSRC}/src/clipboard.cpp