95274bf4f9
As like as HEAD(14.0-RELEASE) llvm16 was merged in base for 13.2-STABLE with the OSVERSION 1302507. - Utilize USE_CXXSTD=c++14 or similar solution where applicable - Update conditionals to addtionally check for OSVERSION greater than 1302507 and less than 1400000 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
35 lines
983 B
Makefile
35 lines
983 B
Makefile
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 <bsd.port.options.mk>
|
|
|
|
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
|
.endif
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
|
|
|
|
.include <bsd.port.mk>
|