diff options
| author | Mark Linimon <linimon@FreeBSD.org> | 2019-10-04 22:24:36 +0000 |
|---|---|---|
| committer | Mark Linimon <linimon@FreeBSD.org> | 2019-10-04 22:24:36 +0000 |
| commit | a4c44afe3e4fbad9090175718def444f0fa5e326 (patch) | |
| tree | f1f32135460a573d052af75a86ad9c75538ff2f1 /textproc/libxml2 | |
| parent | 21894710ae8e5c17201f9964716adf0726eacb2b (diff) | |
Notes
Diffstat (limited to 'textproc/libxml2')
| -rw-r--r-- | textproc/libxml2/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile index 8a60ae724b88..fe57bb18d3bc 100644 --- a/textproc/libxml2/Makefile +++ b/textproc/libxml2/Makefile @@ -21,7 +21,7 @@ LICENSE_FILE_TRIO= ${FILESDIR}/LICENSE.TRIO LICENSE_PERMS_TRIO= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept GNU_CONFIGURE= yes -USES+= cpe gmake iconv libtool pathfix pkgconfig shebangfix +USES+= compiler cpe gmake iconv libtool pathfix pkgconfig shebangfix CPE_VENDOR= xmlsoft USE_LDCONFIG= yes CONFIGURE_ARGS?=--with-iconv=${ICONV_PREFIX} \ @@ -54,6 +54,8 @@ THREAD_ALLOC_CONFIGURE_WITH= thread-alloc .endif # !defined(MASTERDIR) +.include <bsd.port.pre.mk> + post-patch: .for d in . doc doc/devhelp doc/examples @${REINPLACE_CMD} -e '/^install-data-am:/ s|install-data-local||' \ @@ -65,7 +67,7 @@ post-patch: s|/etc/sgml/catalog|${LOCALBASE}/share/sgml/catalog|g' \ ${WRKSRC}/${f} .endfor -.if exists(/usr/lib/libstdc++.so) +.if ${CHOSEN_COMPILER_TYPE} == gcc @${REINPLACE_CMD} -e 's/ -Wno-array-bounds//' ${WRKSRC}/configure .endif @@ -74,6 +76,6 @@ post-install: @${RM} -r ${STAGEDIR}${PREFIX}/share/gtk-doc .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> .endif |
