diff options
Diffstat (limited to 'www/htmlcxx/Makefile')
-rw-r--r-- | www/htmlcxx/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/www/htmlcxx/Makefile b/www/htmlcxx/Makefile index adbec6a39fe5..efc7acd16792 100644 --- a/www/htmlcxx/Makefile +++ b/www/htmlcxx/Makefile @@ -23,7 +23,13 @@ MAKE_JOBS_UNSAFE=yes MAKE_ARGS= pkgconfigdir="${PREFIX}/libdata/pkgconfig" +.include <bsd.port.pre.mk> + +.if !empty(ICONV_LIB) +CONFIGURE_ARGS+=ac_cv_lib_iconv_iconv_open=yes +.endif + post-patch: @${REINPLACE_CMD} 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/configure -.include <bsd.port.mk> +.include <bsd.port.post.mk> |