From 95274bf4f99c71fc056013d966aec239161dfd74 Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Wed, 26 Jul 2023 02:44:22 +0200 Subject: */*: Fix build with llvm16 on 13.2-STABLE 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 --- x11-toolkits/plib/Makefile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'x11-toolkits/plib') diff --git a/x11-toolkits/plib/Makefile b/x11-toolkits/plib/Makefile index d19072835cde..e238686d8465 100644 --- a/x11-toolkits/plib/Makefile +++ b/x11-toolkits/plib/Makefile @@ -12,6 +12,7 @@ LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING USES= cpe gl gmake localbase:ldflags xorg +USE_CXXSTD= c++14 CPE_VENDOR= ${PORTNAME}_project USE_GL= glu USE_XORG= xt xi xmu xext x11 @@ -23,12 +24,6 @@ LDFLAGS+= -lpthread EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-js-jsBSD.cxx -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 -CPPFLAGS+= -Dregister= -.endif - post-patch: @${REINPLACE_CMD} -e 's|-lpthread||g ; \ s|-ldl||g ; \ -- cgit v1.2.3