mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
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:
parent
d5d82c5ff9
commit
4485bd8221
395 changed files with 381 additions and 642 deletions
|
@ -1179,7 +1179,7 @@ OSVERSION!= ${AWK} '/^\#define[[:blank:]]__FreeBSD_version/ {print $$3}' < ${SRC
|
||||||
. endif
|
. endif
|
||||||
_EXPORTED_VARS+= OSVERSION
|
_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\
|
_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.
|
are guaranteed to build on this system. Please upgrade to a supported release.
|
||||||
. if defined(ALLOW_UNSUPPORTED_SYSTEM)
|
. if defined(ALLOW_UNSUPPORTED_SYSTEM)
|
||||||
|
|
|
@ -38,7 +38,7 @@ GLIB_SCHEMAS= org.gnome.caribou.gschema.xml \
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -33,8 +33,8 @@ post-install:
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -25,7 +25,7 @@ OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -26,8 +26,8 @@ UNALZ_OBJS= main.o UnAlz.o UnAlzUtils.o UnAlzBz2decompress.o \
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Dregister=
|
CFLAGS+= -Dregister=
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
|
|
|
@ -39,7 +39,7 @@ INFO= foxtrotgps
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -61,7 +61,7 @@ LTO_BROKEN= Fails to build with LTO because it is gcc-centered
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
# workaround for ld: error: undefined symbol: roundevenf
|
# workaround for ld: error: undefined symbol: roundevenf
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
USES+= llvm:max=15
|
USES+= llvm:max=15
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ OPTIONS_SUB= yes
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ PLIST_FILES= lib/lv2/espressivo.lv2/espressivo.so \
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ PLIST_FILES= lib/lv2/eteroj.lv2/eteroj.so \
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ PLIST_FILES= lib/lv2/Fluida.lv2/Fluida.so \
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ SSE_MAKE_ARGS= PORT_SIMD_FLAGS="-mtune=generic -msse -msse2 -mfpmath=sse"
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ PLIST_FILES= lib/gstreamer-1.0/libgstsndio.so
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ PLIST_FILES= bin/lv2proc \
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=strict-prototypes
|
CFLAGS+= -Wno-error=strict-prototypes
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ USE_GNUSTEP= base gui back build
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ GL_TAGNAME= f4aa620fc8d77418856581a6a955192af15b3860
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@ PULSE_LIB_DEPENDS= libpulse.so:audio/pulseaudio
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ USE_GL= gl glew glu
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ VORBIS_ALL_TARGET= all libsnackogg.so
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -89,7 +89,7 @@ CMAKE_ARGS+= -DARM_NATIVE=native # based on https://github.com/surge-synthesizer
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
#@${REINPLACE_CMD} -e 's|move (group)|std::move (group)|g' \
|
#@${REINPLACE_CMD} -e 's|move (group)|std::move (group)|g' \
|
||||||
# ${WRKSRC}/libs/JUCE/modules/juce_audio_processors/utilities/juce_AudioProcessorValueTreeState.cpp
|
# ${WRKSRC}/libs/JUCE/modules/juce_audio_processors/utilities/juce_AudioProcessorValueTreeState.cpp
|
||||||
.endif
|
.endif
|
||||||
|
|
|
@ -26,7 +26,7 @@ USE_XORG= x11 xext
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ LIBBINDIR= ${STAGEDIR}${PREFIX}/lib/X11/xmcd/bin-${OPSYS}_${OSREL:R:R}-${ARCH:S/
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ CONFIGURE_ENV= PERL="${PERL}"
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ PORTSCOUT= limit:^[0-9\.]*$$ # to ignore alpha-numeric tags
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=unused-but-set-variable
|
CFLAGS+= -Wno-error=unused-but-set-variable
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ LDFLAGS+= -liconv
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ PLIST_FILES= bin/${PORTNAME}
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
USES+= llvm:max=15
|
USES+= llvm:max=15
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -33,12 +33,10 @@ OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )
|
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
.endif
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e \
|
@${REINPLACE_CMD} -e \
|
||||||
|
|
|
@ -47,12 +47,10 @@ DATAFILES= BLOSUM30.bla BLOSUM45.bla BLOSUM62.bla BLOSUM80.bla aa.rnd \
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )
|
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
.endif
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${FIND} ${BUILD_WRKSRC} -name "makefile" | ${XARGS} \
|
@${FIND} ${BUILD_WRKSRC} -name "makefile" | ${XARGS} \
|
||||||
|
|
|
@ -42,7 +42,7 @@ PLIST_SUB+= PORTVERSION=${PORTVERSION}
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
USES+= llvm:max=14
|
USES+= llvm:max=14
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ PSVIEWER?= gv
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
USES+= llvm:max=15
|
USES+= llvm:max=15
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ FFLAGS+= -fpic
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CPPFLAGS+= -Wno-error=int-conversion
|
CPPFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ OPTIMIZED_CFLAGS_VARS= FEATURES+=OPT
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.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=
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types -Dregister=
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ WRKSRC_SUBDIR= QT
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|"/usr/share/ldraw"|"${PREFIX}/share/ldraw"|' ${WRKSRC}/ModelViewerWidget.cpp
|
@${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
|
@${REINPLACE_CMD} -e 's|register ||' ${WRKSRC}/../LDLoader/LDrawIni.c
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ BINARY_ALIAS= python3=${PYTHON_CMD} # this is needed, see https://github.com/RTi
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ GLIB_SCHEMAS= io.ahoi.oregano.gschema.xml
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@ DEV_HISIM2_LICENSE= HISIML
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ ALL_TARGET= freebsd_old
|
||||||
LIB_DEPENDS+= libsuperlu.so:math/superlu
|
LIB_DEPENDS+= libsuperlu.so:math/superlu
|
||||||
SUPERLU= superlu
|
SUPERLU= superlu
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CPPFLAGS+= -Dregister=
|
CPPFLAGS+= -Dregister=
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ OPTIONS_DEFINE= DOCS EXAMPLES
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -18,8 +18,8 @@ GH_TUPLE= analogdevicesinc:no-OS:0bba46e:x/thirdparty/analogdevicesinc/no-OS
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=unused-but-set-variable
|
CFLAGS+= -Wno-error=unused-but-set-variable
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -21,7 +21,7 @@ INSTALL_TARGET= install-strip
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@ QCC_CONFIGURE_OFF=--disable-qcc
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ SHEBANG_FILES= test/set_readtimeout.rb
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
post-patch:
|
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' \
|
@${REINPLACE_CMD} -e 's|-DOS_\#{os.upcase}|-DOS_\#{os.upcase} -Wno-error=int-conversion|g' \
|
||||||
${WRKSRC}/ext/native/extconf.rb
|
${WRKSRC}/ext/native/extconf.rb
|
||||||
.endif
|
.endif
|
||||||
|
|
|
@ -21,7 +21,7 @@ OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ NLS_CONFIGURE_OFF= --disable-nls
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=deprecated-non-prototype
|
CFLAGS+= -Wno-error=deprecated-non-prototype
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ PLIST_FILES= bin/cocot ${DOCSDIR}/ja/README.ja
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ PLIST_FILES= bin/ish
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -71,7 +71,7 @@ post-patch:
|
||||||
${ECHO} 'LIBS+= -lcrypto' >>${WRKSRC}/src/pdf/pdf.pro
|
${ECHO} 'LIBS+= -lcrypto' >>${WRKSRC}/src/pdf/pdf.pro
|
||||||
${MKDIR} ${WRKSRC}/build/app ${WRKSRC}/build/qt \
|
${MKDIR} ${WRKSRC}/build/app ${WRKSRC}/build/qt \
|
||||||
${WRKSRC}/build/wkhtmltox
|
${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" | \
|
@${FIND} ${PATCH_WRKSRC}/../qt-5db36ec -name "*.cpp" -o -name "*.h" | \
|
||||||
${XARGS} ${REINPLACE_CMD} -E 's|register ([a-zA-Z])|\1|g'
|
${XARGS} ${REINPLACE_CMD} -E 's|register ([a-zA-Z])|\1|g'
|
||||||
.endif
|
.endif
|
||||||
|
|
|
@ -35,7 +35,7 @@ OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -229,7 +229,7 @@ TEST_CMAKE_BOOL= ENABLE_TESTS
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
USES+= llvm:max=15
|
USES+= llvm:max=15
|
||||||
CFLAGS+=-Wno-error=int-conversion
|
CFLAGS+=-Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
|
@ -99,7 +99,7 @@ CFLAGS+= -I${JAVA_HOME}/include -I${JAVA_HOME}/include/freebsd
|
||||||
CONFIGURE_ARGS+= --without-java
|
CONFIGURE_ARGS+= --without-java
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -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'
|
|
|
@ -21,7 +21,7 @@ OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=dynamic-exception-spec
|
CFLAGS+= -Wno-error=dynamic-exception-spec
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ CMAKE_TESTING_ARGS= -DNANODBC_DISABLE_TESTS=OFF # many tests fail: Data source n
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.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
|
CFLAGS+= -Wno-error=deprecated-declarations -Wno-error=unused-command-line-argument
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ USE_PERL5= patch configure
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ USE_LDCONFIG= yes
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ SSL_CONFIGURE_WITH= openssl
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ SSL_CONFIGURE_WITH= openssl
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ SSL_CONFIGURE_WITH= openssl
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ NLS_CONFIGURE_OFF= --disable-nls
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ USE_PYTHON= distutils autoplist
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.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"
|
CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -97,8 +97,7 @@ ICONS_PACKAGE= cairo-dock-plugins-png-icons
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1400079 || (${OSVERSION} >= 1302505 && \
|
.if ${OPSYS} == FreeBSD
|
||||||
${OSVERSION} < 1400000))
|
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ LIBS+= -lX11
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ USE_GNUSTEP= back build
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
ADDITIONAL_CPPFLAGS+= -Wno-error=int-conversion
|
ADDITIONAL_CPPFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -45,8 +45,6 @@ MAKE_ARGS+= pch=off
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && \
|
.if ${OPSYS} == FreeBSD && \
|
||||||
((${OSVERSION} >= 1500000 && ${OSVERSION} < 1500017) || \
|
((${OSVERSION} >= 1500000 && ${OSVERSION} < 1500017) || \
|
||||||
(${OSVERSION} >= 1400000 && ${OSVERSION} < 1400097)|| \
|
|
||||||
(${OSVERSION} >= 1300000 && ${OSVERSION} < 1300137) || \
|
|
||||||
${PORT_OPTIONS:MLLVM_FROM_PORTS})
|
${PORT_OPTIONS:MLLVM_FROM_PORTS})
|
||||||
USES+= llvm:build
|
USES+= llvm:build
|
||||||
CHOSEN_COMPILER_TYPE= clang
|
CHOSEN_COMPILER_TYPE= clang
|
||||||
|
|
|
@ -17,8 +17,8 @@ BUILD_DEPENDS+= bjam:devel/boost-jam
|
||||||
# following conditions are satisfied.
|
# following conditions are satisfied.
|
||||||
# * OSVERSION is included in either of following ranges.
|
# * OSVERSION is included in either of following ranges.
|
||||||
# 1. 1500000 <= OSVERSION < 1500017
|
# 1. 1500000 <= OSVERSION < 1500017
|
||||||
# 2. 1400000 <= OSVERSION < 1400509
|
# 2. 1400000 <= OSVERSION < 1400509 (no longer relevant)
|
||||||
# 3. 1300000 <= OSVERSION < 1303502
|
# 3. 1300000 <= OSVERSION < 1303502 (no longer relevant)
|
||||||
# * Base system is built with WITH_LLVM_ASSERTIONS variable set.
|
# * Base system is built with WITH_LLVM_ASSERTIONS variable set.
|
||||||
# So if your base system fulfills them you need to use LLVM ports to
|
# So if your base system fulfills them you need to use LLVM ports to
|
||||||
# build this port.
|
# build this port.
|
||||||
|
|
|
@ -40,7 +40,7 @@ MESON_ARGS= -Dtests=false -Dsamples=false
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CPPFLAGS+= -Wno-error=enum-constexpr-conversion
|
CPPFLAGS+= -Wno-error=enum-constexpr-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ OPTIONS_DEFINE= DOCS EXAMPLES
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CPPFLAGS+= -Dregister=
|
CPPFLAGS+= -Dregister=
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ BINARY_ALIAS= git=false python3=${PYTHON_CMD}
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CXXFLAGS+= -Wno-error=unused-command-line-argument
|
CXXFLAGS+= -Wno-error=unused-command-line-argument
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=strict-prototypes
|
CFLAGS+= -Wno-error=strict-prototypes
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -101,7 +101,7 @@ VAR_TO_SUBMAKE_NOEXPAND= CONFIGURE_ENV MAKE_ENV
|
||||||
#IGNORE= PURE option is not valid anymore, no libraries are bundled
|
#IGNORE= PURE option is not valid anymore, no libraries are bundled
|
||||||
#.endif
|
#.endif
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
USE_GCC= yes
|
USE_GCC= yes
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ WORLD_LIB=${LOCALBASE}
|
||||||
|
|
||||||
LDFLAGS+= -L${WORLD_LIB}/lib
|
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"
|
MAKE_ARGS+= CFLAGS="-Wno-error -Wno-deprecated-register" CXXFLAGS="-Wno-error -Wno-deprecated-register"
|
||||||
.else
|
.else
|
||||||
.if ${CHOSEN_COMPILER_TYPE} == clang
|
.if ${CHOSEN_COMPILER_TYPE} == clang
|
||||||
|
|
|
@ -91,11 +91,11 @@ CONFIGURE_ARGS_COMMON= --prefix=${INTERIM_PREFIX} \
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
USE_GCC= yes:build
|
USE_GCC= yes:build
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ OPTIONS_DEFINE= EXAMPLES
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ DEFAULT_LIBVERSION= 1.1.0
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CPPFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CPPFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -20,9 +20,4 @@ PLIST_FILES= include/${PORTNAME}.hpp \
|
||||||
lib/lib${PORTNAME}.so.${PORTVERSION} \
|
lib/lib${PORTNAME}.so.${PORTVERSION} \
|
||||||
libdata/pkgconfig/${PORTNAME}.pc
|
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>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -17,11 +17,6 @@ USE_XORG= pixman
|
||||||
GH_ACCOUNT= hyprwm
|
GH_ACCOUNT= hyprwm
|
||||||
PLIST_SUB= VERSION=${DISTVERSION:C/-.*//}
|
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:
|
post-patch:
|
||||||
# Respect PREFIX for system-wide config
|
# Respect PREFIX for system-wide config
|
||||||
@${REINPLACE_CMD} 's,/etc,${PREFIX}&,' \
|
@${REINPLACE_CMD} 's,/etc,${PREFIX}&,' \
|
||||||
|
|
|
@ -20,10 +20,4 @@ PLIST_FILES= bin/${PORTNAME} \
|
||||||
lib/cmake/${PORTNAME}/${PORTNAME}-config.cmake \
|
lib/cmake/${PORTNAME}/${PORTNAME}-config.cmake \
|
||||||
libdata/pkgconfig/${PORTNAME}.pc
|
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>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -29,7 +29,7 @@ PLIST_SUB= PORTVERSION=${PORTVERSION}
|
||||||
post-configure:
|
post-configure:
|
||||||
# This file is vendored in vendor/Catch-1.10.0.zip and extracted at configure step
|
# 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
|
${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
|
${REINPLACE_CMD} -e 's|ptrdiff_t|size_t|' ${CONFIGURE_WRKSRC}/src/Catch-1.10.0/single_include/catch.hpp
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ PLIST_SUB= STATIC="@comment "
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ READLINE_CONFIGURE_ENV_OFF=\
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=unused-but-set-variable
|
CFLAGS+= -Wno-error=unused-but-set-variable
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ GH_TAGNAME= 11cbd88
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=array-parameter
|
CFLAGS+= -Wno-error=array-parameter
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ INSTALL_TARGET= install-strip
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ WRKSRC_SUBDIR= src
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.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 "
|
PLIST_SUB+= PROFILE="@comment "
|
||||||
.else
|
.else
|
||||||
PLIST_SUB+= PROFILE=""
|
PLIST_SUB+= PROFILE=""
|
||||||
|
|
|
@ -21,7 +21,7 @@ CFLAGS+= -D_WANT_SEMUN
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ PLIST_FILES= include/libx86.h lib/libx86.a lib/libx86.so lib/libx86.so.1
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ OPTIONS_DEFINE= DOCS
|
||||||
CFLAGS+= -DENVIRON=\"ENVIRON_64\" -DMP_INIT_SUPPORT=0
|
CFLAGS+= -DENVIRON=\"ENVIRON_64\" -DMP_INIT_SUPPORT=0
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=dynamic-exception-spec
|
CFLAGS+= -Wno-error=dynamic-exception-spec
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ MSGPACK_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/msgpack.so:devel/pecl-m
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ BIN_SYMLINKS= bin/n14 \
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
USES+= llvm:max=14
|
USES+= llvm:max=14
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ USE_PYTHON= distutils autoplist
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ DOS2UNIX_GLOB= *.py
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -18,12 +18,10 @@ USE_PYTHON= distutils autoplist
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=int-conversion
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )
|
|
||||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
.endif
|
|
||||||
|
|
||||||
pre-patch:
|
pre-patch:
|
||||||
${INSTALL_DATA} ${FILESDIR}/setup.py ${WRKSRC}
|
${INSTALL_DATA} ${FILESDIR}/setup.py ${WRKSRC}
|
||||||
|
|
|
@ -20,7 +20,7 @@ USE_PYTHON= distutils autoplist
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.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
|
CFLAGS+= -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ PLIST_FILES= bin/replay
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
.if ${OPSYS} == FreeBSD
|
||||||
CFLAGS+= -Wno-error=unused-but-set-variable
|
CFLAGS+= -Wno-error=unused-but-set-variable
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -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 "
|
PLIST_SUB+= NOT_INSTALLED_ON_AARCH64="" ONLY_INSTALLED_ON_AARCH64="@comment "
|
||||||
.endif
|
.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.
|
# Files in lib/root/__pycache__ have links into WRKDIR and should not be staged. This happens even when PYROOT option is OFF.
|
||||||
post-install:
|
post-install:
|
||||||
${RM} -r ${STAGEDIR}${PREFIX}/lib/root/__pycache__
|
${RM} -r ${STAGEDIR}${PREFIX}/lib/root/__pycache__
|
||||||
|
|
|
@ -3917,7 +3917,6 @@ lib/root/libvectorDict.so.%%SHLIB_SHVER%%
|
||||||
lib/root/libvectorDict.so.%%SHLIB_VER%%
|
lib/root/libvectorDict.so.%%SHLIB_VER%%
|
||||||
%%NOT_INSTALLED_ON_AARCH64%%lib/root/modules.idx
|
%%NOT_INSTALLED_ON_AARCH64%%lib/root/modules.idx
|
||||||
%%NOT_INSTALLED_ON_AARCH64%%lib/root/std.pcm
|
%%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%%/CREDITS
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/DEVELOPMENT.md
|
%%PORTDOCS%%%%DOCSDIR%%/DEVELOPMENT.md
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue