all: drop support for expired FreeBSD 14.0

Simplify expressions for FreeBSD 13.X

Reviewed by:	many

Differential Revision:	https://reviews.freebsd.org/D46601
This commit is contained in:
Rene Ladan 2024-08-11 13:01:29 +02:00
parent d5d82c5ff9
commit 4485bd8221
395 changed files with 381 additions and 642 deletions

View file

@ -1179,7 +1179,7 @@ OSVERSION!= ${AWK} '/^\#define[[:blank:]]__FreeBSD_version/ {print $$3}' < ${SRC
. endif
_EXPORTED_VARS+= OSVERSION
. if ${OPSYS} == FreeBSD && (${OSVERSION} < 1303000 )
. if ${OPSYS} == FreeBSD && (${OSVERSION} < 1303000 || (${OSVERSION} >= 1400000 && ${OSVERSION} < 1401000))
_UNSUPPORTED_SYSTEM_MESSAGE= Ports Collection support for your ${OPSYS} version has ended, and no ports\
are guaranteed to build on this system. Please upgrade to a supported release.
. if defined(ALLOW_UNSUPPORTED_SYSTEM)

View file

@ -38,7 +38,7 @@ GLIB_SCHEMAS= org.gnome.caribou.gschema.xml \
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

View file

@ -26,7 +26,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

View file

@ -33,7 +33,7 @@ post-install:
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -25,7 +25,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -26,7 +26,7 @@ UNALZ_OBJS= main.o UnAlz.o UnAlzUtils.o UnAlzBz2decompress.o \
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Dregister=
.endif

View file

@ -39,7 +39,7 @@ INFO= foxtrotgps
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -61,7 +61,7 @@ LTO_BROKEN= Fails to build with LTO because it is gcc-centered
.include <bsd.port.options.mk>
# workaround for ld: error: undefined symbol: roundevenf
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
USES+= llvm:max=15
.endif

View file

@ -39,7 +39,7 @@ OPTIONS_SUB= yes
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

View file

@ -26,7 +26,7 @@ PLIST_FILES= lib/lv2/espressivo.lv2/espressivo.so \
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -28,7 +28,7 @@ PLIST_FILES= lib/lv2/eteroj.lv2/eteroj.so \
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -33,7 +33,7 @@ PLIST_FILES= lib/lv2/Fluida.lv2/Fluida.so \
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

View file

@ -28,7 +28,7 @@ SSE_MAKE_ARGS= PORT_SIMD_FLAGS="-mtune=generic -msse -msse2 -mfpmath=sse"
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

View file

@ -21,7 +21,7 @@ PLIST_FILES= lib/gstreamer-1.0/libgstsndio.so
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

View file

@ -26,7 +26,7 @@ PLIST_FILES= bin/lv2proc \
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=strict-prototypes
.endif

View file

@ -20,7 +20,7 @@ USE_GNUSTEP= base gui back build
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

View file

@ -26,7 +26,7 @@ GL_TAGNAME= f4aa620fc8d77418856581a6a955192af15b3860
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -43,7 +43,7 @@ PULSE_LIB_DEPENDS= libpulse.so:audio/pulseaudio
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

View file

@ -24,7 +24,7 @@ USE_GL= gl glew glu
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -37,7 +37,7 @@ VORBIS_ALL_TARGET= all libsnackogg.so
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

View file

@ -89,7 +89,7 @@ CMAKE_ARGS+= -DARM_NATIVE=native # based on https://github.com/surge-synthesizer
.include <bsd.port.pre.mk>
post-patch:
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
#@${REINPLACE_CMD} -e 's|move (group)|std::move (group)|g' \
# ${WRKSRC}/libs/JUCE/modules/juce_audio_processors/utilities/juce_AudioProcessorValueTreeState.cpp
.endif

View file

@ -26,7 +26,7 @@ USE_XORG= x11 xext
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -27,7 +27,7 @@ LIBBINDIR= ${STAGEDIR}${PREFIX}/lib/X11/xmcd/bin-${OPSYS}_${OSREL:R:R}-${ARCH:S/
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

View file

@ -22,7 +22,7 @@ CONFIGURE_ENV= PERL="${PERL}"
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -45,7 +45,7 @@ PORTSCOUT= limit:^[0-9\.]*$$ # to ignore alpha-numeric tags
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=unused-but-set-variable
.endif

View file

@ -30,7 +30,7 @@ LDFLAGS+= -liconv
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -26,7 +26,7 @@ PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
USES+= llvm:max=15
.endif

View file

@ -33,12 +33,10 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
.endif
post-patch:
@${REINPLACE_CMD} -e \

View file

@ -47,12 +47,10 @@ DATAFILES= BLOSUM30.bla BLOSUM45.bla BLOSUM62.bla BLOSUM80.bla aa.rnd \
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
.endif
post-patch:
@${FIND} ${BUILD_WRKSRC} -name "makefile" | ${XARGS} \

View file

@ -42,7 +42,7 @@ PLIST_SUB+= PORTVERSION=${PORTVERSION}
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
USES+= llvm:max=14
.endif

View file

@ -41,7 +41,7 @@ PSVIEWER?= gv
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
USES+= llvm:max=15
.endif
@ -50,7 +50,7 @@ FFLAGS+= -fpic
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CPPFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -31,7 +31,7 @@ OPTIMIZED_CFLAGS_VARS= FEATURES+=OPT
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types -Dregister=
.endif

View file

@ -36,7 +36,7 @@ WRKSRC_SUBDIR= QT
post-patch:
@${REINPLACE_CMD} -e 's|"/usr/share/ldraw"|"${PREFIX}/share/ldraw"|' ${WRKSRC}/ModelViewerWidget.cpp
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
@${REINPLACE_CMD} -e 's|register ||' ${WRKSRC}/../LDLoader/LDrawIni.c
.endif

View file

@ -36,7 +36,7 @@ BINARY_ALIAS= python3=${PYTHON_CMD} # this is needed, see https://github.com/RTi
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -27,7 +27,7 @@ GLIB_SCHEMAS= io.ahoi.oregano.gschema.xml
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

View file

@ -55,7 +55,7 @@ DEV_HISIM2_LICENSE= HISIML
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -46,7 +46,7 @@ ALL_TARGET= freebsd_old
LIB_DEPENDS+= libsuperlu.so:math/superlu
SUPERLU= superlu
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CPPFLAGS+= -Dregister=
.endif

View file

@ -35,7 +35,7 @@ OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

View file

@ -18,7 +18,7 @@ GH_TUPLE= analogdevicesinc:no-OS:0bba46e:x/thirdparty/analogdevicesinc/no-OS
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=unused-but-set-variable
.endif

View file

@ -21,7 +21,7 @@ INSTALL_TARGET= install-strip
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -52,7 +52,7 @@ QCC_CONFIGURE_OFF=--disable-qcc
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

View file

@ -15,7 +15,7 @@ SHEBANG_FILES= test/set_readtimeout.rb
.include <bsd.port.options.mk>
post-patch:
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
@${REINPLACE_CMD} -e 's|-DOS_\#{os.upcase}|-DOS_\#{os.upcase} -Wno-error=int-conversion|g' \
${WRKSRC}/ext/native/extconf.rb
.endif

View file

@ -21,7 +21,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

View file

@ -36,7 +36,7 @@ NLS_CONFIGURE_OFF= --disable-nls
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=deprecated-non-prototype
.endif

View file

@ -16,7 +16,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -20,7 +20,7 @@ PLIST_FILES= bin/cocot ${DOCSDIR}/ja/README.ja
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

View file

@ -18,7 +18,7 @@ PLIST_FILES= bin/ish
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -23,7 +23,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -71,7 +71,7 @@ post-patch:
${ECHO} 'LIBS+= -lcrypto' >>${WRKSRC}/src/pdf/pdf.pro
${MKDIR} ${WRKSRC}/build/app ${WRKSRC}/build/qt \
${WRKSRC}/build/wkhtmltox
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
@${FIND} ${PATCH_WRKSRC}/../qt-5db36ec -name "*.cpp" -o -name "*.h" | \
${XARGS} ${REINPLACE_CMD} -E 's|register ([a-zA-Z])|\1|g'
.endif

View file

@ -35,7 +35,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

View file

@ -229,7 +229,7 @@ TEST_CMAKE_BOOL= ENABLE_TESTS
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
USES+= llvm:max=15
CFLAGS+=-Wno-error=int-conversion
.endif

View file

@ -99,7 +99,7 @@ CFLAGS+= -I${JAVA_HOME}/include -I${JAVA_HOME}/include/freebsd
CONFIGURE_ARGS+= --without-java
.endif
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

View file

@ -1,16 +0,0 @@
Workaround for FreeBSD 14.0 (Clang 16) which is expected to be EOL on 2024-09-30
Reference: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255374
https://forums.freebsd.org/threads/freebsd-release-14-0-and-clang-2020-std-format.91114/
--- configure.orig 2024-08-01 01:02:16 UTC
+++ configure
@@ -6239,7 +6239,7 @@ printf "%s\n" "$ac_cv_cxx_compile_cxx20" >&6; }
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compile_cxx20" >&5
printf "%s\n" "$ac_cv_cxx_compile_cxx20" >&6; }
-CXXFLAGS="$CXXFLAGS -std=c++20"
+CXXFLAGS="$CXXFLAGS -std=c++20 -fexperimental-library"
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'

