diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-26 02:44:22 +0200 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-26 02:48:20 +0200 |
commit | 95274bf4f99c71fc056013d966aec239161dfd74 (patch) | |
tree | bc1e95977678cb5b6b00b33e333b28161885e706 /graphics/djvulibre | |
parent | dbe06d2da8c38d9d058f7939a7c6af36a2c0f1c7 (diff) | |
download | freebsd-ports-95274bf4f99c71fc056013d966aec239161dfd74.zip |
*/*: 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
Diffstat (limited to 'graphics/djvulibre')
-rw-r--r-- | graphics/djvulibre/Makefile | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/graphics/djvulibre/Makefile b/graphics/djvulibre/Makefile index 3dc7fe8f0ef1..54cf4a929c87 100644 --- a/graphics/djvulibre/Makefile +++ b/graphics/djvulibre/Makefile @@ -14,6 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libtiff.so:graphics/tiff USES= cpe gmake iconv jpeg libtool +USE_CXXSTD= c++14 USE_LDCONFIG= yes CPE_VENDOR= djvulibre_project @@ -38,12 +39,6 @@ DESKTOPFILES_DESC= Install icons and mime types DESKTOPFILES_CONFIGURE_ENABLE= desktopfiles DESKTOPFILES_USES= gnome -.include <bsd.port.options.mk> - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 -CPPFLAGS+= -Dregister= -.endif - post-patch: # Remove custom optimization compiler flags @${REINPLACE_CMD} -e '/-[Og]\*)/d ; \ |