- Convert to new options helper

Approved by:	portmgr (blanket)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2016-04-17 06:13:11 +00:00
parent 4c31a1cd8d
commit 2251d1c732
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=413491

View file

@ -69,6 +69,7 @@ ICONV_USES= iconv
ICONV_CPPFLAGS= -I${LOCALBASE}/include
ICONV_LDFLAGS= -L${LOCALBASE}/lib
ICONV_CONFIGURE_ENABLE= iconv iconv-open
ICONV_CONFIGURE_OFF= ac_cv_search_libiconv_open=no
POPT_PORT_LIB_DEPENDS= libpopt.so:devel/popt
POPT_PORT_CPPFLAGS= -I${LOCALBASE}/include
@ -84,10 +85,6 @@ SSH_CONFIGURE_OFF= --with-rsh=rsh
DISTFILES+= ${PORTNAME}-patches-${PORTVERSION}${EXTRACT_SUFX}
.endif
.if ! ${PORT_OPTIONS:MICONV}
CONFIGURE_ARGS+=ac_cv_search_libiconv_open=no
.endif
post-patch:
@${REINPLACE_CMD} -e 's|perl.*|${DO_NADA}|' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's:/etc/:${ETCDIR}/:g' \