View file

@ -21,7 +21,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=dynamic-exception-spec
.endif

View file

@ -24,7 +24,7 @@ CMAKE_TESTING_ARGS= -DNANODBC_DISABLE_TESTS=OFF # many tests fail: Data source n
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=deprecated-declarations -Wno-error=unused-command-line-argument
.endif

View file

@ -19,7 +19,7 @@ USE_PERL5= patch configure
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -20,7 +20,7 @@ USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -41,7 +41,7 @@ SSL_CONFIGURE_WITH= openssl
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -41,7 +41,7 @@ SSL_CONFIGURE_WITH= openssl
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -38,7 +38,7 @@ SSL_CONFIGURE_WITH= openssl
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -30,7 +30,7 @@ NLS_CONFIGURE_OFF= --disable-nls
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

View file

@ -17,7 +17,7 @@ USE_PYTHON= distutils autoplist
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -25,7 +25,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types"
.endif

View file

@ -97,8 +97,7 @@ ICONS_PACKAGE= cairo-dock-plugins-png-icons
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1400079 || (${OSVERSION} >= 1302505 && \
${OSVERSION} < 1400000))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -23,7 +23,7 @@ LIBS+= -lX11
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

View file

@ -16,7 +16,7 @@ USE_GNUSTEP= back build
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
ADDITIONAL_CPPFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -45,8 +45,6 @@ MAKE_ARGS+= pch=off
.if ${OPSYS} == FreeBSD && \
((${OSVERSION} >= 1500000 && ${OSVERSION} < 1500017) || \
(${OSVERSION} >= 1400000 && ${OSVERSION} < 1400097)|| \
(${OSVERSION} >= 1300000 && ${OSVERSION} < 1300137) || \
${PORT_OPTIONS:MLLVM_FROM_PORTS})
USES+= llvm:build
CHOSEN_COMPILER_TYPE= clang

