diff options
author | mva <mva@FreeBSD.org> | 2014-02-15 17:00:19 +0800 |
---|---|---|
committer | mva <mva@FreeBSD.org> | 2014-02-15 17:00:19 +0800 |
commit | ea1ce44d07b689b73a00ac6e74a696d895947da8 (patch) | |
tree | a51cc13ca4e2dea046f43534717608d21efdec28 /devel | |
parent | 76ad5844b8634566c409c746c6f0b9901ed15bb4 (diff) | |
download | freebsd-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/Makefile | 6 |
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}/ &&\ |