summaryrefslogtreecommitdiff
path: root/games/caph/Makefile
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2013-09-27 15:17:26 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2013-09-27 15:17:26 +0000
commit0a0bcfbc545bf7321d1d9baa89b628a221cdd3eb (patch)
treef3f7b9324d9c9494194594bd3988fec89115e7cc /games/caph/Makefile
parentSupport staging (diff)
Import a bunch of iconv fixes.
Submitted by: marino Approved by: portmgr (bapt, implicit)
Notes
Notes: svn path=/head/; revision=328492
Diffstat (limited to 'games/caph/Makefile')
-rw-r--r--games/caph/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/caph/Makefile b/games/caph/Makefile
index 2e6e04ea6a4a..1d1038068039 100644
--- a/games/caph/Makefile
+++ b/games/caph/Makefile
@@ -15,6 +15,7 @@ LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/doc/caph/COPYING
+USES= iconv
USE_BZIP2= yes
USE_SDL= sdl
USE_GL= gl
@@ -42,7 +43,7 @@ CFLAGS+= -O3 -ffast-math
do-build:
cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} -o caph -I../include *.c \
- `${SDL_CONFIG} --libs --cflags` -D_OPENGL -lGL -lpng
+ `${SDL_CONFIG} --libs --cflags` -D_OPENGL -lGL -lpng ${ICONV_LIB}
post-patch:
@${REINPLACE_CMD} -e 's|../share/caph|${DATADIR}|' ${BUILD_WRKSRC}/caph.c