aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2014-02-15 17:00:19 +0800
committermva <mva@FreeBSD.org>2014-02-15 17:00:19 +0800
commitea1ce44d07b689b73a00ac6e74a696d895947da8 (patch)
treea51cc13ca4e2dea046f43534717608d21efdec28 /devel
parent76ad5844b8634566c409c746c6f0b9901ed15bb4 (diff)
downloadfreebsd-ports-gnome-ea1ce44d07b689b73a00ac6e74a696d895947da8.tar.gz
freebsd-ports-gnome-ea1ce44d07b689b73a00ac6e74a696d895947da8.tar.zst
freebsd-ports-gnome-ea1ce44d07b689b73a00ac6e74a696d895947da8.zip
- Patch the SDL configure script so it no longer adds -liconv to LDFLAGS when
converters/libiconv is installed on FreeBSD 10 - Add USES=iconv to graphics/sdl_ttf. The file showfont utility uses iconv.h PR: ports/186665 Submitted by: tijl@
Diffstat (limited to 'devel')
-rw-r--r--devel/sdl12/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/sdl12/Makefile b/devel/sdl12/Makefile
index 243012d4dda6..eb15025e9e50 100644
--- a/devel/sdl12/Makefile
+++ b/devel/sdl12/Makefile
@@ -3,7 +3,7 @@
PORTNAME= sdl
PORTVERSION= 1.2.15
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH= 2
CATEGORIES= devel
MASTER_SITES= http://www.libsdl.org/release/
@@ -70,6 +70,10 @@ PKGMESSAGE= none
DISPLAY_MSG= ${DO_NADA}
.endif
+post-patch:
+ @${REINPLACE_CMD} -e '/EXTRA_LDFLAGS/s/-liconv/${ICONV_LIB}/' \
+ ${WRKSRC}/configure
+
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR} &&\
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ &&\