Fix iconv use on FreeBSD 10.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user