View file

@ -17,8 +17,8 @@ BUILD_DEPENDS+= bjam:devel/boost-jam
# following conditions are satisfied.
# * OSVERSION is included in either of following ranges.
# 1. 1500000 <= OSVERSION < 1500017
# 2. 1400000 <= OSVERSION < 1400509
# 3. 1300000 <= OSVERSION < 1303502
# 2. 1400000 <= OSVERSION < 1400509 (no longer relevant)
# 3. 1300000 <= OSVERSION < 1303502 (no longer relevant)
# * Base system is built with WITH_LLVM_ASSERTIONS variable set.
# So if your base system fulfills them you need to use LLVM ports to
# build this port.

View file

@ -40,7 +40,7 @@ MESON_ARGS= -Dtests=false -Dsamples=false
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

View file

@ -27,7 +27,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CPPFLAGS+= -Wno-error=enum-constexpr-conversion
.endif

View file

@ -27,7 +27,7 @@ OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CPPFLAGS+= -Dregister=
.endif

View file

@ -26,7 +26,7 @@ BINARY_ALIAS= git=false python3=${PYTHON_CMD}
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CXXFLAGS+= -Wno-error=unused-command-line-argument
.endif

View file

@ -23,7 +23,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=strict-prototypes
.endif

View file

@ -101,7 +101,7 @@ VAR_TO_SUBMAKE_NOEXPAND= CONFIGURE_ENV MAKE_ENV
#IGNORE= PURE option is not valid anymore, no libraries are bundled
#.endif
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
USE_GCC= yes
.endif

