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

Always use iconv from libc when available even when libiconv is installed.

PR:		ports/186704
Approved by:	kde (makc)
This commit is contained in:
Tijl Coosemans 2014-02-13 19:44:33 +00:00
parent 19b90b3c32
commit d8dbc9f703
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344139
2 changed files with 16 additions and 3 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= libstreamanalyzer
PORTVERSION= ${STRIGI_VERSION}
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= deskutils
MASTER_SITES= ${STRIGI_MASTER_SITES}
@ -36,4 +36,10 @@ post-patch:
${WRKSRC}/libstreamanalyzer/CMakeLists.txt
.include <${.CURDIR}/../strigi/Makefile.common>
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if empty(ICONV_LIB)
CMAKE_ARGS+= -DICONV_LIBRARIES:STRING="/usr/lib/libc.so"
.endif
.include <bsd.port.post.mk>

View File

@ -2,6 +2,7 @@
PORTNAME= libstreams
PORTVERSION= ${STRIGI_VERSION}
PORTREVISION= 1
CATEGORIES= deskutils
MASTER_SITES= ${STRIGI_MASTER_SITES}
@ -17,4 +18,10 @@ post-patch:
${WRKSRC}/libstreams/CMakeLists.txt
.include <${.CURDIR}/../strigi/Makefile.common>
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if empty(ICONV_LIB)
CMAKE_ARGS+= -DICONV_LIBRARIES:STRING="/usr/lib/libc.so"
.endif
.include <bsd.port.post.mk>