Index: textproc/libxml2/Makefile =================================================================== --- textproc/libxml2/Makefile (revision 506264) +++ textproc/libxml2/Makefile (working copy) @@ -21,7 +21,7 @@ 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 @@ .endif # !defined(MASTERDIR) +.include + post-patch: .for d in . doc doc/devhelp doc/examples @${REINPLACE_CMD} -e '/^install-data-am:/ s|install-data-local||' \ @@ -65,7 +67,7 @@ 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,7 @@ @${RM} -r ${STAGEDIR}${PREFIX}/share/gtk-doc .endif -.include +.include +# XXX MCL ????? .endif