View file

@ -19,7 +19,7 @@ WORLD_LIB=${LOCALBASE}
LDFLAGS+= -L${WORLD_LIB}/lib
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
MAKE_ARGS+= CFLAGS="-Wno-error -Wno-deprecated-register" CXXFLAGS="-Wno-error -Wno-deprecated-register"
.else
.if ${CHOSEN_COMPILER_TYPE} == clang

View file

@ -91,11 +91,11 @@ CONFIGURE_ARGS_COMMON= --prefix=${INTERIM_PREFIX} \
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
USE_GCC= yes:build
.endif

View file

@ -22,7 +22,7 @@ OPTIONS_DEFINE= EXAMPLES
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

View file

@ -21,7 +21,7 @@ DEFAULT_LIBVERSION= 1.1.0
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CPPFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

View file

@ -20,9 +20,4 @@ PLIST_FILES= include/${PORTNAME}.hpp \
lib/lib${PORTNAME}.so.${PORTVERSION} \
libdata/pkgconfig/${PORTNAME}.pc
# XXX Drop after FreeBSD 14.0 EOL around 2024-10-01
.if exists(/usr/lib/libc++.so) && !exists(/usr/include/c++/v1/__format/write_escaped.h)
CXXFLAGS+= -fexperimental-library
.endif
.include <bsd.port.mk>

View file

@ -17,11 +17,6 @@ USE_XORG= pixman
GH_ACCOUNT= hyprwm
PLIST_SUB= VERSION=${DISTVERSION:C/-.*//}
# XXX Drop after FreeBSD 14.0 EOL around 2024-10-01
.if exists(/usr/lib/libc++.so) && !exists(/usr/include/c++/v1/__format/write_escaped.h)
CXXFLAGS+= -fexperimental-library
.endif
post-patch:
# Respect PREFIX for system-wide config
@${REINPLACE_CMD} 's,/etc,${PREFIX}&,' \

View file

@ -20,10 +20,4 @@ PLIST_FILES= bin/${PORTNAME} \
lib/cmake/${PORTNAME}/${PORTNAME}-config.cmake \
libdata/pkgconfig/${PORTNAME}.pc
# XXX Drop after FreeBSD 14.0 EOL around 2024-10-01
.if exists(/usr/include/c++/v1/__format/format_functions.h) && \
!exists(/usr/include/c++/v1/__format/write_escaped.h)
CXXFLAGS+= -fexperimental-library
.endif
.include <bsd.port.mk>

View file

@ -29,7 +29,7 @@ PLIST_SUB= PORTVERSION=${PORTVERSION}
post-configure:
# This file is vendored in vendor/Catch-1.10.0.zip and extracted at configure step
${SED} -i '' -e '1s|\(.*\)|#include <sys/signal.h>\n\1|' ${CONFIGURE_WRKSRC}/src/Catch-1.10.0/single_include/catch.hpp
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
${REINPLACE_CMD} -e 's|ptrdiff_t|size_t|' ${CONFIGURE_WRKSRC}/src/Catch-1.10.0/single_include/catch.hpp
.endif

View file

@ -20,7 +20,7 @@ PLIST_SUB= STATIC="@comment "
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -35,7 +35,7 @@ READLINE_CONFIGURE_ENV_OFF=\
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=unused-but-set-variable
.endif

View file

@ -16,7 +16,7 @@ GH_TAGNAME= 11cbd88
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=array-parameter
.endif

View file

@ -21,7 +21,7 @@ INSTALL_TARGET= install-strip
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

View file

@ -21,7 +21,7 @@ WRKSRC_SUBDIR= src
.include <bsd.port.pre.mk>
.if defined(NO_PROFILE) || ( ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )))
.if defined(NO_PROFILE) || ${OPSYS} == FreeBSD
PLIST_SUB+= PROFILE="@comment "
.else
PLIST_SUB+= PROFILE=""

