Fix iconv use on FreeBSD 10.

This commit is contained in:
Tijl Coosemans
2014-02-20 22:25:27 +00:00
parent 85ca05e264
commit e03b406540

View File

@@ -14,7 +14,7 @@ COMMENT= Enhanced ircII client that supports scripts, colors, and more
USES= gmake iconv ncurses
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-ipv6 --enable-regexp --enable-iconv
CONFIGURE_ARGS= --enable-ipv6 --enable-regexp --enable-utf8
MAKE_ENV= IRCLIB="${PREFIX}/share/scrollz"
MAN1= scrollz.1
@@ -39,6 +39,9 @@ USE_OPENSSL= yes
CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
.endif
post-patch:
@${REINPLACE_CMD} -e 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/configure
pre-build:
.if !defined(BATCH)
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${CC} ${CFLAGS} -o SZdist SZdist.c)