diff --git a/www/libwww/Makefile b/www/libwww/Makefile index 4d78d5746a2e..db8aaf7acc1f 100644 --- a/www/libwww/Makefile +++ b/www/libwww/Makefile @@ -1,29 +1,35 @@ PORTNAME= libwww PORTVERSION= 5.4.2 CATEGORIES= www devel MASTER_SITES= https://www.w3.org/Library/Distribution/ \ https://www.w3.org/Library/Distribution/old/ DISTNAME= w3c-${PORTNAME}-${PORTVERSION} MAINTAINER= dbaio@FreeBSD.org COMMENT= W3C Reference Library WWW= https://www.w3.org/Library/ LICENSE= W3C LICENSE_NAME= W3C IPR SOFTWARE NOTICE LICENSE_FILE= ${WRKSRC}/LICENSE.html LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libexpat.so:textproc/expat2 USES= cpe gmake libtool localbase perl5 ssl tar:tgz USE_PERL5= build USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-shared --with-zlib --with-ssl=${OPENSSLBASE} CPE_VENDOR= w3c +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so .include