View file

@ -21,7 +21,7 @@ CFLAGS+= -D_WANT_SEMUN
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -26,7 +26,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -24,7 +24,7 @@ PLIST_FILES= include/libx86.h lib/libx86.a lib/libx86.so lib/libx86.so.1
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

View file

@ -45,7 +45,7 @@ OPTIONS_DEFINE= DOCS
CFLAGS+= -DENVIRON=\"ENVIRON_64\" -DMP_INIT_SUPPORT=0
.endif
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=dynamic-exception-spec
.endif

View file

@ -18,7 +18,7 @@ MSGPACK_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/msgpack.so:devel/pecl-m
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

View file

@ -36,7 +36,7 @@ BIN_SYMLINKS= bin/n14 \
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
USES+= llvm:max=14
.endif

View file

@ -17,7 +17,7 @@ USE_PYTHON= distutils autoplist
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif

View file

@ -18,7 +18,7 @@ DOS2UNIX_GLOB= *.py
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

View file

@ -18,12 +18,10 @@ USE_PYTHON= distutils autoplist
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
.endif
pre-patch:
${INSTALL_DATA} ${FILESDIR}/setup.py ${WRKSRC}

View file

@ -20,7 +20,7 @@ USE_PYTHON= distutils autoplist
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types
.endif

View file

@ -14,7 +14,7 @@ PLIST_FILES= bin/replay
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=unused-but-set-variable
.endif

View file

@ -209,13 +209,6 @@ PLIST_SUB+= NOT_INSTALLED_ON_AARCH64="@comment " ONLY_INSTALLED_ON_AARCH64=""
PLIST_SUB+= NOT_INSTALLED_ON_AARCH64="" ONLY_INSTALLED_ON_AARCH64="@comment "
.endif
# std_config.pcm exclusive to FreeBSD 14.0
.if ${OPSYS} == FreeBSD && ${OSREL} == 14.0
PLIST_SUB+= ONLY_INSTALLED_ON_FBSD140=""
.else
PLIST_SUB+= ONLY_INSTALLED_ON_FBSD140="@comment "
.endif
# Files in lib/root/__pycache__ have links into WRKDIR and should not be staged. This happens even when PYROOT option is OFF.
post-install:
${RM} -r ${STAGEDIR}${PREFIX}/lib/root/__pycache__

View file

@ -3917,7 +3917,6 @@ lib/root/libvectorDict.so.%%SHLIB_SHVER%%
lib/root/libvectorDict.so.%%SHLIB_VER%%
%%NOT_INSTALLED_ON_AARCH64%%lib/root/modules.idx
%%NOT_INSTALLED_ON_AARCH64%%lib/root/std.pcm
%%ONLY_INSTALLED_ON_FBSD140%%%%NOT_INSTALLED_ON_AARCH64%%lib/root/std_config.pcm
%%PORTDOCS%%%%DOCSDIR%%/CREDITS
%%PORTDOCS%%%%DOCSDIR%%/DEVELOPMENT.md
%%PORTDOCS%%%%DOCSDIR%%/INSTALL

Some files were not shown because too many files have changed in this diff Show more