Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F135979453
D17724.id49702.largetrue.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
127 KB
Referenced Files
None
Subscribers
None
D17724.id49702.largetrue.diff
View Options
Index: Mk/Uses/gssapi.mk
===================================================================
--- Mk/Uses/gssapi.mk
+++ Mk/Uses/gssapi.mk
@@ -79,7 +79,6 @@
_MITKRB5_DEPENDS=${GSSAPILIBDIR}/libkrb5support.so:security/krb5
_HEADERS= sys/types.h sys/stat.h stdint.h
-.undef _FIXUP_KRB5CONFIG
.if empty(gssapi_ARGS)
gssapi_ARGS= base
.endif
@@ -97,9 +96,6 @@
GSSAPICPPFLAGS= -I"${GSSAPIINCDIR}"
GSSAPILIBS= -lkrb5 -lgssapi -lgssapi_krb5
GSSAPILDFLAGS= -L"${GSSAPILIBDIR}"
-.if empty(OSREL:N9.3)
-_FIXUP_KRB5CONFIG= yes
-.endif
.elif ${_local} == "heimdal"
HEIMDAL_HOME?= ${LOCALBASE}
GSSAPIBASEDIR= ${HEIMDAL_HOME}
@@ -141,18 +137,7 @@
.endif
.endfor
-# Fix up krb5-config if broken. This script included in 9.X prior to
-# r271474 and in 10.X prior to r271473 are broken because
-# libgssapi_krb5 for some interfaces of GSS-API is missing.
-.if defined(_FIXUP_KRB5CONFIG)
-KRB5CONFIG=${WRKDIR}/krb5-config
-_USES_configure+= 290:krb5config-fix
-krb5config-fix:
- ${SED} -e 's,\$$lib_flags -lgssapi -lheimntlm,\$$lib_flags -lgssapi -lgssapi_krb5 -lheimntlm,' < ${GSSAPIBASEDIR}/bin/krb5-config > ${KRB5CONFIG}
- ${CHMOD} a+rx ${KRB5CONFIG}
-.else
KRB5CONFIG=${GSSAPIBASEDIR}/bin/krb5-config
-.endif
# Fix up -Wl,-rpath in LDFLAGS
.if defined(_RPATH) && !empty(_RPATH)
Index: Mk/bsd.gecko.mk
===================================================================
--- Mk/bsd.gecko.mk
+++ Mk/bsd.gecko.mk
@@ -162,8 +162,6 @@
MOZ_EXPORT+= MOZ_JEMALLOC4=1
.if ${MOZILLA_VER:R:R} >= 48
MOZ_OPTIONS+= --enable-jemalloc=4
-.elif ${OSVERSION} < 1100079
-MOZ_OPTIONS+= --enable-jemalloc
.endif # Mozilla >= 48
.endif # Mozilla < 55
@@ -412,9 +410,6 @@
.if ${PORT_OPTIONS:MDTRACE}
MOZ_OPTIONS+= --enable-dtrace \
--disable-gold
-. if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100061
-LIBS+= -lelf
-. endif
STRIP=
.else
MOZ_OPTIONS+= --disable-dtrace
Index: Mk/bsd.port.mk
===================================================================
--- Mk/bsd.port.mk
+++ Mk/bsd.port.mk
@@ -1180,7 +1180,7 @@
.endif
_EXPORTED_VARS+= OSVERSION
-.if (${OPSYS} == FreeBSD && (${OSVERSION} < 1004000 || (${OSVERSION} >= 1100000 && ${OSVERSION} < 1102000))) || \
+.if (${OPSYS} == FreeBSD && ${OSVERSION} < 1102000) || \
(${OPSYS} == DragonFly && ${DFLYVERSION} < 400400)
_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.
Index: audio/kwave/Makefile
===================================================================
--- audio/kwave/Makefile
+++ audio/kwave/Makefile
@@ -36,14 +36,4 @@
OPTIONS_DEFINE= DOCS
-.include <bsd.port.pre.mk>
-
-. if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000 && ${OSVERSION} < 1101505
-BUILD_DEPENDS+= llvm50>=0:devel/llvm50
-# Build is broken on 11.x as clang is not new enough.
-# Workaround by manually setting CC to clang50.
-CC= ${LOCALBASE}/bin/clang50
-CXX= ${LOCALBASE}/bin/clang++50
-. endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: audio/logitechmediaserver/Makefile
===================================================================
--- audio/logitechmediaserver/Makefile
+++ audio/logitechmediaserver/Makefile
@@ -13,7 +13,6 @@
LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell
ONLY_FOR_ARCHS= amd64 i386
-BROKEN_FreeBSD_10_i386= libmediascan does not compile
BUILD_DEPENDS= nasm:devel/nasm \
bash:shells/bash \
Index: audio/supercollider/Makefile
===================================================================
--- audio/supercollider/Makefile
+++ audio/supercollider/Makefile
@@ -40,8 +40,6 @@
OPTIONS_DEFINE= HELP SUPERNOVA
OPTIONS_DEFAULT= HELP SUPERNOVA
-# SUPERNOVA option BROKEN_FreeBSD_10: No viable conversion from 'boost::lockfree::detail::tagged_ptr<nova::freelist::freelist_node>'
-OPTIONS_EXCLUDE_FreeBSD_10= SUPERNOVA
OPTIONS_SUB= yes
HELP_DESC= Install on-line help text
Index: audio/teamspeak3-server/Makefile
===================================================================
--- audio/teamspeak3-server/Makefile
+++ audio/teamspeak3-server/Makefile
@@ -56,11 +56,7 @@
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000 && ${OSVERSION} < 1100507
-SUB_LIST+= CD="cd \$$db_dir"
-.else
SUB_LIST+= CD=
-.endif
.if ${ARCH} == "i386"
TEAMSPEAK_ARCH= x86
Index: audio/wavpack/Makefile
===================================================================
--- audio/wavpack/Makefile
+++ audio/wavpack/Makefile
@@ -28,13 +28,4 @@
ASM_CONFIGURE_OFF= --disable-asm
ASM_DESC= Optimized assembler routines (requires MMX on x86)
-.include <bsd.port.options.mk>
-
-# ASM needs clang 3.8+
-# depend on llvm60 since it's more likely to be installed already than 3.8
-.if ${OSVERSION} < 1100101 && ${PORT_OPTIONS:MASM}
-BUILD_DEPENDS+= clang60:devel/llvm60
-CC= clang60
-.endif
-
.include <bsd.port.mk>
Index: audio/zynaddsubfx/Makefile
===================================================================
--- audio/zynaddsubfx/Makefile
+++ audio/zynaddsubfx/Makefile
@@ -81,15 +81,7 @@
CMAKE_ARGS+= -DZYN_DATADIR:STRING=${DATADIR}
CMAKE_ARGS+= -DZYN_EXAMPLESDIR:STRING=${EXAMPLESDIR}
-.include <bsd.port.options.mk>
.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
-# Build fix for ZynAddSubFx
-BUILD_DEPENDS+= clang60:devel/llvm60
-CC= clang60
-CXX= clang++60
-.endif
.if ${ARCH} == "i386" || ${ARCH} == "amd64"
CFLAGS+= -DASM_F2I_YES
Index: base/binutils/Makefile
===================================================================
--- base/binutils/Makefile
+++ base/binutils/Makefile
@@ -41,12 +41,8 @@
.include "${MASTERDIR}/Makefile"
-.if ${OSVERSION} >= 1100100
PLIST_SUB+= OBJCOPY="@comment "
BUREMOVE+= objcopy
-.else
-PLIST_SUB+= OBJCOPY=""
-.endif
.if ${ARCH} == "amd64" || ${ARCH} == "i386"
PLIST_SUB+= I386=""
Index: cad/calculix/Makefile
===================================================================
--- cad/calculix/Makefile
+++ cad/calculix/Makefile
@@ -16,7 +16,6 @@
LICENSE= GPLv2
BROKEN= checksum and size mismatch
-BROKEN_FreeBSD_10= Does not build with clang on FreeBSD 10, causes segfaults when built with gcc
BROKEN_aarch64= fails to link: shapeFunctions.c:(function attach_new): relocation R_AARCH64_CALL26 out of range
RUN_DEPENDS= ccx:cad/calculix-ccx
Index: cad/linuxcnc-devel/Makefile
===================================================================
--- cad/linuxcnc-devel/Makefile
+++ cad/linuxcnc-devel/Makefile
@@ -12,8 +12,6 @@
LICENSE= GPLv2
-BROKEN_FreeBSD_10= use of undeclared identifier '__builtin_ia32_rdtsc'
-
LIB_DEPENDS= libBLT25.so:x11-toolkits/blt \
${PY_BOOST} \
libfontconfig.so:x11-fonts/fontconfig \
Index: cad/openscad/Makefile
===================================================================
--- cad/openscad/Makefile
+++ cad/openscad/Makefile
@@ -43,7 +43,7 @@
#.include <bsd.port.options.mk>
#
-#.if ${ARCH} == i386 && ${OSVERSION} >= 1100000
+#.if ${ARCH} == i386
#USE_GCC= yes
#.endif
Index: cad/sumo/Makefile
===================================================================
--- cad/sumo/Makefile
+++ cad/sumo/Makefile
@@ -44,12 +44,4 @@
@cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
@${FIND} ${STAGEDIR}${DOCSDIR} -d -empty -delete
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
-BUILD_DEPENDS+= clang60:devel/llvm60
-CC= clang60
-CXX= clang++60 # fails to build with the default compiler on 10
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: chinese/opendesktop-fonts/Makefile
===================================================================
--- chinese/opendesktop-fonts/Makefile
+++ chinese/opendesktop-fonts/Makefile
@@ -20,12 +20,6 @@
.include "${.CURDIR}/../ttfm/Makefile.ttf"
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100077
-# chmod -R bug
-post-extract:
- @${CHMOD} 0755 ${WRKSRC}/license
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's,/usr,${LOCALBASE},; s,opendesktop,,g' \
${WRKSRC}/FAPIcidfmap.zh_CN ${WRKSRC}/FAPIcidfmap.zh_TW \
Index: comms/airspy/Makefile
===================================================================
--- comms/airspy/Makefile
+++ comms/airspy/Makefile
@@ -13,7 +13,6 @@
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/airspy-tools/LICENSE.md
-BROKEN_FreeBSD_10= error: use of undeclared identifier '__m128'
BROKEN_aarch64= fails to compile: invalid conversion between vector type '__m64' and integer type 'int'
BROKEN_powerpc64= fails to build: iqconverter_float.c:45:23: error: immintrin.h: No such file or directory
Index: converters/p5-Unicode-IMAPUtf7/Makefile
===================================================================
--- converters/p5-Unicode-IMAPUtf7/Makefile
+++ converters/p5-Unicode-IMAPUtf7/Makefile
@@ -22,14 +22,4 @@
USE_PERL5= configure
NO_ARCH= yes
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100077
-# chmod -R bug
-post-extract:
-.for d in / /lib /lib/Unicode /t
- @${CHMOD} 755 ${WRKSRC}${d}
-.endfor
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: databases/arangodb32/Makefile
===================================================================
--- databases/arangodb32/Makefile
+++ databases/arangodb32/Makefile
@@ -16,7 +16,6 @@
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= "Only builds on amd64"
-BROKEN_FreeBSD_10= libc++ is too old
USES= gmake ssl cmake:outsource,noninja python:2.7 compiler
USE_GITHUB= yes
Index: databases/arangodb33/Makefile
===================================================================
--- databases/arangodb33/Makefile
+++ databases/arangodb33/Makefile
@@ -15,7 +15,6 @@
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= "Only builds on amd64: https://github.com/arangodb/arangodb/issues/2334"
-BROKEN_FreeBSD_10= libc++ is too old
CONFLICTS_INSTALL= arangodb32
CONFLICTS_BUILD= v8
Index: databases/clickhouse/Makefile
===================================================================
--- databases/clickhouse/Makefile
+++ databases/clickhouse/Makefile
@@ -13,7 +13,6 @@
LICENSE= APACHE20
-BROKEN_FreeBSD_10= Builds but does not work
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= "Only supported on amd64"
@@ -80,12 +79,6 @@
.endif
.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1101513
-BUILD_DEPENDS+= clang50:devel/llvm50
-CC= clang50
-CXX= clang++50
-.endif
post-patch:
@${REINPLACE_CMD} -e 's|/var/lib/clickhouse|/var/db/clickhouse|;s|/var/log/clickhouse-server|/var/log/clickhouse|;s|/etc/clickhouse-server|${PREFIX}/etc/clickhouse-server|' ${WRKSRC}/dbms/programs/server/config.xml
Index: databases/db5/Makefile
===================================================================
--- databases/db5/Makefile
+++ databases/db5/Makefile
@@ -74,11 +74,8 @@
# db5 uses a deprecated instruction for mutexes on ARM, fbsd bug#197227
# and also bug#205001
CONFIGURE_ARGS+= --enable-posixmutexes
-. if ${OSVERSION} > 1100100
-# ^ leave that as ">" it really is greater than but NOT equal
# force POSIX mutexes - the OS supports PTHREAD_PROCESS_SHARED
CONFIGURE_ARGS+= --with-mutex=POSIX/pthreads
-. endif
.endif
post-patch:
Index: databases/db6/Makefile
===================================================================
--- databases/db6/Makefile
+++ databases/db6/Makefile
@@ -67,11 +67,7 @@
.include <bsd.port.options.mk>
.if ${ARCH} == aarch64
-. if ${OSVERSION} > 1100100
CONFIGURE_ARGS+= --with-mutex=POSIX/pthreads
-. else
-CONFIGURE_ARGS+= --enable-posixmutexes
-. endif
.endif
post-patch:
Index: databases/memcached/Makefile
===================================================================
--- databases/memcached/Makefile
+++ databases/memcached/Makefile
@@ -40,7 +40,6 @@
OPTIONS_EXCLUDE+= DTRACE
.endif
-OPTIONS_EXCLUDE_FreeBSD_10+= DTRACE
OPTIONS_EXCLUDE_i386= DTRACE
# ld(1) fails to link probes: Relocations in generic ELF (EM: 0)
OPTIONS_EXCLUDE_aarch64= DTRACE
Index: databases/mongodb36/Makefile
===================================================================
--- databases/mongodb36/Makefile
+++ databases/mongodb36/Makefile
@@ -20,7 +20,6 @@
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= "Only supported on amd64 (i386 deprecated in v3)"
-BROKEN_FreeBSD_10= libc++ is too old
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cheetah>=2.4.4:devel/py-cheetah@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typing>=3.6.2:devel/py-typing@${PY_FLAVOR} \
Index: databases/mysql-connector-c++/Makefile
===================================================================
--- databases/mysql-connector-c++/Makefile
+++ databases/mysql-connector-c++/Makefile
@@ -26,7 +26,7 @@
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1100000
+.if ${OPSYS} == FreeBSD
CMAKE_ARGS+=-DCMAKE_ENABLE_C++11=ON
.endif
Index: deskutils/nextcloudclient/Makefile
===================================================================
--- deskutils/nextcloudclient/Makefile
+++ deskutils/nextcloudclient/Makefile
@@ -42,17 +42,11 @@
PLIST_SUB= VERSION=${PORTVERSION}
-.include <bsd.port.pre.mk>
-
post-patch:
@${REINPLACE_CMD} -e \
's|.lst |.lst.sample |' ${WRKSRC}/CMakeLists.txt
-.if ${OSVERSION} < 1100101
- @${REINPLACE_CMD} -e 's/ -fstack-protector-strong//' \
- ${WRKSRC}/src/CMakeLists.txt
-.endif
pre-configure:
@(cd ${WRKSRC} && ${CP} -f sync-exclude.lst sync-exclude.lst.sample)
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: deskutils/owncloudclient/Makefile
===================================================================
--- deskutils/owncloudclient/Makefile
+++ deskutils/owncloudclient/Makefile
@@ -39,17 +39,11 @@
PLIST_SUB= VERSION=${PORTVERSION}
-.include <bsd.port.pre.mk>
-
post-patch:
@${REINPLACE_CMD} -e \
's|.lst |.lst.sample |' ${WRKSRC}/CMakeLists.txt
-.if ${OSVERSION} < 1100101
- @${REINPLACE_CMD} -e 's/ -fstack-protector-strong//' \
- ${WRKSRC}/src/CMakeLists.txt
-.endif
pre-configure:
@cd ${WRKSRC} && ${CP} -f sync-exclude.lst sync-exclude.lst.sample
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: deskutils/simplegroupware/Makefile
===================================================================
--- deskutils/simplegroupware/Makefile
+++ deskutils/simplegroupware/Makefile
@@ -26,13 +26,4 @@
${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100077
-# chmod -R bug.
-# Do not use "-exec ... +", because of the same bug, it will not work.
-post-extract:
- @${FIND} ${WRKSRC} -type d -exec ${CHMOD} 755 {} \;
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: deskutils/treesheets/Makefile
===================================================================
--- deskutils/treesheets/Makefile
+++ deskutils/treesheets/Makefile
@@ -37,7 +37,7 @@
.include <bsd.port.pre.mk>
-.if (${OPSYS} == FreeBSD && ${OSVERSION} < 1100000) || make(makesum)
+.if make(makesum)
MASTER_SITES+= http://releases.llvm.org/6.0.1/:llvm
DISTFILES+= libcxx-6.0.1.src.tar.xz:llvm
CXXFLAGS+= -isystem ${WRKDIR}/libcxx-6.0.1.src/include
Index: devel/R-cran-data.table/Makefile
===================================================================
--- devel/R-cran-data.table/Makefile
+++ devel/R-cran-data.table/Makefile
@@ -12,9 +12,7 @@
LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_FreeBSD_11_i386= unable to load datatable.so
-BROKEN_FreeBSD_12_i386= unable to load datatable.so
-BROKEN_FreeBSD_13_i386= unable to load datatable.so
+BROKEN_i386= unable to load datatable.so
USES= cran:auto-plist,compiles
Index: devel/arpc/Makefile
===================================================================
--- devel/arpc/Makefile
+++ devel/arpc/Makefile
@@ -12,8 +12,6 @@
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-IGNORE_FreeBSD_10= requires various C++17 features
-
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyPEG2>=2.15.2:textproc/py-pyPEG2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}toposort>=1.5:devel/py-toposort@${PY_FLAVOR}
LIB_DEPENDS= libargdata.so:devel/argdata
Index: devel/boost-libs/Makefile
===================================================================
--- devel/boost-libs/Makefile
+++ devel/boost-libs/Makefile
@@ -10,8 +10,7 @@
BUILD_DEPENDS+= bjam:devel/boost-jam
-# libs/config/test/boost_no_cxx11_thread_local.ipp fails (see base r303795)
-PLIST_SUB+= FIBER="${"${OPSYS}"=="FreeBSD" && ${OSREL:R} < 11:?@comment :}"
+PLIST_SUB+= FIBER=""
OPTIONS_DEFINE= DEBUG OPTIMIZED_CFLAGS
OPTIONS_MULTI= LOCALE
Index: devel/cvschangelogbuilder/Makefile
===================================================================
--- devel/cvschangelogbuilder/Makefile
+++ devel/cvschangelogbuilder/Makefile
@@ -24,14 +24,6 @@
OPTIONS_DEFINE= DOCS
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100077
-# chmod -R bug.
-post-extract:
- @${CHMOD} 755 ${WRKSRC}/docs/images
-.endif
-
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@@ -41,4 +33,4 @@
${INSTALL_DATA} ${WRKSRC}/docs/*.* ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/images/* ${STAGEDIR}${DOCSDIR}/images
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: devel/elfutils/Makefile
===================================================================
--- devel/elfutils/Makefile
+++ devel/elfutils/Makefile
@@ -16,8 +16,6 @@
LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING-GPLV2
LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING-LGPLV3
-IGNORE_FreeBSD_10= stable/10 base libelf.h lacks needed ELF types
-
BROKEN_aarch64= fails to build: fatal error: linux/uio.h: No such file or directory
BROKEN_armv6= fails to build: fails to compile i386_disasm.c
BROKEN_armv7= fails to build: fails to compile i386_disasm.c
Index: devel/flang-clang/Makefile
===================================================================
--- devel/flang-clang/Makefile
+++ devel/flang-clang/Makefile
@@ -15,7 +15,6 @@
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
ONLY_FOR_ARCHS= amd64
-IGNORE_FreeBSD_10= base compiler too old
BUILD_DEPENDS= llvm60>=0:devel/llvm60
RUN_DEPENDS= llvm60>=0:devel/llvm60
Index: devel/glib20/Makefile
===================================================================
--- devel/glib20/Makefile
+++ devel/glib20/Makefile
@@ -48,23 +48,10 @@
glib-compile-resources.1 gresource.1 gdbus-codegen.1
gobject_MAN= glib-genmarshal.1 glib-mkenums.1 gobject-query.1
-OPTIONS_DEFINE= COLLATION_FIX DEBUG NLS
+OPTIONS_DEFINE= DEBUG NLS
OPTIONS_SUB= yes
-# libc collation was fixed by https://svnweb.freebsd.org/changeset/base/290494
-COLLATION_FIX_DESC= Use ICU for UTF-8 string collation (if libc is broken)
-OPTIONS_EXCLUDE_FreeBSD_11= COLLATION_FIX
-OPTIONS_EXCLUDE_FreeBSD_12= COLLATION_FIX
-OPTIONS_EXCLUDE_FreeBSD_13= COLLATION_FIX
-
DEBUG_CONFIGURE_ON= --enable-debug=yes
-
-COLLATION_FIX_LIB_DEPENDS+= libicui18n.so:devel/icu
-COLLATION_FIX_EXTRA_PATCHES+= ${FILESDIR}/extra-patch-glib_Makefile.in \
- ${FILESDIR}/extra-patch-glib_gunicollate.c
-# Disable it until someone can figure why it causes net-im/pidgin crashed.
-# http://www.freebsd.org/cgi/query-pr.cgi?pr=175930 see comment by ed@
-#COLLATION_FIX_CONFIGURE_ENV+= CFLAGS="-D__STDC_ISO_10646__"
.include <bsd.port.pre.mk>
Index: devel/glib20/files/extra-patch-glib_Makefile.in
===================================================================
--- devel/glib20/files/extra-patch-glib_Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- glib/Makefile.in.orig 2012-09-27 15:07:28.000000000 +0000
-+++ glib/Makefile.in 2012-09-27 15:08:02.000000000 +0000
-@@ -415,7 +415,7 @@
- INSTOBJEXT = @INSTOBJEXT@
- INTLLIBS = @INTLLIBS@
- LD = @LD@
--LDFLAGS = @LDFLAGS@
-+LDFLAGS = @LDFLAGS@ -licui18n
- LIBELF_CFLAGS = @LIBELF_CFLAGS@
- LIBELF_LIBS = @LIBELF_LIBS@
- LIBFFI_CFLAGS = @LIBFFI_CFLAGS@
Index: devel/glib20/files/extra-patch-glib_gunicollate.c
===================================================================
--- devel/glib20/files/extra-patch-glib_gunicollate.c
+++ /dev/null
@@ -1,124 +0,0 @@
---- glib/gunicollate.c.orig 2012-11-24 20:50:39.000000000 +0000
-+++ glib/gunicollate.c 2013-03-08 12:16:59.000000000 +0000
-@@ -26,6 +26,10 @@
- #include <wchar.h>
- #endif
-
-+#include <unicode/umachine.h>
-+#include <unicode/ustring.h>
-+#include <unicode/ucol.h>
-+
- #ifdef HAVE_CARBON
- #include <CoreServices/CoreServices.h>
- #endif
-@@ -36,11 +40,54 @@
- #include "gstring.h"
- #include "gstrfuncs.h"
- #include "gtestutils.h"
-+#include "gthread.h"
- #include "gcharset.h"
- #ifndef __STDC_ISO_10646__
- #include "gconvert.h"
- #endif
-
-+static gboolean icu_collator_initialized = FALSE;
-+static UCollator *icu_collator = NULL;
-+G_LOCK_DEFINE_STATIC(icu_collator);
-+
-+static void
-+init_icu_collator (void)
-+{
-+ G_LOCK(icu_collator);
-+ if (! icu_collator_initialized)
-+ {
-+ UErrorCode error = U_ZERO_ERROR;
-+
-+ icu_collator = ucol_open(NULL, &error);
-+ if (icu_collator == NULL)
-+ g_warning("unable to initialize the ICU collator (%s), FreeBSD collation routines will be used", u_errorName(error));
-+
-+ icu_collator_initialized = TRUE;
-+ }
-+ G_UNLOCK(icu_collator);
-+}
-+
-+static UChar *
-+utf8_to_uchar (const char *str, int32_t len, int32_t *result_len)
-+{
-+ UErrorCode error = U_ZERO_ERROR;
-+ UChar *result = NULL;
-+
-+ u_strFromUTF8(NULL, 0, result_len, str, len, &error);
-+ if (error <= U_ZERO_ERROR || error == U_BUFFER_OVERFLOW_ERROR)
-+ {
-+ error = U_ZERO_ERROR;
-+ result = g_new(UChar, *result_len);
-+ u_strFromUTF8(result, *result_len, NULL, str, len, &error);
-+ if (error > U_ZERO_ERROR)
-+ {
-+ g_free(result);
-+ result = NULL;
-+ }
-+ }
-+
-+ return result;
-+}
-
- #ifdef _MSC_VER
- /* Workaround for bug in MSVCR80.DLL */
-@@ -128,6 +175,28 @@
- g_return_val_if_fail (str1 != NULL, 0);
- g_return_val_if_fail (str2 != NULL, 0);
-
-+ init_icu_collator();
-+ if (icu_collator != NULL)
-+ {
-+ int32_t wstr1_len;
-+ UChar *wstr1 = utf8_to_uchar(str1, -1, &wstr1_len);
-+ if (wstr1 != NULL)
-+ {
-+ int32_t wstr2_len;
-+ UChar *wstr2 = utf8_to_uchar(str2, -1, &wstr2_len);
-+ if (wstr2 != NULL)
-+ {
-+ result = ucol_strcoll(icu_collator, wstr1, wstr1_len, wstr2, wstr2_len);
-+
-+ g_free(wstr1);
-+ g_free(wstr2);
-+
-+ return result;
-+ }
-+ g_free(wstr1);
-+ }
-+ }
-+
- str1_norm = g_utf8_normalize (str1, -1, G_NORMALIZE_ALL_COMPOSE);
- str2_norm = g_utf8_normalize (str2, -1, G_NORMALIZE_ALL_COMPOSE);
-
-@@ -419,6 +488,26 @@
-
- g_return_val_if_fail (str != NULL, NULL);
-
-+ init_icu_collator();
-+ if (icu_collator != NULL)
-+ {
-+ int32_t wstr_len;
-+ UChar *wstr = utf8_to_uchar(str, len, &wstr_len);
-+ if (wstr != NULL)
-+ {
-+ int32_t result_len;
-+
-+ /* get size of result */
-+ result_len = ucol_getSortKey(icu_collator, wstr, wstr_len, NULL, 0);
-+
-+ result = g_new(char, result_len);
-+ ucol_getSortKey(icu_collator, wstr, wstr_len, result, result_len);
-+ g_free(wstr);
-+
-+ return result;
-+ }
-+ }
-+
- str_norm = g_utf8_normalize (str, len, G_NORMALIZE_ALL_COMPOSE);
-
- result = NULL;
Index: devel/heimdall/Makefile
===================================================================
--- devel/heimdall/Makefile
+++ devel/heimdall/Makefile
@@ -32,7 +32,7 @@
.include <bsd.port.pre.mk>
# does not compile with clang 6.0.0
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1101513
+.if ${OPSYS} == FreeBSD
USE_GCC= yes
.endif
Index: devel/kcov/Makefile
===================================================================
--- devel/kcov/Makefile
+++ devel/kcov/Makefile
@@ -12,7 +12,6 @@
LICENSE_COMB= multi
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
-BROKEN_FreeBSD_10= PR228478 devel/elfutils: undefined symbols on 10.4-RELEASE
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= ptrace code is only implemented for amd64
Index: devel/libzim/Makefile
===================================================================
--- devel/libzim/Makefile
+++ devel/libzim/Makefile
@@ -16,7 +16,6 @@
USE_GITHUB= yes
GH_ACCOUNT= openzim
# Using gcc6 and libstdc++ leads to error because xapian-core is linked with libc++
-BROKEN_FreeBSD_10= /usr/include/c++/v1/memory:4004:35: error: no viable overloaded '='
BINARY_ALIAS= python3=python${PYTHON_VER} python3-config=python${PYTHON_VER}-config
Index: devel/llvm-devel/Makefile
===================================================================
--- devel/llvm-devel/Makefile
+++ devel/llvm-devel/Makefile
@@ -33,8 +33,6 @@
tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py \
tools/clang/tools/extra/include-fixer/find-all-symbols/tool/run-find-all-symbols.py
-BROKEN_FreeBSD_10= error: anonymous union can only contain non-static data members
-
SUB_FILES= llvm-wrapper.sh
SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}"
@@ -62,7 +60,6 @@
OPTIONS_DEFAULT= CLANG EXTRAS LIT LLD LLDB
OPTIONS_DEFAULT_amd64= COMPILER_RT GOLD OPENMP
OPTIONS_DEFAULT_i386= COMPILER_RT OPENMP
-OPTIONS_EXCLUDE_FreeBSD_10= LLDB OPENMP
OPTIONS_SUB= yes
PLIST_FILES=
Index: devel/llvm50/Makefile
===================================================================
--- devel/llvm50/Makefile
+++ devel/llvm50/Makefile
@@ -55,7 +55,6 @@
OPTIONS_DEFAULT= CLANG EXTRAS LIT LLD LLDB
OPTIONS_DEFAULT_amd64= COMPILER_RT GOLD OPENMP
OPTIONS_DEFAULT_i386= COMPILER_RT OPENMP
-OPTIONS_EXCLUDE_FreeBSD_10= LLDB
OPTIONS_SUB= yes
CLANG_DESC= Build clang
Index: devel/llvm60/Makefile
===================================================================
--- devel/llvm60/Makefile
+++ devel/llvm60/Makefile
@@ -52,7 +52,6 @@
OPTIONS_DEFAULT= CLANG EXTRAS LIT LLD LLDB
OPTIONS_DEFAULT_amd64= COMPILER_RT GOLD OPENMP
OPTIONS_DEFAULT_i386= COMPILER_RT OPENMP
-OPTIONS_EXCLUDE_FreeBSD_10= LLDB OPENMP
OPTIONS_SUB= yes
CLANG_DESC= Build clang
Index: devel/lua-sysctl/Makefile
===================================================================
--- devel/lua-sysctl/Makefile
+++ devel/lua-sysctl/Makefile
@@ -11,8 +11,6 @@
LICENSE= BSD2CLAUSE
-BROKEN_FreeBSD_10= does not build (error: use of undeclared identifier 'CTLTYPE_S8')
-
USES= pkgconfig lua
USE_GITHUB= yes
Index: devel/mdb/Makefile
===================================================================
--- devel/mdb/Makefile
+++ devel/mdb/Makefile
@@ -25,14 +25,6 @@
WRKSRC_SUBDIR= freebsd/cddl/usr.bin/mdb
CFLAGS+= -DMDB_PREFIX=\\\"${PREFIX}\\\" -g
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 1100021
-# This port uses CWARNFLAGS.clang to silence warnings which only works
-# in 11.0 and later.
-MAKE_ARGS+= NO_WERROR=yes
-.endif
-
.if !exists(${SRC_BASE}/cddl/compat) || !exists(${SRC_BASE}/sys/cddl/compat)
IGNORE= requires full source tree with CDDL sources
.endif
@@ -40,4 +32,4 @@
pre-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/mdb/kvm/${MACHINE_ARCH}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: devel/oclgrind/Makefile
===================================================================
--- devel/oclgrind/Makefile
+++ devel/oclgrind/Makefile
@@ -13,8 +13,6 @@
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_FreeBSD_10= oclgrind is only supported on FreeBSD 11.0 and newer, crashes LLVM 3.4
-
BUILD_DEPENDS= opencl>=0:devel/opencl \
llvm-config50:devel/llvm50
LIB_DEPENDS= libOpenCL.so:devel/ocl-icd
Index: devel/py-cffi/Makefile
===================================================================
--- devel/py-cffi/Makefile
+++ devel/py-cffi/Makefile
@@ -23,7 +23,7 @@
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000
+.if ${OPSYS} == FreeBSD
.if ${COMPILER_TYPE:Mclang}
CFLAGS+= -Wno-shift-negative-value
.endif
Index: devel/py-freebsd/Makefile
===================================================================
--- devel/py-freebsd/Makefile
+++ devel/py-freebsd/Makefile
@@ -21,7 +21,7 @@
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100002
+.if ${OPSYS} == FreeBSD
EXTRA_PATCHES+= ${FILESDIR}/freebsd11_patch-src__.const.def \
${FILESDIR}/freebsd11_patch-src__netstat.c
.endif
Index: devel/qtcreator/Makefile
===================================================================
--- devel/qtcreator/Makefile
+++ devel/qtcreator/Makefile
@@ -59,10 +59,6 @@
PLIST_SUB= SHLIB_VER="${PORTVERSION}"
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
-# The detection of is_trivially_destructible fails with clang-3.4 from 10.3.
-QMAKE_ARGS+= DEFINES+=TR2_OPTIONAL_DISABLE_EMULATION_OF_TYPE_TRAITS
-.endif
# Fix paths for gnuplot and ant.
post-patch:
@@ -82,4 +78,4 @@
# See QTBUG-40825 and ports bugs 194088, 195105 and 198720.
${ECHO_CMD} 'QMAKE_LIBDIR_FLAGS = -L${WRKSRC}/lib' >> ${WRKSRC}/.qmake.cache
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: devel/sfio/Makefile
===================================================================
--- devel/sfio/Makefile
+++ devel/sfio/Makefile
@@ -23,7 +23,7 @@
@${MV} ${WRKSRC}/src/lib/sfio/Sfio_t/tmmap2read.c \
${WRKSRC}/src/lib/sfio/Sfio_t/.tmmap2read.c
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100093
+.if ${OPSYS} == FreeBSD
post-patch:
@${REINPLACE_CMD} -e 's|SF_FLAGS|SFIO_FLAGS|g' \
${WRKSRC}/src/lib/sfio/*.[ch]
Index: devel/zapcc/Makefile
===================================================================
--- devel/zapcc/Makefile
+++ devel/zapcc/Makefile
@@ -10,8 +10,6 @@
LICENSE= NCSA
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
-BROKEN_FreeBSD_10= error: expected a class or namespace const NoneType None = NoneType::None
-
BUILD_DEPENDS= googletest>0:devel/googletest
USES= cmake:outsource libedit python:3.4+ shebangfix
Index: dns/knot2/Makefile
===================================================================
--- dns/knot2/Makefile
+++ dns/knot2/Makefile
@@ -62,7 +62,7 @@
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1120000
+.if ${OPSYS} == FreeBSD
NOT_FOR_ARCHS= i386
NOT_FOR_ARCHS_REASON_i386=Uses 64 bit atomics that clang cannot generate on i386 on FreeBSD >= 11.2
.endif
Index: editors/hte/Makefile
===================================================================
--- editors/hte/Makefile
+++ editors/hte/Makefile
@@ -11,8 +11,6 @@
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_FreeBSD_10= misgenerated yacc code
-
USES= autoreconf compiler:c++14-lang makeinfo ncurses tar:bzip2
USE_GITHUB= yes
GH_ACCOUNT= sebastianbiallas
Index: emulators/citra/Makefile
===================================================================
--- emulators/citra/Makefile
+++ emulators/citra/Makefile
@@ -17,8 +17,6 @@
LICENSE_FILE_MIT= ${WRKSRC}/externals/enet/LICENSE
LICENSE_FILE_LGPL21+ = ${_LICENSE_STORE}/LGPL21 # soundtouch
-BROKEN_FreeBSD_10= libc++ does not support C++17 features
-
BUILD_DEPENDS= boost-libs>=1.66:devel/boost-libs
USE_GITHUB= yes
Index: emulators/dolphin-emu/Makefile
===================================================================
--- emulators/dolphin-emu/Makefile
+++ emulators/dolphin-emu/Makefile
@@ -11,8 +11,6 @@
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/license.txt
-BROKEN_FreeBSD_10= conflicting types for '__hash_table<_Tp, _Hash, _Equal, _Alloc>'
-
# Notes on dependencies:
# - alsa support disabled (not optimal)
# - enet and soundtouch come from Externals/ as Dolphin's versions diverge
Index: emulators/i386-wine-devel/Makefile.inc
===================================================================
--- emulators/i386-wine-devel/Makefile.inc
+++ emulators/i386-wine-devel/Makefile.inc
@@ -48,7 +48,7 @@
# Included for OPSYS and OSVERSION
.include <bsd.port.pre.mk>
-.for osrel in 10 11 12
+.for osrel in 11 12
.if ${OSREL:C/\..*//} == ${osrel}
PLIST_SUB+= OSREL${osrel}=""
.if ${PKGNAMESUFFIX} == -devel
@@ -65,7 +65,7 @@
.endfor
.if ${OPSYS} != FreeBSD || (!(${OSVERSION} < 1100000) && !(${OSVERSION} >= 1101000 && ${OSVERSION} < 1200000) && !(${OSVERSION} >= 1200060 && ${OSVERSION} < 1300000))
-IGNORE= binaries compiled for FreeBSD 10.3+, 11.1+ and -current only
+IGNORE= binaries compiled for FreeBSD 11.2+ only
DISTFILES=
.endif
@@ -83,7 +83,7 @@
port-update:
${RM} ${SLAVEDIR}/distinfo ${SLAVEDIR}/distinfo~ ${SLAVEDIR}/pkg-plist.*
-.for osrel in 10 11 12
+.for osrel in 11 12
${MAKE} fetch OSREL=${osrel} OSVERSION=${osrel}99999 _OSRELEASE=${osrel}
${MAKE} makesum OSREL=${osrel} OSVERSION=${osrel}99999 _OSRELEASE=${osrel}
${CAT} ${SLAVEDIR}/distinfo >> ${SLAVEDIR}/distinfo~
Index: emulators/i386-wine/Makefile.inc
===================================================================
--- emulators/i386-wine/Makefile.inc
+++ emulators/i386-wine/Makefile.inc
@@ -49,7 +49,7 @@
# Included for OPSYS and OSVERSION
.include <bsd.port.pre.mk>
-.for osrel in 10 11 12
+.for osrel in 11 12
.if ${OSREL:C/\..*//} == ${osrel}
PLIST_SUB+= OSREL${osrel}=""
.else
@@ -58,7 +58,7 @@
.endfor
.if ${OPSYS} != FreeBSD || (!(${OSVERSION} < 1000000) && !(${OSVERSION} >= 1003000 && ${OSVERSION} < 1100000) && !(${OSVERSION} >= 1101000 && ${OSVERSION} < 1200000) && !(${OSVERSION} >= 1200056 && ${OSVERSION} < 1300000))
-IGNORE= binaries compiled for FreeBSD 10.3+, 11.0+ and -current only
+IGNORE= binaries compiled for FreeBSD 11.2+ only
DISTFILES=
.endif
@@ -75,7 +75,7 @@
port-update:
${RM} ${SLAVEDIR}/distinfo ${SLAVEDIR}/distinfo~ ${SLAVEDIR}/pkg-plist.*
-.for osrel in 10 11 12
+.for osrel in 11 12
${MAKE} fetch OSREL=${osrel} OSVERSION=${osrel}99999 _OSRELEASE=${osrel}
${MAKE} makesum OSREL=${osrel} OSVERSION=${osrel}99999 _OSRELEASE=${osrel}
${CAT} ${SLAVEDIR}/distinfo >> ${SLAVEDIR}/distinfo~
Index: emulators/linux_base-c6/Makefile
===================================================================
--- emulators/linux_base-c6/Makefile
+++ emulators/linux_base-c6/Makefile
@@ -120,7 +120,7 @@
.include <bsd.port.pre.mk>
-.if ${LINUX_ARCH} == x86_64 && ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100105
+.if ${LINUX_ARCH} == x86_64 && ${OPSYS} == FreeBSD
SYSCTLMIB= kern.features.linux64
.else
SYSCTLMIB= compat.linux.osrelease
Index: emulators/linux_base-c7/Makefile
===================================================================
--- emulators/linux_base-c7/Makefile
+++ emulators/linux_base-c7/Makefile
@@ -125,7 +125,7 @@
.include <bsd.port.pre.mk>
-.if ${LINUX_ARCH} == x86_64 && ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100105
+.if ${LINUX_ARCH} == x86_64 && ${OPSYS} == FreeBSD
SYSCTLMIB= kern.features.linux64
.else
SYSCTLMIB= compat.linux.osrelease
Index: emulators/open-vm-tools/Makefile
===================================================================
--- emulators/open-vm-tools/Makefile
+++ emulators/open-vm-tools/Makefile
@@ -64,10 +64,6 @@
.include <bsd.port.options.mk>
-.if ${OSVERSION} < 1100000
-CFLAGS+= -Wno-unknown-warning-option
-.endif
-
.if ${PORT_OPTIONS:MX11}
CONFLICTS= open-vm-tools-nox11-[0-9]*
.else
Index: emulators/py-nova/Makefile
===================================================================
--- emulators/py-nova/Makefile
+++ emulators/py-nova/Makefile
@@ -114,10 +114,6 @@
IGNORE= only supported on FreeBSD
.endif
-.if ${OSVERSION} < 1100055
-IGNORE= only supported on recent FreeBSD 11
-.endif
-
post-extract:
@(cd ${WRKSRC}/etc/nova; ${MV} logging_sample.conf logging.conf.sample)
@(cd ${WRKSRC}/etc/nova; for f in *.conf; do ${MV} $${f} $${f}.sample; done)
Index: emulators/qemu-cheri/Makefile
===================================================================
--- emulators/qemu-cheri/Makefile
+++ emulators/qemu-cheri/Makefile
@@ -26,7 +26,6 @@
USE_XORG= pixman
USE_GNOME+= glib20
ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64
-BROKEN_FreeBSD_10= Default toolchain lacks support for .cfi_sections
OPTIONS_DEFINE= DOCS
Index: emulators/qemu-ppcnv/Makefile
===================================================================
--- emulators/qemu-ppcnv/Makefile
+++ emulators/qemu-ppcnv/Makefile
@@ -15,8 +15,6 @@
LICENSE= GPLv2
-IGNORE_FreeBSD_10= does not build
-
BUILD_DEPENDS+= ${LOCALBASE}/lib/libfdt.so:sysutils/dtc
USE_GITHUB= yes
Index: emulators/qemu-riscv/Makefile
===================================================================
--- emulators/qemu-riscv/Makefile
+++ emulators/qemu-riscv/Makefile
@@ -50,14 +50,8 @@
PLIST_FILES= bin/qemu-system-riscv32 \
bin/qemu-system-riscv64
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 1100000
-IGNORE= does not build
-.endif
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/riscv32-softmmu/qemu-system-riscv32 ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/riscv64-softmmu/qemu-system-riscv64 ${STAGEDIR}${PREFIX}/bin
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: emulators/qemu-sbruno/Makefile
===================================================================
--- emulators/qemu-sbruno/Makefile
+++ emulators/qemu-sbruno/Makefile
@@ -244,24 +244,10 @@
CONFIGURE_ARGS+= --python=${PYTHON_CMD}
-# clang in freebsd 10 is unable to assemble linuxboot_dma.bin
-.if (${OPSYS} == FreeBSD && ${OSVERSION} < 1100000)
-PLIST_SUB+= LINUXBOOT_DMA="@comment "
-.else
PLIST_SUB+= LINUXBOOT_DMA=""
-.endif
post-patch:
@${REINPLACE_CMD} -e '/libs_qga=/s|glib_libs|glib_libs -lintl|' ${WRKSRC}/configure
-# clang in freebsd 10 is unable to assemble linuxboot_dma.bin
-.if (${OPSYS} == FreeBSD && ${OSVERSION} < 1100000)
- @${REINPLACE_CMD} -E \
- -e 's|linuxboot_dma.bin||' \
- ${WRKSRC}/pc-bios/optionrom/Makefile
- @${REINPLACE_CMD} -E \
- -e 's|linuxboot_dma.bin||' \
- ${WRKSRC}/Makefile
-.endif
.if empty(PORT_OPTIONS:MCDROM_DMA)
@cd ${WRKSRC} && ${PATCH} --quiet < ${FILESDIR}/cdrom-dma-patch
Index: emulators/qemu/Makefile
===================================================================
--- emulators/qemu/Makefile
+++ emulators/qemu/Makefile
@@ -116,12 +116,7 @@
CONFIGURE_ARGS+= --sparc_cpu=v9
.endif
-# clang in freebsd 10 is unable to assemble linuxboot_dma.bin
-.if (${OSVERSION} < 1100000)
-PLIST_SUB+= LINUXBOOT_DMA="@comment "
-.else
PLIST_SUB+= LINUXBOOT_DMA=""
-.endif
# -lprocstat actually only _needs_ -lelf after r249666 or r250870 (MFC)
# but it shouldn't matter much
@@ -144,15 +139,6 @@
@${REINPLACE_CMD} -E \
-e "1s|^(#! )/usr/bin/perl|\1${PERL}|" \
${WRKSRC}/scripts/texi2pod.pl
-# clang in freebsd 10 is unable to assemble linuxboot_dma.bin
-.if (${OSVERSION} < 1100000)
- @${REINPLACE_CMD} -E \
- -e 's|linuxboot_dma.bin||' \
- ${WRKSRC}/pc-bios/optionrom/Makefile
- @${REINPLACE_CMD} -E \
- -e 's|linuxboot_dma.bin||' \
- ${WRKSRC}/Makefile
-.endif
post-patch-CDROM_DMA-off:
@${REINPLACE_CMD} -e '/USE_DMA_CDROM/d' ${WRKSRC}/include/hw/ide/internal.h
Index: emulators/rpcs3/Makefile
===================================================================
--- emulators/rpcs3/Makefile
+++ emulators/rpcs3/Makefile
@@ -18,8 +18,6 @@
LICENSE_FILE_MIT= ${WRKSRC_GSL}/LICENSE
LICENSE_FILE_ZLIB= ${WRKSRC_asmjit}/LICENSE.md
-BROKEN_FreeBSD_10= libc++ does not support C++17 features
-
LIB_DEPENDS= libpng.so:graphics/png \
libavcodec.so:multimedia/ffmpeg
Index: emulators/virtualbox-ose-kmod/Makefile
===================================================================
--- emulators/virtualbox-ose-kmod/Makefile
+++ emulators/virtualbox-ose-kmod/Makefile
@@ -76,11 +76,7 @@
.include <bsd.port.pre.mk>
-.if ${OSREL:R} >= 11
SYMBOLSUFFIX= debug
-.else
-SYMBOLSUFFIX= symbols
-.endif
PLIST_SUB+= SYMBOLSUFFIX=${SYMBOLSUFFIX}
post-patch:
Index: emulators/xen-kernel47/Makefile
===================================================================
--- emulators/xen-kernel47/Makefile
+++ emulators/xen-kernel47/Makefile
@@ -101,10 +101,6 @@
IGNORE= only supported on FreeBSD
.endif
-.if ${OSVERSION} < 1100055
-IGNORE= only supported on recent FreeBSD 11
-.endif
-
pre-build:
${MAKE_CMD} -C ${WRKSRC}/xen defconfig ${MAKE_ARGS}
# Enable hypervisor hot-patching.
Index: finance/quantlib/Makefile
===================================================================
--- finance/quantlib/Makefile
+++ finance/quantlib/Makefile
@@ -32,11 +32,6 @@
OPTIONS_DEFINE+=THREAD_SAFE_SINGLETON_INIT
OPTIONS_DEFINE+=${OPTIONS_DEFAULT}
-.if ${CC} == "cc"
-# The base cc/c++ on FreeBSD-10 is too old for OpenMP.
-OPTIONS_EXCLUDE_FreeBSD_10=OPENMP
-.endif
-
BENCHMARK_DESC= Install benchmark (it is always built)
EXTRA_SAFETY_CHECKS_DESC=Trade performance for run-time checks
INDEXED_COUPONS_DESC= Use indexed rather than par coupons
Index: ftp/netdumpd/Makefile
===================================================================
--- ftp/netdumpd/Makefile
+++ ftp/netdumpd/Makefile
@@ -12,7 +12,6 @@
LICENSE= BSD2CLAUSE
-IGNORE_FreeBSD_10= Depends on libcasper
BROKEN_powerpc64= fails to build: netdumpd.c:270: warning: declaration of 'index' shadows a global declaration
MAKE_ARGS+= BINDIR=${PREFIX}/sbin
Index: games/gzdoom/Makefile
===================================================================
--- games/gzdoom/Makefile
+++ games/gzdoom/Makefile
@@ -43,16 +43,10 @@
.include "${.CURDIR}/../doom-data/Makefile.include"
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == "FreeBSD" && ${OSVERSION} < 1100000 && ${MACHINE_ARCH} == "i386"
-STRIP= # 10.4/i386 strip(1) is incapable of stripping the gzdoom binary
-.endif
-
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_PROGRAM} ${CONFIGURE_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${CONFIGURE_WRKSRC}/${PORTNAME}.pk3 ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.xpm ${STAGEDIR}${PREFIX}/share/pixmaps
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: games/maxr/Makefile
===================================================================
--- games/maxr/Makefile
+++ games/maxr/Makefile
@@ -28,10 +28,4 @@
"Game;StrategyGame;" \
false
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
-BROKEN= does not build on 10.x
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: games/spacezero/Makefile
===================================================================
--- games/spacezero/Makefile
+++ games/spacezero/Makefile
@@ -40,13 +40,6 @@
OPTIONS_DEFINE= DOCS
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1101000
-post-patch:
- @${REINPLACE_CMD} -e 's|fdatasync|fsync|g' ${WRKSRC}/src/spacecomm.c
-.endif
-
do-install:
${INSTALL_DATA} ${WRKSRC}/html/manual_files/space.ico ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.ico
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
@@ -55,4 +48,4 @@
do-install-DOCS-on:
cd ${WRKSRC}/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: games/supertux2/Makefile
===================================================================
--- games/supertux2/Makefile
+++ games/supertux2/Makefile
@@ -15,8 +15,6 @@
libcurl.so:ftp/curl \
libvorbis.so:audio/libvorbis
-BROKEN_FreeBSD_10= does not build on 10.x
-
LLD_UNSAFE= yes
USE_SDL= sdl2 image2
USE_GL= glew
Index: games/wesnoth/Makefile
===================================================================
--- games/wesnoth/Makefile
+++ games/wesnoth/Makefile
@@ -15,7 +15,6 @@
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_FreeBSD_10= fails to build with boost 1.66, see bug 224130
BROKEN_powerpc64= fails to link: schema_validator.cpp: undefined reference to boost::match_results
LIB_DEPENDS= libfreetype.so:print/freetype2 \
Index: graphics/blender-doc/Makefile
===================================================================
--- graphics/blender-doc/Makefile
+++ graphics/blender-doc/Makefile
@@ -17,15 +17,6 @@
SUB_FILES= pkg-message
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100077
-post-extract:
-# chmod -R bug.
-# Do not use "-exec ... +", because of the same bug, it will not work.
- @${FIND} ${WRKSRC} -type d -exec ${CHMOD} 755 {} \;
-.endif
-
pre-patch:
@cd ${WRKSRC}/htmlI/PartAT/volumetrics/gfx/ && \
${RM} -r "Nuova cartella" "Nuova cartella (2)"
@@ -34,4 +25,4 @@
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@cd ${WRKSRC} && ${COPYTREE_SHARE} "htmlI htmlII" ${STAGEDIR}${DOCSDIR}/
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: graphics/cloudcompare/Makefile
===================================================================
--- graphics/cloudcompare/Makefile
+++ graphics/cloudcompare/Makefile
@@ -13,7 +13,6 @@
LICENSE= GPLv2+ LGPL20+
LICENSE_COMB= multi
-BROKEN_FreeBSD_10= error: "SSE instruction set not enabled"
BROKEN_aarch64= fails to compile: mmintrin.h:47:5: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
USES= cmake:outsource localbase:ldflags qt:5
Index: graphics/drm-kmod/Makefile
===================================================================
--- graphics/drm-kmod/Makefile
+++ graphics/drm-kmod/Makefile
@@ -22,9 +22,7 @@
IGNORE= legacy kmod not required on less than 12.0
.endif
.else
-.if ${OSVERSION} < 1101510
-IGNORE= not supported on 11.1 or older, no kernel support
-.elif ${OSVERSION} >= 1101510 && ${OSVERSION} < 1200000
+.if ${OSVERSION} >= 1101510 && ${OSVERSION} < 1200000
RUN_DEPENDS= ${KMODDIR}/drm.ko:graphics/drm-stable-kmod
.elif ${OSVERSION} >= 1200000 && ${OSVERSION} < 1200045
IGNORE= not supported on older 12, no kernel support
Index: graphics/drm-next-kmod/Makefile
===================================================================
--- graphics/drm-next-kmod/Makefile
+++ graphics/drm-next-kmod/Makefile
@@ -29,9 +29,6 @@
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1101511
-IGNORE= not supported on 11.1 or older, no kernel support
-.endif
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200000 && ${OSVERSION} < 1200058
IGNORE= not supported on older CURRENT, no kernel support
.endif
Index: graphics/drm-stable-kmod/Makefile
===================================================================
--- graphics/drm-stable-kmod/Makefile
+++ graphics/drm-stable-kmod/Makefile
@@ -29,9 +29,6 @@
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1101510
-IGNORE= not supported on 11.1 or older, no kernel support
-.endif
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200000 && ${OSVERSION} < 1200045
IGNORE= not supported on older CURRENT, no kernel support
.endif
Index: graphics/dspdfviewer/Makefile
===================================================================
--- graphics/dspdfviewer/Makefile
+++ graphics/dspdfviewer/Makefile
@@ -35,16 +35,12 @@
# Build fails with LLVM 4.0. Reported upstream as #191:
# https://github.com/dannyedel/dspdfviewer/issues/191
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100511
CFLAGS+= -Wno-error=undefined-func-template
-.endif
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200039
CFLAGS+= -Wno-error=zero-as-null-pointer-constant
.endif
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1102000
CFLAGS+= -Wno-error=redundant-parens
-.endif
.include <bsd.port.post.mk>
Index: graphics/giflib/Makefile
===================================================================
--- graphics/giflib/Makefile
+++ graphics/giflib/Makefile
@@ -35,11 +35,7 @@
.endif
.if ${OPSYS} == FreeBSD
-. if ${OSVERSION} >= 1100072
EXTRA_PATCHES= ${FILESDIR}/extra-patch-unbundle-reallocarray
-. else
-EXTRA_PATCHES= ${FILESDIR}/extra-patch-hide-reallocarray
-. endif
.elif ${OPSYS} == DragonFly
EXTRA_PATCHES= ${FILESDIR}/extra-patch-hide-reallocarray-dfly
.endif
Index: graphics/giflib/files/extra-patch-hide-reallocarray
===================================================================
--- graphics/giflib/files/extra-patch-hide-reallocarray
+++ /dev/null
@@ -1,24 +0,0 @@
---- lib/dgif_lib.c.orig 2016-04-02 15:34:00 UTC
-+++ lib/dgif_lib.c
-@@ -41,6 +41,9 @@ static int DGifDecompressInput(GifFileTy
- static int DGifBufferedInput(GifFileType *GifFile, GifByteType *Buf,
- GifByteType *NextByte);
-
-+extern void *
-+reallocarray(void *optr, size_t nmemb, size_t size) __hidden;
-+
- /******************************************************************************
- Open a new GIF file for read, given by its name.
- Returns dynamically allocated GifFileType pointer which serves as the GIF
---- lib/gifalloc.c.orig 2015-07-13 04:05:46 UTC
-+++ lib/gifalloc.c
-@@ -12,6 +12,9 @@
-
- #define MAX(x, y) (((x) > (y)) ? (x) : (y))
-
-+extern void *
-+reallocarray(void *optr, size_t nmemb, size_t size) __hidden;
-+
- /******************************************************************************
- Miscellaneous utility functions
- ******************************************************************************/
Index: graphics/glfw/Makefile
===================================================================
--- graphics/glfw/Makefile
+++ graphics/glfw/Makefile
@@ -26,7 +26,6 @@
PLATFORM_DESC= Window creation platform
OPTIONS_SINGLE= PLATFORM
OPTIONS_SINGLE_PLATFORM= WAYLAND X11
-OPTIONS_EXCLUDE_FreeBSD_10= WAYLAND # needs dev/evdev/input.h
WAYLAND_BUILD_DEPENDS= wayland-protocols>=0:graphics/wayland-protocols
WAYLAND_CMAKE_BOOL= GLFW_USE_WAYLAND
Index: graphics/gpu-firmware-kmod/Makefile
===================================================================
--- graphics/gpu-firmware-kmod/Makefile
+++ graphics/gpu-firmware-kmod/Makefile
@@ -26,9 +26,6 @@
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1101510
-IGNORE= not supported on 11.1 or older, no kernel support
-.endif
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200000 && ${OSVERSION} < 1200019
IGNORE= not supported on older CURRENT, no kernel support
.endif
Index: graphics/graphviz/Makefile
===================================================================
--- graphics/graphviz/Makefile
+++ graphics/graphviz/Makefile
@@ -255,7 +255,7 @@
${REINPLACE_CMD} -e 's|GTS_LIBS)|GTS_LIBS) $$(MATH_LIBS)|' \
${WRKSRC}/cmd/smyrna/Makefile.in
${CP} ${WRKSRC}/lib/cgraph/cgraph.h ${WRKSRC}/plugin/ming/
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100093
+.if ${OPSYS} == FreeBSD
${REINPLACE_CMD} -e 's|SF_FLAGS|SFIO_FLAGS|g' \
${WRKSRC}/lib/sfio/*.[ch]
.endif
Index: irc/irssi/Makefile
===================================================================
--- irc/irssi/Makefile
+++ irc/irssi/Makefile
@@ -20,9 +20,6 @@
OPTIONS_DEFINE= PERL PROXY SOCKS BOT DOCS TRUECOLOR CAPSICUM
OPTIONS_DEFAULT= PERL CAPSICUM
-# If we're on FreeBSD 10 don't offer the Capsicum option.
-OPTIONS_EXCLUDE_FreeBSD_10= CAPSICUM
-
OPTIONS_SUB= yes
SOCKS_DESC= Socks proxy support
SOCKS_CONFIGURE_WITH= socks
Index: lang/crystal/Makefile
===================================================================
--- lang/crystal/Makefile
+++ lang/crystal/Makefile
@@ -58,9 +58,6 @@
IGNORE= prebuilt bootstrap for aarch64 only exists for 12-CURRENT
. endif
.endif
-.if ${OSVERSION} < 1100000
-IGNORE= not supported on 10.x or older
-.endif
.if ${OPSYS} != FreeBSD
IGNORE= not supported on anything but FreeBSD
.endif
Index: lang/erlang-runtime15/Makefile
===================================================================
--- lang/erlang-runtime15/Makefile
+++ lang/erlang-runtime15/Makefile
@@ -44,7 +44,6 @@
.endif
OPTIONS_EXCLUDE_DragonFly= HIPE SCTP
-OPTIONS_EXCLUDE_FreeBSD_10= DTRACE
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
@@ -76,7 +75,7 @@
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1100000
+.if ${OPSYS} == FreeBSD
CFLAGS+= -DMAP_NORESERVE=0
.endif
Index: lang/erlang-runtime16/Makefile
===================================================================
--- lang/erlang-runtime16/Makefile
+++ lang/erlang-runtime16/Makefile
@@ -44,7 +44,6 @@
.endif
OPTIONS_EXCLUDE_DragonFly= HIPE SCTP
-OPTIONS_EXCLUDE_FreeBSD_10= DTRACE
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
@@ -76,7 +75,7 @@
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1100000
+.if ${OPSYS} == FreeBSD
CFLAGS+= -DMAP_NORESERVE=0
.endif
Index: lang/erlang-runtime17/Makefile
===================================================================
--- lang/erlang-runtime17/Makefile
+++ lang/erlang-runtime17/Makefile
@@ -58,7 +58,6 @@
.endif
OPTIONS_EXCLUDE_DragonFly= HIPE NATIVE SCTP
-OPTIONS_EXCLUDE_FreeBSD_10= DTRACE
# ld(1) fails to link probes: missing __dtrace_erlang___* symbols
OPTIONS_EXCLUDE_aarch64= DTRACE
OPTIONS_EXCLUDE_armv6= DTRACE
@@ -99,7 +98,7 @@
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1100000
+.if ${OPSYS} == FreeBSD
CFLAGS+= -DMAP_NORESERVE=0
.endif
Index: lang/erlang-runtime18/Makefile
===================================================================
--- lang/erlang-runtime18/Makefile
+++ lang/erlang-runtime18/Makefile
@@ -59,7 +59,6 @@
.endif
OPTIONS_EXCLUDE_DragonFly= HIPE NATIVE SCTP
-OPTIONS_EXCLUDE_FreeBSD_10= DTRACE
# ld(1) fails to link probes: missing __dtrace_erlang___* symbols
OPTIONS_EXCLUDE_aarch64= DTRACE
OPTIONS_EXCLUDE_armv6= DTRACE
@@ -100,7 +99,7 @@
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1100000
+.if ${OPSYS} == FreeBSD
CFLAGS+= -DMAP_NORESERVE=0
.endif
Index: lang/erlang-runtime19/Makefile
===================================================================
--- lang/erlang-runtime19/Makefile
+++ lang/erlang-runtime19/Makefile
@@ -62,7 +62,6 @@
.endif
OPTIONS_EXCLUDE_DragonFly= HIPE NATIVE SCTP
-OPTIONS_EXCLUDE_FreeBSD_10= DTRACE
# ld(1) fails to link probes: missing __dtrace_erlang___* symbols
OPTIONS_EXCLUDE_aarch64= DTRACE
OPTIONS_EXCLUDE_armv6= DTRACE
@@ -103,7 +102,7 @@
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1100000
+.if ${OPSYS} == FreeBSD
CFLAGS+= -DMAP_NORESERVE=0
.endif
Index: lang/erlang-runtime20/Makefile
===================================================================
--- lang/erlang-runtime20/Makefile
+++ lang/erlang-runtime20/Makefile
@@ -65,7 +65,6 @@
# respectively)" you probably misconfigured DTrace in some way.
OPTIONS_EXCLUDE_DragonFly= HIPE NATIVE SCTP
-OPTIONS_EXCLUDE_FreeBSD_10= DTRACE
# ld(1) fails to link probes: missing __dtrace_erlang___* symbols
OPTIONS_EXCLUDE_aarch64= DTRACE
OPTIONS_EXCLUDE_armv6= DTRACE
@@ -102,7 +101,7 @@
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1100000
+.if ${OPSYS} == FreeBSD
CFLAGS+= -DMAP_NORESERVE=0
.endif
Index: lang/erlang-runtime21/Makefile
===================================================================
--- lang/erlang-runtime21/Makefile
+++ lang/erlang-runtime21/Makefile
@@ -60,7 +60,6 @@
# respectively)" you probably misconfigured DTrace in some way.
OPTIONS_EXCLUDE_DragonFly= HIPE NATIVE SCTP
-OPTIONS_EXCLUDE_FreeBSD_10= DTRACE
# ld(1) fails to link probes: missing __dtrace_erlang___* symbols
OPTIONS_EXCLUDE_aarch64= DTRACE
OPTIONS_EXCLUDE_armv6= DTRACE
@@ -97,7 +96,7 @@
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1100000
+.if ${OPSYS} == FreeBSD
CFLAGS+= -DMAP_NORESERVE=0
.endif
Index: lang/erlang/Makefile
===================================================================
--- lang/erlang/Makefile
+++ lang/erlang/Makefile
@@ -62,7 +62,6 @@
.endif
OPTIONS_EXCLUDE_DragonFly= HIPE NATIVE SCTP
-OPTIONS_EXCLUDE_FreeBSD_10= DTRACE
# ld(1) fails to link probes: missing __dtrace_erlang___* symbols
OPTIONS_EXCLUDE_aarch64= DTRACE
OPTIONS_EXCLUDE_armv6= DTRACE
@@ -112,7 +111,7 @@
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1100000
+.if ${OPSYS} == FreeBSD
CFLAGS+= -DMAP_NORESERVE=0
.endif
Index: lang/hla/Makefile
===================================================================
--- lang/hla/Makefile
+++ lang/hla/Makefile
@@ -39,11 +39,6 @@
${MKDIR} ${WRKDIR}/stdlib && \
${TAR} -zxf ${_DISTDIR}/bsd.${PORTNAME}.tar.gz -C ${WRKDIR}/stdlib
${CP} ${_DISTDIR}/lex.yy.c ${WRKSRC}
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100077
-# chmod -R bug.
-# Do not use "-exec ... +", because of the same bug, it will not work.
- @${FIND} ${WRKDIR} -type d -exec ${CHMOD} 755 {} \;
-.endif
post-extract-TEST-on:
${CP} ${_DISTDIR}/hello.hla ${WRKSRC}
Index: lang/nyan/Makefile
===================================================================
--- lang/nyan/Makefile
+++ lang/nyan/Makefile
@@ -11,8 +11,6 @@
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/legal/LGPLv3
-BROKEN_FreeBSD_10= conflicting types for '__hash_table<_Tp, _Hash, _Equal, _Alloc>'
-
USES= cmake:outsource compiler:c++17-lang
USE_GITHUB= yes
GH_ACCOUNT= SFTtech
Index: lang/perl5-devel/Makefile
===================================================================
--- lang/perl5-devel/Makefile
+++ lang/perl5-devel/Makefile
@@ -41,7 +41,6 @@
THREADS PERL_MALLOC DTRACE DOT_INC
OPTIONS_DEFAULT= PERL_64BITINT THREADS MULTIPLICITY DTRACE
-OPTIONS_EXCLUDE_FreeBSD_10= DTRACE
.if !exists(/usr/sbin/dtrace)
OPTIONS_EXCLUDE+= DTRACE
.endif
Index: lang/perl5.24/Makefile
===================================================================
--- lang/perl5.24/Makefile
+++ lang/perl5.24/Makefile
@@ -29,7 +29,6 @@
OPTIONS_RADIO_EXCLUSIVE= THREADS PERL_MALLOC
OPTIONS_DEFAULT= PERL_64BITINT THREADS PTHREAD MULTIPLICITY DTRACE
-OPTIONS_EXCLUDE_FreeBSD_10= DTRACE
.if !exists(/usr/sbin/dtrace)
OPTIONS_EXCLUDE+= DTRACE
.endif
Index: lang/perl5.28/Makefile
===================================================================
--- lang/perl5.28/Makefile
+++ lang/perl5.28/Makefile
@@ -28,7 +28,6 @@
THREADS PERL_MALLOC DTRACE DOT_INC
OPTIONS_DEFAULT= PERL_64BITINT THREADS MULTIPLICITY DTRACE
-OPTIONS_EXCLUDE_FreeBSD_10= DTRACE
.if !exists(/usr/sbin/dtrace)
OPTIONS_EXCLUDE+= DTRACE
.endif
Index: lang/pocl/Makefile
===================================================================
--- lang/pocl/Makefile
+++ lang/pocl/Makefile
@@ -12,7 +12,6 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_FreeBSD_10= pocl is not supported on 10.x
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS_REASON= only tested on x86
Index: lang/ponyc/Makefile
===================================================================
--- lang/ponyc/Makefile
+++ lang/ponyc/Makefile
@@ -12,7 +12,6 @@
ONLY_FOR_ARCHS= aarch64 amd64
ONLY_FOR_ARCHS_REASON= Undefined reference to __atomic_compare_exchange_8
-BROKEN_FreeBSD_10= Undefined reference to __atomic_compare_exchange
LIB_DEPENDS= libunwind.so:devel/libunwind
BUILD_DEPENDS= llvm-link${LLVM_VERSION}:devel/llvm${LLVM_VERSION}
Index: lang/python27/Makefile
===================================================================
--- lang/python27/Makefile
+++ lang/python27/Makefile
@@ -109,13 +109,6 @@
.endif
post-patch:
-# readline shared library is present on base before FreeBSD 11 - r268461
-# force setup.py ignore base and use readline from ports
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
- @${REINPLACE_CMD} -e \
- "s|lib_dirs,\ \'readline\'|[\'${LOCALBASE}/lib\',\ \'.\'],\ \'readline\'|" \
- ${WRKSRC}/setup.py
-.endif
@${REINPLACE_CMD} -e 's|/usr/local/bin/python|${python_CMD}|' \
${WRKSRC}/Lib/cgi.py
@${REINPLACE_CMD} -e \
Index: lang/python34/Makefile
===================================================================
--- lang/python34/Makefile
+++ lang/python34/Makefile
@@ -124,15 +124,6 @@
PLIST_SUB+= NO_NIS=""
.endif
-post-patch:
-# readline shared library is present on base before FreeBSD 11 - r268461
-# force setup.py ignore base and use readline from ports
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
- @${REINPLACE_CMD} -e \
- "s|lib_dirs,\ \'readline\'|[\'${LOCALBASE}/lib\',\ \'.\'],\ \'readline\'|" \
- ${WRKSRC}/setup.py
-.endif
-
post-install:
.if ! ${PORT_OPTIONS:MDEBUG}
${RM} ${STAGEDIR}${PREFIX}/lib/libpython3.so # Upstream Issue: https://bugs.python.org/issue17975
Index: lang/python35/Makefile
===================================================================
--- lang/python35/Makefile
+++ lang/python35/Makefile
@@ -121,15 +121,6 @@
PLIST_SUB+= NO_NIS=""
.endif
-post-patch:
-# readline shared library is present on base before FreeBSD 11 - r268461
-# force setup.py ignore base and use readline from ports
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
- @${REINPLACE_CMD} -e \
- "s|lib_dirs,\ \'readline\'|[\'${LOCALBASE}/lib\',\ \'.\'],\ \'readline\'|" \
- ${WRKSRC}/setup.py
-.endif
-
post-install:
.if ! ${PORT_OPTIONS:MDEBUG}
${RM} ${STAGEDIR}${PREFIX}/lib/libpython3.so # Upstream Issue: https://bugs.python.org/issue17975
Index: lang/python36/Makefile
===================================================================
--- lang/python36/Makefile
+++ lang/python36/Makefile
@@ -117,15 +117,6 @@
PLIST_SUB+= NO_NIS=""
.endif
-post-patch:
-# readline shared library is present on base before FreeBSD 11 - r268461
-# force setup.py ignore base and use readline from ports
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
- @${REINPLACE_CMD} -e \
- "s|lib_dirs,\ \'readline\'|[\'${LOCALBASE}/lib\',\ \'.\'],\ \'readline\'|" \
- ${WRKSRC}/setup.py
-.endif
-
post-install:
.if ! ${PORT_OPTIONS:MDEBUG}
${RM} ${STAGEDIR}${PREFIX}/lib/libpython3.so # Upstream Issue: https://bugs.python.org/issue17975
Index: lang/python37/Makefile
===================================================================
--- lang/python37/Makefile
+++ lang/python37/Makefile
@@ -114,23 +114,6 @@
PLIST_SUB+= NO_NIS=""
.endif
-# python37 fails to build ssl module on FreeBSD10 with base SSL because X509_VERIFY_PARAM_set1_host check fails.
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000 && ${SSL_DEFAULT} == base
-PLIST_SUB+= NO_SSL="@comment "
-WARNING+= "No SSL support for FreeBSD ${OSREL} with base SSL! OpenSSL must be greater than/equal to 1.0.2"
-.else
-PLIST_SUB+= NO_SSL=""
-.endif
-
-post-patch:
-# readline shared library is present on base before FreeBSD 11 - r268461
-# force setup.py ignore base and use readline from ports
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
- @${REINPLACE_CMD} -e \
- "s|lib_dirs,\ \'readline\'|[\'${LOCALBASE}/lib\',\ \'.\'],\ \'readline\'|" \
- ${WRKSRC}/setup.py
-.endif
-
post-install:
.if ! ${PORT_OPTIONS:MDEBUG}
${RM} ${STAGEDIR}${PREFIX}/lib/libpython3.so # Upstream Issue: https://bugs.python.org/issue17975
Index: lang/python37/pkg-plist
===================================================================
--- lang/python37/pkg-plist
+++ lang/python37/pkg-plist
@@ -2784,7 +2784,7 @@
lib/python%%XYDOT%%/lib-dynload/_sha3.so
lib/python%%XYDOT%%/lib-dynload/_sha512.so
lib/python%%XYDOT%%/lib-dynload/_socket.so
-%%NO_SSL%%lib/python%%XYDOT%%/lib-dynload/_ssl.so
+lib/python%%XYDOT%%/lib-dynload/_ssl.so
lib/python%%XYDOT%%/lib-dynload/_struct.so
lib/python%%XYDOT%%/lib-dynload/_testbuffer.so
lib/python%%XYDOT%%/lib-dynload/_testcapi.so
Index: lang/racket/Makefile
===================================================================
--- lang/racket/Makefile
+++ lang/racket/Makefile
@@ -23,10 +23,7 @@
libpng.so:graphics/png
BROKEN_powerpc64= fails to build: jit.c: 'JIT_LOCAL4' undeclared (first use in this function)
-BROKEN_FreeBSD_10_i386= segfaults during build
-BROKEN_FreeBSD_11_i386= segfaults during build
-BROKEN_FreeBSD_12_i386= segfaults during build
-BROKEN_FreeBSD_13_i386= segfaults during build
+BROKEN_i386= segfaults during build
NOT_FOR_ARCHS= aarch64 armv6 armv7 sparc64
NOT_FOR_ARCHS_REASON= not yet ported to this arch
Index: lang/ruby23/Makefile
===================================================================
--- lang/ruby23/Makefile
+++ lang/ruby23/Makefile
@@ -91,7 +91,7 @@
.endif
.if ${OPSYS} == "FreeBSD"
-.if exists(/usr/sbin/dtrace) && (${OSVERSION} > 1100032) && (${ARCH} == amd64 || ${ARCH} == i386)
+.if exists(/usr/sbin/dtrace) && (${ARCH} == amd64 || ${ARCH} == i386)
CONFIGURE_ARGS+=--enable-dtrace
.else
CONFIGURE_ARGS+=--disable-dtrace
Index: lang/ruby24/Makefile
===================================================================
--- lang/ruby24/Makefile
+++ lang/ruby24/Makefile
@@ -85,7 +85,7 @@
.endif
.if ${OPSYS} == "FreeBSD"
-.if exists(/usr/sbin/dtrace) && (${OSVERSION} > 1100032) && (${ARCH} == amd64 || ${ARCH} == i386)
+.if exists(/usr/sbin/dtrace) && (${ARCH} == amd64 || ${ARCH} == i386)
CONFIGURE_ARGS+=--enable-dtrace
.else
CONFIGURE_ARGS+=--disable-dtrace
Index: lang/ruby25/Makefile
===================================================================
--- lang/ruby25/Makefile
+++ lang/ruby25/Makefile
@@ -85,7 +85,7 @@
.endif
.if ${OPSYS} == "FreeBSD"
-.if exists(/usr/sbin/dtrace) && (${OSVERSION} > 1100032) && (${ARCH} == amd64 || ${ARCH} == i386)
+.if exists(/usr/sbin/dtrace) && (${ARCH} == amd64 || ${ARCH} == i386)
CONFIGURE_ARGS+=--enable-dtrace
.else
CONFIGURE_ARGS+=--disable-dtrace
Index: lang/swift/Makefile
===================================================================
--- lang/swift/Makefile
+++ lang/swift/Makefile
@@ -43,7 +43,6 @@
USE_GNOME= libxml2
USE_LDCONFIG= yes
ONLY_FOR_ARCHS= amd64
-BROKEN_FreeBSD_10= Builds but does not work
CONFLICTS_BUILD= googletest
LDFLAGS+= -lobjc
Index: lang/tcl86/Makefile
===================================================================
--- lang/tcl86/Makefile
+++ lang/tcl86/Makefile
@@ -30,8 +30,6 @@
OPTIONS_EXCLUDE+= DTRACE
.endif
-OPTIONS_EXCLUDE_FreeBSD_10= DTRACE
-
PATCH_WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/unix
Index: lang/tcl87/Makefile
===================================================================
--- lang/tcl87/Makefile
+++ lang/tcl87/Makefile
@@ -31,8 +31,6 @@
OPTIONS_EXCLUDE+= DTRACE
.endif
-OPTIONS_EXCLUDE_FreeBSD_10= DTRACE
-
PATCH_WRKSRC= ${WRKDIR}/${PORTNAME}${DISTVERSION}
WRKSRC= ${PATCH_WRKSRC}/unix
Index: mail/bogofilter/Makefile
===================================================================
--- mail/bogofilter/Makefile
+++ mail/bogofilter/Makefile
@@ -12,9 +12,6 @@
LICENSE= GPLv2
-BROKEN_FreeBSD_10_armv6= fails to configure: Cannot open a shared environment in Berkeley DB
-BROKEN_FreeBSD_10_armv7= fails to configure: Cannot open a shared environment in Berkeley DB
-
.if !defined(MASTERDIR) || ${MASTERDIR} == ${.CURDIR}
# building master port
USES+= bdb:5+
Index: mail/dma/Makefile
===================================================================
--- mail/dma/Makefile
+++ mail/dma/Makefile
@@ -36,14 +36,8 @@
# Allow subports to extend.
CONFFILES+= dma.conf auth.conf
-.include <bsd.port.pre.mk>
-
# 11.x has dma imported into base and /var/spool/dma added to mtree
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100009
-PLIST_SUB+= VARDIR=""
-.else
PLIST_SUB+= VARDIR="@comment "
-.endif
post-patch:
@${REINPLACE_CMD} -e 's,/etc/dma,${PREFIX}/etc/dma,g' \
@@ -59,4 +53,4 @@
${INSTALL_DATA} ${WRKSRC}/dma.conf ${STAGEDIR}${ETCDIR}/dma.conf.sample
${INSTALL_DATA} ${WRKSRC}/auth.conf ${STAGEDIR}${ETCDIR}/auth.conf.sample
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: mail/gotmail/Makefile
===================================================================
--- mail/gotmail/Makefile
+++ mail/gotmail/Makefile
@@ -25,14 +25,6 @@
OPTIONS_DEFINE= DOCS
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100077
-# chmod -R bug
-post-extract:
- @${CHMOD} 755 ${WRKSRC}
-.endif
-
do-install:
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man \
${STAGEDIR}${MANPREFIX}/man/man1/${PORTNAME}.1
@@ -44,4 +36,4 @@
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: mail/postfix-current/Makefile
===================================================================
--- mail/postfix-current/Makefile
+++ mail/postfix-current/Makefile
@@ -198,7 +198,7 @@
.endif
.if ${PORT_OPTIONS:MBLACKLISTD}
-. if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1100122)
+. if ${OPSYS} == FreeBSD
POSTFIX_AUXLIBS+= -lblacklist
. else
IGNORE= blacklistd is only supported on FreeBSD >= 11.0
Index: mail/postfix/Makefile
===================================================================
--- mail/postfix/Makefile
+++ mail/postfix/Makefile
@@ -198,7 +198,7 @@
.endif
.if ${PORT_OPTIONS:MBLACKLISTD}
-. if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1100122)
+. if ${OPSYS} == FreeBSD
POSTFIX_AUXLIBS+= -lblacklist
. else
IGNORE= blacklistd is only supported on FreeBSD >= 11.0
Index: mail/rss2email2/Makefile
===================================================================
--- mail/rss2email2/Makefile
+++ mail/rss2email2/Makefile
@@ -45,12 +45,4 @@
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/config.py.example ${STAGEDIR}${EXAMPLESDIR}
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100077
-# chmod -R bug.
-post-extract:
- @${CHMOD} 0755 ${WRKSRC}
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: mail/sendmail/Makefile
===================================================================
--- mail/sendmail/Makefile
+++ mail/sendmail/Makefile
@@ -49,7 +49,6 @@
PICKY_HELO_CHECK MILTER DOCS
OPTIONS_DEFAULT?= SHMEM SEM LA NIS TLS SASL SASLAUTHD BDB1 \
BLACKLISTD PICKY_HELO_CHECK MILTER
-OPTIONS_EXCLUDE_FreeBSD_10= BLACKLISTD
NO_OPTIONS_SORT=yes
SHMEM_DESC= System V shared memory support
LA_DESC= load averages support
Index: math/R/Makefile
===================================================================
--- math/R/Makefile
+++ math/R/Makefile
@@ -12,7 +12,6 @@
LICENSE= GPLv2
-BROKEN_FreeBSD_10_armv6= Fails to build
ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386
LIB_DEPENDS= libcurl.so:ftp/curl \
Index: math/adept/Makefile
===================================================================
--- math/adept/Makefile
+++ math/adept/Makefile
@@ -12,8 +12,6 @@
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_FreeBSD_10_amd64= error: use of undeclared identifier '_mm_undefined_ps'
-
USES= autoreconf gmake fortran blaslapack:openblas libtool
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static
Index: math/ambit/Makefile
===================================================================
--- math/ambit/Makefile
+++ math/ambit/Makefile
@@ -27,14 +27,4 @@
CMAKE_ARGS+= -DENABLE_OPENMP:BOOL=ON # bug#223678: find_package(OpenMP) doesn't find the openmp package
CMAKE_ARGS+= -DENABLE_TESTS:BOOL=OFF # https://github.com/jturney/ambit/issues/24
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
-# It requires clang version >3.6
-BUILD_DEPENDS+= clang60:devel/llvm60
-RUN_DEPENDS+= clang60:devel/llvm60
-CC= clang60
-CXX= clang++60
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: math/eprover/Makefile
===================================================================
--- math/eprover/Makefile
+++ math/eprover/Makefile
@@ -36,14 +36,4 @@
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f}
.endfor
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
-# the default compiler hangs on 10
-BUILD_DEPENDS+= clang60:devel/llvm60
-RUN_DEPENDS+= clang60:devel/llvm60
-CC= clang60
-CXX= clang++60
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: math/libRmath/Makefile
===================================================================
--- math/libRmath/Makefile
+++ math/libRmath/Makefile
@@ -13,7 +13,6 @@
LICENSE= GPLv2
-BROKEN_FreeBSD_10_armv6= Fails to build
ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386
LIB_DEPENDS= libcurl.so:ftp/curl \
Index: math/libpgmath/Makefile
===================================================================
--- math/libpgmath/Makefile
+++ math/libpgmath/Makefile
@@ -12,7 +12,6 @@
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
ONLY_FOR_ARCHS= amd64
-IGNORE_FreeBSD_10= not supported on older than 12.0, no cpuid bit support
IGNORE_FreeBSD_11= not supported on older than 12.0, no cpuid bit support
BUILD_DEPENDS= llvm60>=0:devel/llvm60
Index: math/maxima/Makefile
===================================================================
--- math/maxima/Makefile
+++ math/maxima/Makefile
@@ -76,12 +76,6 @@
MAXIMABINARY= maxima_core
.endif
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
-# The older makeinfo from the base fails in 10.3
-BUILD_DEPENDS+= ${LOCALBASE}/bin/makeinfo:print/texinfo
-CONFIGURE_ENV+= MAKEINFO="${LOCALBASE}/bin/makeinfo"
-.endif
-
post-patch:
@${GREP} -Fe '.core' -l -r ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \
-e 's;\.core;_core;g'
Index: math/mkl-dnn/Makefile
===================================================================
--- math/mkl-dnn/Makefile
+++ math/mkl-dnn/Makefile
@@ -11,7 +11,6 @@
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_FreeBSD_10= invalid value 'internal' in '-fvisibility internal'
BROKEN_i386= error: shift count >= width of type (and other errors), see https://github.com/intel/mkl-dnn/issues/315
TEST_DEPENDS= bash:shells/bash
Index: math/opensolaris-libm/Makefile
===================================================================
--- math/opensolaris-libm/Makefile
+++ math/opensolaris-libm/Makefile
@@ -34,7 +34,6 @@
# proper functioning.
OPTIONS_DEFINE= GCC
-OPTIONS_EXCLUDE_FreeBSD_10= GCC
OPTIONS_EXCLUDE_DragonFly= GCC
GCC_USE= GCC=yes
@@ -42,10 +41,6 @@
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD
-. if ${OSREL:R} < 11
-USE_GCC= yes
-. endif
-
RUN_DEPENDS= ${LOCALBASE}/bin/addr2line:devel/binutils
post-patch:
Index: math/sleef/Makefile
===================================================================
--- math/sleef/Makefile
+++ math/sleef/Makefile
@@ -12,8 +12,6 @@
LICENSE= BSL
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-IGNORE_FreeBSD_10= base compiler too old
-
USES= cmake:outsource compiler:c11
USE_LDCONFIG= yes
Index: misc/rump/Makefile
===================================================================
--- misc/rump/Makefile
+++ misc/rump/Makefile
@@ -29,9 +29,7 @@
PLIST_SUB+= X8664="@comment "
.endif
-.if ${OSVERSION} >= 1100508
CFLAGS+= -Wno-address-of-packed-member
-.endif
do-build:
cd ${WRKSRC}; ${SETENV} CC=${CC} AR=${AR} NM=${NM} OBJCOPY=${OBJCOPY} ./buildrump.sh -F CFLAGS="${CFLAGS}" -r fullbuild
Index: multimedia/kodi-devel/Makefile
===================================================================
--- multimedia/kodi-devel/Makefile
+++ multimedia/kodi-devel/Makefile
@@ -86,7 +86,6 @@
OPTIONS_SINGLE_PLATFORM= GBM RPI WAYLAND X11
OPTIONS_EXCLUDE_amd64= RPI
OPTIONS_EXCLUDE_i386= RPI
-OPTIONS_EXCLUDE_FreeBSD_10= GBM WAYLAND
OPTIONS_SUB= yes
OPTIONS_GROUP= SOUND
Index: multimedia/totem/Makefile
===================================================================
--- multimedia/totem/Makefile
+++ multimedia/totem/Makefile
@@ -59,7 +59,7 @@
.include <bsd.port.options.mk>
-.if ${ARCH} == i386 || ${OSVERSION} <= 1100000
+.if ${ARCH} == i386
MESON_ARGS= -Denable-vala=no
PLIST_SUB+= VALA="@comment "
.else
Index: net-im/telegram-desktop/Makefile
===================================================================
--- net-im/telegram-desktop/Makefile
+++ net-im/telegram-desktop/Makefile
@@ -65,21 +65,6 @@
.include <bsd.port.pre.mk>
-# This port needs C++17 libs/compiler.
-# Currently, this is not supported by USES=compiler
-# Using clang does not work: libc++ in base does not support C++17.
-# Using gcc does not work: using both libc++ and libstdc++ causes crashes.
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
-IGNORE= need C++17 support in compiler and runtime
-.endif
-
-# Since 1.3.14, the clang compiler provided in 11.1 (4.0.0) gets a segmentation
-# fault.
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1102000
-CXXFLAGS+= -DGSL_USE_STD_BYTE=0
-QMAKE_COMPILER= clang
-.endif
-
post-patch:
@cd ${WRKSRC} && \
(${SED} -e " \
Index: net-mgmt/net-snmp/Makefile
===================================================================
--- net-mgmt/net-snmp/Makefile
+++ net-mgmt/net-snmp/Makefile
@@ -161,11 +161,7 @@
NET_SNMP_PERSISTENTDIR?=/var/net-snmp
NET_SNMP_WITH_MIB_MODULE_LIST+= host disman/event-mib mibII/mta_sendmail mibII/tcpTable ucd-snmp/diskio sctp-mib
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100062
-CFLAGS+= -D_WANT_IFADDR
-.endif
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100062
+.if ${OPSYS} == FreeBSD
NET_SNMP_WITHOUT_MIB_MODULE_LIST+= mibII/ipv6
.endif
Index: net-mgmt/seafile-client/Makefile
===================================================================
--- net-mgmt/seafile-client/Makefile
+++ net-mgmt/seafile-client/Makefile
@@ -50,7 +50,7 @@
post-patch:
# Fix P_KTHREAD r295435
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100097
+.if ${OPSYS} == FreeBSD
${REINPLACE_CMD} 's/P_KTHREAD/P_KPROC/' ${WRKSRC}/lib/utils.c
.endif
Index: net-mgmt/seafile-server/Makefile
===================================================================
--- net-mgmt/seafile-server/Makefile
+++ net-mgmt/seafile-server/Makefile
@@ -65,7 +65,7 @@
post-patch:
# Fix P_KTHREAD r295435
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100097
+.if ${OPSYS} == FreeBSD
${REINPLACE_CMD} 's/P_KTHREAD/P_KPROC/' ${WRKSRC}/lib/utils.c
.endif
${REINPLACE_CMD} 's/python/${PYTHON_VERSION}/' \
Index: net-p2p/bitcoin/Makefile
===================================================================
--- net-p2p/bitcoin/Makefile
+++ net-p2p/bitcoin/Makefile
@@ -113,10 +113,6 @@
LIBS+= -L${BDB_LIB_DIR}
.endif
-.if ${OSVERSION} < 1100000
-CONFIGURE_ARGS+=--disable-asm
-.endif
-
.if defined(SLAVE_PORT) && ${SLAVE_PORT} == "no"
post-install:
Index: net-p2p/litecoin/Makefile
===================================================================
--- net-p2p/litecoin/Makefile
+++ net-p2p/litecoin/Makefile
@@ -97,12 +97,6 @@
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 1100000
-EXTRA_PATCHES= ${FILESDIR}/extra-patch-src_crypto_scrypt.cpp \
- ${FILESDIR}/extra-patch-src_crypto_scrypt.h
-CONFIGURE_ARGS+=--disable-asm
-.endif
-
.if defined(SLAVE_PORT) && ${SLAVE_PORT} == "no"
post-patch:
Index: net-p2p/litecoin/files/extra-patch-src_crypto_scrypt.h
===================================================================
--- net-p2p/litecoin/files/extra-patch-src_crypto_scrypt.h
+++ /dev/null
@@ -1,24 +0,0 @@
---- src/crypto/scrypt.h.orig 2018-05-23 11:31:01.662350000 -0400
-+++ src/crypto/scrypt.h 2018-05-23 11:31:25.771775000 -0400
-@@ -28,21 +28,4 @@ void
- PBKDF2_SHA256(const uint8_t *passwd, size_t passwdlen, const uint8_t *salt,
- size_t saltlen, uint64_t c, uint8_t *buf, size_t dkLen);
-
--#ifndef __FreeBSD__
--static inline uint32_t le32dec(const void *pp)
--{
-- const uint8_t *p = (uint8_t const *)pp;
-- return ((uint32_t)(p[0]) + ((uint32_t)(p[1]) << 8) +
-- ((uint32_t)(p[2]) << 16) + ((uint32_t)(p[3]) << 24));
--}
--
--static inline void le32enc(void *pp, uint32_t x)
--{
-- uint8_t *p = (uint8_t *)pp;
-- p[0] = x & 0xff;
-- p[1] = (x >> 8) & 0xff;
-- p[2] = (x >> 16) & 0xff;
-- p[3] = (x >> 24) & 0xff;
--}
--#endif
- #endif
Index: net-p2p/litecoin/files/extra-patch-src_crypto_scrypt.cpp
===================================================================
--- net-p2p/litecoin/files/extra-patch-src_crypto_scrypt.cpp
+++ /dev/null
@@ -1,35 +0,0 @@
---- src/crypto/scrypt.cpp.orig 2018-02-26 19:37:55.000000000 -0500
-+++ src/crypto/scrypt.cpp 2018-05-23 11:25:45.718849000 -0400
-@@ -32,6 +32,7 @@
- #include <stdlib.h>
- #include <stdint.h>
- #include <string.h>
-+#include <sys/endian.h>
- #include <openssl/sha.h>
-
- #if defined(USE_SSE2) && !defined(USE_SSE2_ALWAYS)
-@@ -42,24 +43,6 @@
- // GCC Linux or i686-w64-mingw32
- #include <cpuid.h>
- #endif
--#endif
--#ifndef __FreeBSD__
--static inline uint32_t be32dec(const void *pp)
--{
-- const uint8_t *p = (uint8_t const *)pp;
-- return ((uint32_t)(p[3]) + ((uint32_t)(p[2]) << 8) +
-- ((uint32_t)(p[1]) << 16) + ((uint32_t)(p[0]) << 24));
--}
--
--static inline void be32enc(void *pp, uint32_t x)
--{
-- uint8_t *p = (uint8_t *)pp;
-- p[3] = x & 0xff;
-- p[2] = (x >> 8) & 0xff;
-- p[1] = (x >> 16) & 0xff;
-- p[0] = (x >> 24) & 0xff;
--}
--
- #endif
- typedef struct HMAC_SHA256Context {
- SHA256_CTX ictx;
Index: net-p2p/qbittorrent/Makefile
===================================================================
--- net-p2p/qbittorrent/Makefile
+++ net-p2p/qbittorrent/Makefile
@@ -13,8 +13,6 @@
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_FreeBSD_10= error: no matching constructor for initialization of 'const QString'
-
LIB_DEPENDS= libtorrent-rasterbar.so:net-p2p/libtorrent-rasterbar \
libboost_system.so:devel/boost-libs
Index: net/ceph/Makefile
===================================================================
--- net/ceph/Makefile
+++ net/ceph/Makefile
@@ -15,7 +15,6 @@
# even though i386 will build, it is not really advised.
ONLY_FOR_ARCHS= amd64
-IGNORE_FreeBSD_10= Does not build for FreeBSD 10.x
BUILD_DEPENDS= \
yasm:devel/yasm \
Index: net/cjdns/Makefile
===================================================================
--- net/cjdns/Makefile
+++ net/cjdns/Makefile
@@ -12,7 +12,6 @@
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_FreeBSD_10_i386= fails CC_OUTPUT_921dbbb2_65ad290d=error: invalid value 'c++14' in '-std=c++14' yes
BROKEN_armv6= fails to build: Killing runaway build after 21600 seconds with no output
BROKEN_armv7= fails to build: Killing runaway build after 21600 seconds with no output
Index: net/flower/Makefile
===================================================================
--- net/flower/Makefile
+++ net/flower/Makefile
@@ -21,14 +21,8 @@
CFLAGS+= -I${LOCALBASE}/include/jsoncpp
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100511
-IGNORE= requires various C++17 features
-.endif
-
# Require the unit tests to pass prior to installing.
post-build:
@trap '' PIPE && ${WRKSRC}/flower_unittests
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: net/freebsd-uucp/Makefile
===================================================================
--- net/freebsd-uucp/Makefile
+++ net/freebsd-uucp/Makefile
@@ -41,7 +41,7 @@
.if ${PORT_OPTIONS:MPAM}
PAM_SUFFIX= -pam
MAKE_ENV+= WITH_PAM=${WITH_PAM}
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 110000
+.if ${OPSYS} == FreeBSD
MAKE_ENV+= MINUSLPAM=-lpam
.endif
.endif
Index: net/freerdp/Makefile
===================================================================
--- net/freerdp/Makefile
+++ net/freerdp/Makefile
@@ -89,8 +89,7 @@
.include <bsd.port.pre.mk>
.if ${OPSYS} == "FreeBSD" && ${ARCH} == "armv6"
-.if ${OSVERSION} < 1100500 || \
- (${OSVERSION} >= 1100500 && ${OSVERSION} < 1100504) || \
+.if ${OSVERSION} < 1100504 || \
(${OSVERSION} >= 1200000 && ${OSVERSION} < 1200008)
BROKEN= Fails to build on ARMv6 (libm bug). See: r305380 (HEAD), r305971 (stable/11) [\#199422, \#211965] \
Please update to a later (fixed) version.
Index: net/freerdp1/Makefile
===================================================================
--- net/freerdp1/Makefile
+++ net/freerdp1/Makefile
@@ -73,8 +73,7 @@
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && (${ARCH} == armv6 || ${ARCH} == armv7)
-.if ${OSVERSION} < 1100500 || \
- (${OSVERSION} >= 1100500 && ${OSVERSION} < 1100504) || \
+.if ${OSVERSION} < 1100504 || \
(${OSVERSION} >= 1200000 && ${OSVERSION} < 1200008)
BROKEN= Fails to build on ARMv6/7 (libm bug). See: r305380 (HEAD), r305971 (stable/11) [\#199422, \#211965] \
Please update to a later (fixed) version.
Index: net/glusterfs/Makefile
===================================================================
--- net/glusterfs/Makefile
+++ net/glusterfs/Makefile
@@ -57,10 +57,4 @@
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1101001
-USE_GCC= yes
-.endif
-
.include <bsd.port.mk>
Index: net/hping/Makefile
===================================================================
--- net/hping/Makefile
+++ net/hping/Makefile
@@ -29,11 +29,7 @@
OPTIONS_DEFINE= DOCS
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100030
EXTRA_PATCHES= ${FILESDIR}/extra-patch-sendip.c
-.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hping2 ${STAGEDIR}${PREFIX}/sbin/hping
@@ -44,4 +40,4 @@
${INSTALL_DATA} ${WRKSRC}/docs/${i} ${STAGEDIR}${DOCSDIR}
.endfor
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: net/intel-ixl-kmod/Makefile
===================================================================
--- net/intel-ixl-kmod/Makefile
+++ net/intel-ixl-kmod/Makefile
@@ -55,7 +55,7 @@
ONLY_FOR_ARCHS_REASON= Not supported on other architectures, amd64 only.
.endif
-.if ${PORT_OPTIONS:MNETMAP_AUTO} && ${OSVERSION} >= 1100000 && ${OSVERSION} <= ${MAX_NETMAP_OSVERSION}
+.if ${PORT_OPTIONS:MNETMAP_AUTO} && ${OSVERSION} <= ${MAX_NETMAP_OSVERSION}
CFLAGS+= -DDEV_NETMAP
.endif
Index: net/libnet/Makefile
===================================================================
--- net/libnet/Makefile
+++ net/libnet/Makefile
@@ -46,10 +46,6 @@
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/sample/*.c ${STAGEDIR}${EXAMPLESDIR}/
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100030
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-configure
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: net/ntraceroute/Makefile
===================================================================
--- net/ntraceroute/Makefile
+++ net/ntraceroute/Makefile
@@ -21,11 +21,7 @@
PLIST_FILES= sbin/${PORTNAME}
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100030
BUILD_FLAGS= -DBYTESWAP_IP_FLAGS -DBYTESWAP_IP_LEN
-.endif
do-build:
${CC} ${BUILD_FLAGS} -o ${WRKSRC}/${PORTNAME} -lm \
@@ -34,4 +30,4 @@
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: net/openafs/Makefile
===================================================================
--- net/openafs/Makefile
+++ net/openafs/Makefile
@@ -79,52 +79,11 @@
CFLAGS+= -mstackrealign
.endif
-.if ${OSREL:R} >= 11
# Upstream does not support the client on 11 and newer
CONFIGURE_ARGS += --disable-kernel-module
PLIST_SUB+= KMOD="@comment "
post-install:
@${RMDIR} ${STAGEDIR}${PREFIX}/lib/openafs
-.else
-CONFIGURE_ARGS += --enable-kernel-module
-PLIST_SUB+= KMOD=
-USE_RC_SUBR+= afsd
-
-KERNCONF?= GENERIC
-KERNCONFDIR?= ${SRC_BASE}/sys/${ARCH}/conf
-
-# Use the first component of ${KERNCONF}.
-.for K in ${KERNCONF}
-_KERNCONF?=$K
-.endfor
-
-.if !exists(${KERNCONFDIR}/${_KERNCONF})
-IGNORE= requires kernel configuration file ${_KERNCONF} to build
-.endif
-
-# Do not show users the reminder about cleandepend and depend
-post-extract:
- ${MKDIR} ${WRKDIR}/conf
- cd ${KERNCONFDIR} && \
- /usr/sbin/config -d ${WRKDIR}/conf ${_KERNCONF} >/dev/null
-
-create-sample-files:
- @${ECHO_CMD} openafs.org > ${WRKDIR}/ThisCell
- @${ECHO_CMD} "${AFSMNTDIR}:${AFSCACHEDIR}:150000" > ${WRKDIR}/cacheinfo
- ${INSTALL_DATA} ${DISTDIR}/CellServDB.${DBVERSION} ${WRKDIR}/CellServDB
-
-post-install: create-sample-files
- @${MKDIR} ${STAGEDIR}${ETCDIR}
-.for F in CellServDB ThisCell cacheinfo
- ${INSTALL_DATA} ${WRKDIR}/${F} ${STAGEDIR}${ETCDIR}/${F}.sample
-.endfor
- ${INSTALL_KLD} ${STAGEDIR}${PREFIX}/lib/openafs/libafs.ko \
- ${STAGEDIR}${KMODDIR}
- @${RM} ${STAGEDIR}${PREFIX}/lib/openafs/libafs.ko
- @${RMDIR} ${STAGEDIR}${PREFIX}/lib/openafs
- @${MKDIR} ${STAGEDIR}${AFSMNTDIR} \
- ${STAGEDIR}${AFSSTATEDIR} ${STAGEDIR}${AFSCACHEDIR}
-.endif # ${OSREL} blacklist
.include <bsd.port.post.mk>
Index: net/openldap24-server/Makefile
===================================================================
--- net/openldap24-server/Makefile
+++ net/openldap24-server/Makefile
@@ -202,10 +202,6 @@
--disable-dependency-tracking \
--enable-dynamic
-.if ${OSVERSION} < 1101000
-CFLAGS+= -DMDB_DSYNC=O_SYNC -Dfdatasync=fsync
-.endif
-
.if ${PORT_OPTIONS:MSASL}
LIB_DEPENDS+= libsasl2.so:security/cyrus-sasl2
CONFIGURE_ARGS+= --with-cyrus-sasl
Index: net/packetdrill/Makefile
===================================================================
--- net/packetdrill/Makefile
+++ net/packetdrill/Makefile
@@ -9,9 +9,6 @@
LICENSE= GPLv2
-# Need SCTP_PR_SCTP_PRIO and pcap_set_immediate_mode
-IGNORE_FreeBSD_10= not supported on 10.x or older
-
USES= bison uidfix
USE_GITHUB= yes
GH_ACCOUNT= freebsd-net
Index: net/samba47/Makefile
===================================================================
--- net/samba47/Makefile
+++ net/samba47/Makefile
@@ -453,7 +453,7 @@
.if !defined(SAMBA4_SUBPORT)
# Require llvm 4.0 and AMD64
-.if ${PORT_OPTIONS:MAESNI} && ${ARCH} == "amd64" && ${OSVERSION} >= 1100511
+.if ${PORT_OPTIONS:MAESNI} && ${ARCH} == "amd64"
CONFIGURE_ARGS+= --accel-aes=intelaesni
PLIST_FILES+= lib/samba4/private/libaesni-intel-samba4.so
.else
Index: net/samba48/Makefile
===================================================================
--- net/samba48/Makefile
+++ net/samba48/Makefile
@@ -471,7 +471,7 @@
.if !defined(SAMBA4_SUBPORT)
# Require llvm 4.0 and AMD64
-.if ${PORT_OPTIONS:MAESNI} && ${ARCH} == "amd64" && ${OSVERSION} >= 1100511
+.if ${PORT_OPTIONS:MAESNI} && ${ARCH} == "amd64"
CONFIGURE_ARGS+= --accel-aes=intelaesni
PLIST_FILES+= lib/samba4/private/libaesni-intel-samba4.so
.else
Index: science/ALPSCore/Makefile
===================================================================
--- science/ALPSCore/Makefile
+++ science/ALPSCore/Makefile
@@ -12,8 +12,6 @@
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
-BROKEN_FreeBSD_10= error: no matching function for call to 'deserialize'
-
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libhdf5.so:science/hdf5 \
libsz.so:science/szip
Index: science/clhep/Makefile
===================================================================
--- science/clhep/Makefile
+++ science/clhep/Makefile
@@ -13,8 +13,6 @@
LICENSE= GPLv3 LGPL3
LICENSE_COMB= multi
-BROKEN_FreeBSD_10= does not compile on clang3.4, requires 3.5+
-
WRKSRC= ${WRKDIR}/${PORTVERSION}/${PORTNAME:tu}
USES= cmake:outsource compiler:c++11-lang perl5 tar:tgz
Index: science/libint2/Makefile
===================================================================
--- science/libint2/Makefile
+++ science/libint2/Makefile
@@ -15,8 +15,6 @@
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_FreeBSD_10= /usr/include/c++/v1/memory:4004:35: error: no viable overloaded '=': __e->__weak_this_ = *this;
-
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libgmpxx.so:math/gmp
Index: science/qmcpack/Makefile
===================================================================
--- science/qmcpack/Makefile
+++ science/qmcpack/Makefile
@@ -12,7 +12,6 @@
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_FreeBSD_10= error: use of undeclared identifier '__builtin_assume_aligned'
BROKEN_i386= undefined reference to `__atomic_load'
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
Index: science/simlib/Makefile
===================================================================
--- science/simlib/Makefile
+++ science/simlib/Makefile
@@ -24,7 +24,7 @@
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1101000
+.if ${OPSYS} == FreeBSD
# nm crashes during the build:
# Assertion failed: (ddata->output.size > 0), function cpp_demangle_read_sname, file /usr/src/contrib/elftoolchain/libelftc/libelftc_dem_gnu3.c, line 2137.
USE_BINUTILS= yes
Index: science/triqs/Makefile
===================================================================
--- science/triqs/Makefile
+++ science/triqs/Makefile
@@ -12,7 +12,6 @@
LICENSE_FILE= ${WRKSRC}/COPYING.txt
BROKEN= wrong LIB_DEPENDS
-BROKEN_FreeBSD_10= fatal error: 'optional' file not found
BROKEN_i386= error: no matching function for call to 'max': https://github.com/TRIQS/triqs/issues/596
BUILD_DEPENDS= boost-libs>=1.53:devel/boost-libs \
Index: security/bugs/Makefile
===================================================================
--- security/bugs/Makefile
+++ security/bugs/Makefile
@@ -53,12 +53,4 @@
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100077
-# chmod -R bug
-post-extract:
- ${CHMOD} +x ${WRKSRC}/lib/unix ${WRKSRC}/lib/windows
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: security/kickpass/Makefile
===================================================================
--- security/kickpass/Makefile
+++ security/kickpass/Makefile
@@ -18,8 +18,6 @@
USES= cmake
USE_XORG= x11
-BROKEN_FreeBSD_10= requires reallocarray(3)
-
PLIST_FILES= bin/kickpass \
lib/libkickpass.so \
lib/libkickpass.so.0 \
Index: security/libhijack/Makefile
===================================================================
--- security/libhijack/Makefile
+++ security/libhijack/Makefile
@@ -23,8 +23,6 @@
lib/libhijack.so.1 \
sbin/hijack
-BROKEN_FreeBSD_10= Designed for 11.0 and newer
-
do-install: # the original install fails: https://github.com/SoldierX/libhijack/issues/6
${INSTALL_DATA} ${WRKSRC}/include/hijack.h ${STAGEDIR}${PREFIX}/include
${INSTALL_LIB} ${WRKSRC}/libhijack/obj/libhijack.so* ${STAGEDIR}${PREFIX}/lib
Index: security/masscan/Makefile
===================================================================
--- security/masscan/Makefile
+++ security/masscan/Makefile
@@ -21,13 +21,6 @@
PLIST_FILES= bin/masscan man/man8/masscan.8.gz
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
-BUILD_DEPENDS+= clang60:devel/llvm60
-CC= clang60
-.endif
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/masscan ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/masscan.8 ${STAGEDIR}${MANPREFIX}/man/man8
@@ -35,4 +28,4 @@
do-test:
${WRKSRC}/bin/masscan --selftest
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: security/trezord/Makefile
===================================================================
--- security/trezord/Makefile
+++ security/trezord/Makefile
@@ -22,10 +22,4 @@
PLIST_FILES= bin/${GH_PROJECT}
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1102000
-EXTRA_PATCHES+= ${FILESDIR}/extra-patch-usb_libusb.go
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: security/trezord/files/extra-patch-usb_libusb.go
===================================================================
--- security/trezord/files/extra-patch-usb_libusb.go
+++ /dev/null
@@ -1,38 +0,0 @@
---- usb/libusb.go.orig 2018-10-01 19:43:54 UTC
-+++ usb/libusb.go
-@@ -3,6 +3,7 @@ package usb
- import (
- "encoding/hex"
- "fmt"
-+ "runtime"
- "strings"
- "sync"
- "sync/atomic"
-@@ -311,13 +312,21 @@ func (b *LibUSB) matchVidPid(vid uint16,
- }
-
- func (b *LibUSB) identify(dev lowlevel.Device) string {
-- var ports [8]byte
-- p, err := lowlevel.Get_Port_Numbers(dev, ports[:])
-- if err != nil {
-- b.mw.Println(fmt.Sprintf("libusb - identify - error getting port numbers %s", err.Error()))
-- return ""
-+ var path string
-+ if runtime.GOOS != "freebsd" {
-+ var ports [8]byte
-+ p, err := lowlevel.Get_Port_Numbers(dev, ports[:])
-+ if err != nil {
-+ b.mw.Println(fmt.Sprintf("webusb - identify - error getting port numbers %s", err.Error()))
-+ return ""
-+ }
-+ path = hex.EncodeToString(p)
-+ } else {
-+ bn := lowlevel.Get_Bus_Number(dev)
-+ da := lowlevel.Get_Device_Address(dev)
-+ path = fmt.Sprintf("%02x%02x", bn, da)
- }
-- return libusbPrefix + hex.EncodeToString(p)
-+ return libusbPrefix + path
- }
-
- type WUD struct {
Index: security/vpnc/Makefile
===================================================================
--- security/vpnc/Makefile
+++ security/vpnc/Makefile
@@ -61,11 +61,9 @@
.endif
post-patch:
-.if ${OSVERSION} >= 1100042
@${REINPLACE_CMD} \
-e 's|.*%%FREEBSD_IPLEN_FIX%%.*|#define NEED_IPLEN_FIX 1|' \
${WRKSRC}/sysdep.h
-.endif
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/config.c
@${REINPLACE_CMD} -e 's|\(/etc/vpnc\)|${PREFIX}\1|' \
${WRKSRC}/${MANPAGE8}.template
Index: shells/ksh93-devel/Makefile
===================================================================
--- shells/ksh93-devel/Makefile
+++ shells/ksh93-devel/Makefile
@@ -55,7 +55,7 @@
.include <bsd.port.pre.mk>
post-patch:
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100093
+.if ${OPSYS} == FreeBSD
@${REINPLACE_CMD} -e 's|SF_FLAGS|SFIO_FLAGS|g' ${WRKSRC}/src/lib/libast/include/sfio*.h ${WRKSRC}/src/lib/libast/sfio/*.c
.endif
.if ${PORT_OPTIONS:MKSH93}
Index: shells/ksh93/Makefile
===================================================================
--- shells/ksh93/Makefile
+++ shells/ksh93/Makefile
@@ -43,7 +43,7 @@
.include <bsd.port.pre.mk>
post-patch:
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100093
+.if ${OPSYS} == FreeBSD
@${REINPLACE_CMD} -e 's|SF_FLAGS|SFIO_FLAGS|g' ${WRKSRC}/src/lib/libast/include/sfio*.h ${WRKSRC}/src/lib/libast/sfio/*.c
.endif
Index: sysutils/and/Makefile
===================================================================
--- sysutils/and/Makefile
+++ sysutils/and/Makefile
@@ -19,7 +19,7 @@
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100095
+.if ${OPSYS} == FreeBSD
post-patch:
@${REINPLACE_CMD} "s,P_KTHREAD,P_KPROC,g" \
${WRKSRC}/Makefile ${WRKSRC}/and-OpenBSD.c
Index: sysutils/cloudabi-utils/Makefile
===================================================================
--- sysutils/cloudabi-utils/Makefile
+++ sysutils/cloudabi-utils/Makefile
@@ -15,8 +15,6 @@
ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386
ONLY_FOR_ARCHS_REASON= CloudABI has not yet been ported to other architectures
-IGNORE_FreeBSD_10= requires various C++17 features
-
BUILD_DEPENDS= ${LOCALBASE}/include/cloudabi_types.h:devel/cloudabi \
${LOCALBASE}/include/flower/protocol/switchboard.ad.h:net/flower \
${LOCALBASE}/include/yaml2argdata/yaml_builder.h:devel/yaml2argdata
Index: sysutils/dwatch-gource/Makefile
===================================================================
--- sysutils/dwatch-gource/Makefile
+++ sysutils/dwatch-gource/Makefile
@@ -21,7 +21,7 @@
.include <bsd.port.options.mk>
-.if ${OSVERSION} < 1101516 || (${OSVERSION} >= 1200000 && ${OSVERSION} < 1200065)
+.if ${OSVERSION} >= 1200000 && ${OSVERSION} < 1200065
IGNORE= requires dwatch available in recent FreeBSD 11 or 12
.endif
Index: sysutils/dwatch-json/Makefile
===================================================================
--- sysutils/dwatch-json/Makefile
+++ sysutils/dwatch-json/Makefile
@@ -22,7 +22,7 @@
.include <bsd.port.options.mk>
-.if ${OSVERSION} < 1101516 || (${OSVERSION} >= 1200000 && ${OSVERSION} < 1200065)
+.if ${OSVERSION} >= 1200000 && ${OSVERSION} < 1200065
IGNORE= requires dwatch available in recent FreeBSD 11 or 12
.endif
Index: sysutils/dwatch-pwsnoop/Makefile
===================================================================
--- sysutils/dwatch-pwsnoop/Makefile
+++ sysutils/dwatch-pwsnoop/Makefile
@@ -22,7 +22,7 @@
.include <bsd.port.options.mk>
-.if ${OSVERSION} < 1101516 || (${OSVERSION} >= 1200000 && ${OSVERSION} < 1200065)
+.if ${OSVERSION} >= 1200000 && ${OSVERSION} < 1200065
IGNORE= requires dwatch available in recent FreeBSD 11 or 12
.endif
Index: sysutils/fusefs-lkl/Makefile
===================================================================
--- sysutils/fusefs-lkl/Makefile
+++ sysutils/fusefs-lkl/Makefile
@@ -29,8 +29,6 @@
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON=No one has added other architecture ld formats yet
-IGNORE_FreeBSD_10= requires FreeBSD 11 or newer
-
WRKSRC_SUBDIR= tools/lkl
MAKE_JOBS_UNSAFE=yes
MAKE_ARGS+= V=1
Index: sysutils/nvme-cli/Makefile
===================================================================
--- sysutils/nvme-cli/Makefile
+++ sysutils/nvme-cli/Makefile
@@ -14,7 +14,6 @@
# And there's plenty in amd64 that compiles, but won't run (eg using /sys/, etc)
ONLY_FOR_ARCHS= amd64
BROKEN_FreeBSD_11= Uses newer API than in 11.x
-BROKEN_FreeBSD_10= Uses newer API than in 10.x
USES= gmake
Index: sysutils/osquery/Makefile
===================================================================
--- sysutils/osquery/Makefile
+++ sysutils/osquery/Makefile
@@ -67,12 +67,6 @@
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 1100000
-BUILD_DEPENDS+= clang60:devel/llvm60
-CC= clang60
-CXX= clang++60
-.endif
-
post-patch:
${REINPLACE_CMD} -e 's|/var/osquery/|/var/db/osquery/|g' \
${WRKSRC}/tools/deployment/osquery.example.conf
Index: sysutils/passwordsafe/Makefile
===================================================================
--- sysutils/passwordsafe/Makefile
+++ sysutils/passwordsafe/Makefile
@@ -66,10 +66,4 @@
${STAGEDIR}${PREFIX}/locale/$l/LC_MESSAGES
.endfor
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
-BROKEN= clang segfaults on 10.x
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: sysutils/pefs-kmod/Makefile
===================================================================
--- sysutils/pefs-kmod/Makefile
+++ sysutils/pefs-kmod/Makefile
@@ -40,11 +40,7 @@
.endif
.if ${OPSYS} == FreeBSD
-. if ${OSVERSION} >= 1100117
PLIST_FILES+= lib/pam_pefs.so.6
-. else
-PLIST_FILES+= lib/pam_pefs.so.5
-. endif
.endif
.include <bsd.port.mk>
Index: sysutils/pfstat/Makefile
===================================================================
--- sysutils/pfstat/Makefile
+++ sysutils/pfstat/Makefile
@@ -34,7 +34,7 @@
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" \
${WRKSRC}/pfstat.[c8]
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100070
+.if ${OPSYS} == FreeBSD
@${REINPLACE_CMD} 's|altq/|net/&|' ${WRKSRC}/pf.c
.endif
Index: sysutils/pftop/Makefile
===================================================================
--- sysutils/pftop/Makefile
+++ sysutils/pftop/Makefile
@@ -18,7 +18,7 @@
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100080
+.if ${OPSYS} == FreeBSD
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-bpf_dump.c \
${FILESDIR}/extra-patch-sf-gencode.h
.endif
@@ -45,7 +45,7 @@
PLIST_FILES= sbin/pftop man/man8/pftop.8.gz
post-patch:
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000
+.if ${OPSYS} == FreeBSD
@${ECHO_MSG} "===> Applying FairQ/Codel patches to ${PORTNAME}."
@${CAT} ${FILESDIR}/extra-patch-fairq_codel.diff | \
${PATCH} -d ${PATCH_WRKSRC} ${PATCH_ARGS}
@@ -56,9 +56,7 @@
@${REINPLACE_CMD} -e 's|__dead|__dead2|g' ${WRKSRC}/sf-gencode.c
@${REINPLACE_CMD} -e 's|#include <net/if_pflog.h>||g' \
${WRKSRC}/sf-gencode.c
-.if ${OPSYS} == DragonFly || ${OSVERSION} >= 1100070
@${REINPLACE_CMD} -e 's|altq/|net/&|' ${WRKSRC}/pftop.c
-.endif
@${REINPLACE_CMD} -e 's|#include .pcap-int.h.|#include <pcap/pcap.h>|g' \
${WRKSRC}/bpf_image.c \
${WRKSRC}/bpf_optimize.c \
Index: sysutils/qjail/Makefile
===================================================================
--- sysutils/qjail/Makefile
+++ sysutils/qjail/Makefile
@@ -24,8 +24,6 @@
NO_BUILD= yes
NO_ARCH= yes
-IGNORE_FreeBSD_10= This version only for FreeBSD 11+
-
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/qjail \
${STAGEDIR}${PREFIX}/bin
Index: sysutils/rdate/Makefile
===================================================================
--- sysutils/rdate/Makefile
+++ sysutils/rdate/Makefile
@@ -18,7 +18,7 @@
post-patch:
${REINPLACE_CMD} -e 's,/right,,' ${WRKSRC}/rdate.8
-.if ${OPSYS} == DragonFly || ${OSVERSION} < 1100072
+.if ${OPSYS} == DragonFly
${REINPLACE_CMD} -e '/^SRCS/s/$$/ reallocarray.c/' ${WRKSRC}/Makefile
${ECHO} 'void *reallocarray(void *optr, size_t nmemb, size_t size);' \
>> ${WRKSRC}/ntpleaps.h
Index: sysutils/rsyslog8/Makefile
===================================================================
--- sysutils/rsyslog8/Makefile
+++ sysutils/rsyslog8/Makefile
@@ -145,9 +145,6 @@
@${GREP} -rl '/etc/rsyslog.conf' ${WRKSRC}|${XARGS} ${REINPLACE_CMD} -e\
's|/etc/rsyslog.conf|${PREFIX}/etc/rsyslog.conf|'
@${REINPLACE_CMD} -e 's,/lib/rsyslog,${PREFIX}/lib/rsyslog,' ${WRKSRC}/tools/syslogd.c
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100504
- @${REINPLACE_CMD} -e 's,recvmmsg ,,' ${WRKSRC}/configure.ac
-.endif
@${FIND} ${WRKSRC} -name '*.bak' -delete
post-install-DOCS-on:
Index: sysutils/shuf/Makefile
===================================================================
--- sysutils/shuf/Makefile
+++ sysutils/shuf/Makefile
@@ -11,8 +11,6 @@
LICENSE= ISCL
-BROKEN_FreeBSD_10= Requires reallocarray
-
GNU_CONFIGURE= yes
PLIST_FILES= bin/shuf man/man1/shuf.1.gz
Index: sysutils/smart/Makefile
===================================================================
--- sysutils/smart/Makefile
+++ sysutils/smart/Makefile
@@ -9,8 +9,6 @@
LICENSE= ISCL
-IGNORE_FreeBSD_10= Requires FreeBSD 11 or later
-
USE_GITHUB= yes
GH_ACCOUNT= ctuffli
Index: sysutils/symon/Makefile
===================================================================
--- sysutils/symon/Makefile
+++ sysutils/symon/Makefile
@@ -62,7 +62,7 @@
post-patch:
# We need to teach symon about mbstat changes/removal in r253351 and r253361.
@${RM} ${WRKSRC}/platform/FreeBSD/sm_mbuf.c
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100070
+.if ${OPSYS} == FreeBSD
@${REINPLACE_CMD} 's|altq/|net/&|' ${WRKSRC}/platform/FreeBSD/sm_pfq.c
.endif
Index: sysutils/xen-tools411/Makefile
===================================================================
--- sysutils/xen-tools411/Makefile
+++ sysutils/xen-tools411/Makefile
@@ -13,8 +13,6 @@
LICENSE= GPLv2 LGPL3
LICENSE_COMB= multi
-BROKEN_FreeBSD_10= does not build
-
LIB_DEPENDS= libyajl.so:devel/yajl \
liblzo2.so:archivers/lzo2 \
libpixman-1.so:x11/pixman \
Index: sysutils/xen-tools47/Makefile
===================================================================
--- sysutils/xen-tools47/Makefile
+++ sysutils/xen-tools47/Makefile
@@ -13,8 +13,6 @@
LICENSE= GPLv2 LGPL3
LICENSE_COMB= multi
-BROKEN_FreeBSD_10= does not build
-
LIB_DEPENDS= libyajl.so:devel/yajl \
liblzo2.so:archivers/lzo2 \
libpixman-1.so:x11/pixman \
Index: textproc/castxml/Makefile
===================================================================
--- textproc/castxml/Makefile
+++ textproc/castxml/Makefile
@@ -10,8 +10,6 @@
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_FreeBSD_10= plist mismatch: extra items are installed for some reason
-
BUILD_DEPENDS= clang${LLVM_VERSION}:devel/llvm${LLVM_VERSION}
RUN_DEPENDS= clang${LLVM_VERSION}:devel/llvm${LLVM_VERSION}
Index: www/apache24/Makefile
===================================================================
--- www/apache24/Makefile
+++ www/apache24/Makefile
@@ -175,11 +175,6 @@
CONFIGURE_ARGS+= --enable-exception-hook
.endif
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100085 &&\
- ${PORT_OPTIONS:MHTTP2} && ${OPENSSLBASE} == /usr
-SUB_FILES+= pkg-message
-.endif
-
pre-extract-SUEXEC-on:
@${ECHO_CMD} ""
@${ECHO_CMD} "suexec builds with user '${USERS}' and docroot '${PREFIX}/www' by default,"
Index: www/apache24/files/pkg-message.in
===================================================================
--- www/apache24/files/pkg-message.in
+++ /dev/null
@@ -1,5 +0,0 @@
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!! mod_http2 on FreeBSD with OpenSSL from base results in a mostly !!
-!! functionally unusable module due to lack of "Upgrade" !!
-!! capability in OpenSSL 1.0.1. !!
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Index: www/chromium/Makefile
===================================================================
--- www/chromium/Makefile
+++ www/chromium/Makefile
@@ -204,15 +204,8 @@
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1101513
-BUILD_DEPENDS+= clang60:devel/llvm60
-CC= clang60
-CXX= clang++60
-EXTRA_PATCHES+= ${FILESDIR}/extra-patch-llvm-port
-.else
BUILD_DEPENDS+= ${LOCALBASE}/bin/ar:devel/binutils
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-llvm-base
-.endif
# TODO: -isystem, would be just as ugly as this approach, but more reliably
# build would fail without C_INCLUDE_PATH/CPLUS_INCLUDE_PATH env var set.
Index: www/chromium/files/extra-patch-llvm-port
===================================================================
--- www/chromium/files/extra-patch-llvm-port
+++ /dev/null
@@ -1,59 +0,0 @@
---- build/toolchain/gcc_toolchain.gni.orig 2018-06-13 00:10:02.000000000 +0200
-+++ build/toolchain/gcc_toolchain.gni 2018-07-21 12:38:45.107087000 +0200
-@@ -25,6 +25,11 @@
- rebase_path("//build/toolchain/clang_static_analyzer_wrapper.py",
- root_build_dir) + " --mode=clang"
-
-+declare_args() {
-+ extra_cxxflags = ""
-+ extra_ldflags = ""
-+}
-+
- # This template defines a toolchain for something that works like gcc
- # (including clang).
- #
-@@ -343,12 +348,12 @@
- # We use slightly different arflags for AIX.
- extra_arflags = "-r -c -s"
- } else {
-- extra_arflags = "-r -c -s -D"
-+ extra_arflags = "rcsD"
- }
-
- # Almost all targets build with //build/config/compiler:thin_archive which
- # adds -T to arflags.
-- command = "$python_path \"$ar_wrapper\"$whitelist_flag --output={{output}} --ar=\"$ar\" \"{{arflags}} $extra_arflags\" @\"$rspfile\""
-+ command = "$python_path \"$ar_wrapper\"$whitelist_flag --output={{output}} --ar=\"$ar\" {{arflags}} $extra_arflags @\"$rspfile\""
- description = "AR {{output}}"
- rspfile_content = "{{inputs}}"
- outputs = [
-@@ -608,13 +613,22 @@
- }
-
- gcc_toolchain(target_name) {
-- prefix = rebase_path("$clang_base_path/bin", root_build_dir)
-- cc = "$prefix/clang"
-- cxx = "$prefix/clang++"
-- ld = cxx
-- readelf = "${toolprefix}readelf"
-- ar = "${prefix}/llvm-ar"
-- nm = "${toolprefix}nm"
-+ if (is_bsd) {
-+ cc = "${toolprefix}clang60"
-+ cxx = "${toolprefix}clang++60"
-+ ld = cxx
-+ readelf = "readelf"
-+ ar = "${toolprefix}llvm-ar60"
-+ nm = "${toolprefix}llvm-nm60"
-+ } else {
-+ prefix = rebase_path("$clang_base_path/bin", root_build_dir)
-+ cc = "$prefix/clang"
-+ cxx = "$prefix/clang++"
-+ ld = cxx
-+ readelf = "${toolprefix}readelf"
-+ ar = "${prefix}/llvm-ar"
-+ nm = "${toolprefix}nm"
-+ }
-
- forward_variables_from(invoker,
- [
Index: www/firefox/Makefile.options
===================================================================
--- www/firefox/Makefile.options
+++ www/firefox/Makefile.options
@@ -19,11 +19,6 @@
OPTIONS_EXCLUDE+= DTRACE
.endif
-# dtrace -G crashes with clang++70 (conditional from Mk/bsd.gecko.mk)
-.if ${CC} == cc && ${CXX} == c++ && exists(/usr/lib/libc++.so)
-OPTIONS_EXCLUDE_FreeBSD_10= DTRACE
-.endif
-
# opensolaris/lib/libdtrace/common/dt_link.c:
# <arch> not implemented
# failed to allocate space for probe
Index: www/gitea/Makefile
===================================================================
--- www/gitea/Makefile
+++ www/gitea/Makefile
@@ -40,7 +40,7 @@
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100513
+.if ${OPSYS} == FreeBSD
DAEMONARGS= -S -l \$${gitea_facility} -s \$${gitea_priority} -T \$${name}
.else
DAEMONARGS= -f
Index: www/iridium/Makefile
===================================================================
--- www/iridium/Makefile
+++ www/iridium/Makefile
@@ -162,17 +162,8 @@
SNDIO_VARS= GN_ARGS+=use_sndio=true
SNDIO_VARS_OFF= GN_ARGS+=use_sndio=false
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1101513
-BUILD_DEPENDS+= clang60:devel/llvm60
-CC= clang60
-CXX= clang++60
-EXTRA_PATCHES+= ${FILESDIR}/extra-patch-llvm-port
-.else
BUILD_DEPENDS+= ${LOCALBASE}/bin/ar:devel/binutils
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-llvm-base
-.endif
# TODO: -isystem, would be just as ugly as this approach, but more reliably
# build would fail without C_INCLUDE_PATH/CPLUS_INCLUDE_PATH env var set.
Index: www/iridium/files/extra-patch-llvm-port
===================================================================
--- www/iridium/files/extra-patch-llvm-port
+++ /dev/null
@@ -1,148 +0,0 @@
---- build/toolchain/gcc_toolchain.gni.orig 2018-06-13 00:10:02.000000000 +0200
-+++ build/toolchain/gcc_toolchain.gni 2018-07-21 12:38:45.107087000 +0200
-@@ -25,6 +25,11 @@
- rebase_path("//build/toolchain/clang_static_analyzer_wrapper.py",
- root_build_dir) + " --mode=clang"
-
-+declare_args() {
-+ extra_cxxflags = ""
-+ extra_ldflags = ""
-+}
-+
- # This template defines a toolchain for something that works like gcc
- # (including clang).
- #
-@@ -343,12 +348,12 @@
- # We use slightly different arflags for AIX.
- extra_arflags = "-r -c -s"
- } else {
-- extra_arflags = "-r -c -s -D"
-+ extra_arflags = "rcsD"
- }
-
- # Almost all targets build with //build/config/compiler:thin_archive which
- # adds -T to arflags.
-- command = "$python_path \"$ar_wrapper\"$whitelist_flag --output={{output}} --ar=\"$ar\" \"{{arflags}} $extra_arflags\" @\"$rspfile\""
-+ command = "$python_path \"$ar_wrapper\"$whitelist_flag --output={{output}} --ar=\"$ar\" {{arflags}} $extra_arflags @\"$rspfile\""
- description = "AR {{output}}"
- rspfile_content = "{{inputs}}"
- outputs = [
-@@ -608,13 +613,22 @@
- }
-
- gcc_toolchain(target_name) {
-- prefix = rebase_path("$clang_base_path/bin", root_build_dir)
-- cc = "$prefix/clang"
-- cxx = "$prefix/clang++"
-- ld = cxx
-- readelf = "${toolprefix}readelf"
-- ar = "${prefix}/llvm-ar"
-- nm = "${toolprefix}nm"
-+ if (is_bsd) {
-+ cc = "${toolprefix}clang60"
-+ cxx = "${toolprefix}clang++60"
-+ ld = cxx
-+ readelf = "readelf"
-+ ar = "${toolprefix}llvm-ar60"
-+ nm = "${toolprefix}llvm-nm60"
-+ } else {
-+ prefix = rebase_path("$clang_base_path/bin", root_build_dir)
-+ cc = "$prefix/clang"
-+ cxx = "$prefix/clang++"
-+ ld = cxx
-+ readelf = "${toolprefix}readelf"
-+ ar = "${prefix}/llvm-ar"
-+ nm = "${toolprefix}nm"
-+ }
-
- forward_variables_from(invoker,
- [
---- build/config/compiler/BUILD.gn.orig 2018-06-13 00:10:02.000000000 +0200
-+++ build/config/compiler/BUILD.gn 2018-07-21 12:57:03.823912000 +0200
-@@ -51,7 +51,7 @@
- # only two architectures that are currently checked in). Turn this off when
- # you are using a custom toolchain and need to control -B in cflags.
- linux_use_bundled_binutils =
-- linux_use_bundled_binutils_override && is_linux &&
-+ linux_use_bundled_binutils_override && (is_linux && !is_bsd) &&
- (current_cpu == "x64" || current_cpu == "x86")
- binutils_path = rebase_path("//third_party/binutils/Linux_x64/Release/bin",
- root_build_dir)
-@@ -375,8 +375,6 @@
- "-Wl,-z,relro",
- ]
- if (!using_sanitizer) {
-- ldflags += [ "-Wl,-z,defs" ]
--
- # Functions interposed by the sanitizers can make ld think
- # that some libraries aren't needed when they actually are,
- # http://crbug.com/234010. As workaround, disable --as-needed.
-@@ -467,7 +465,7 @@
- # TODO(hans): Remove this once Clang generates better optimized debug info by
- # default. https://crbug.com/765793
- if (is_clang && !is_nacl && current_toolchain == host_toolchain &&
-- target_os != "chromeos") {
-+ target_os != "chromeos" && !is_bsd) {
- cflags += [
- "-Xclang",
- "-mllvm",
-@@ -708,7 +706,7 @@
- cflags += [ "-mtune=$arm_tune" ]
- }
- } else if (current_cpu == "arm64") {
-- if (is_clang && !is_android && !is_nacl && !is_fuchsia) {
-+ if (is_clang && !is_android && !is_nacl && !is_fuchsia && !is_bsd) {
- cflags += [ "--target=aarch64-linux-gnu" ]
- ldflags += [ "--target=aarch64-linux-gnu" ]
- }
-@@ -1387,10 +1385,6 @@
-
- # TODO(hans): https://crbug.com/766891
- "-Wno-null-pointer-arithmetic",
--
-- # Ignore warnings about MSVC optimization pragmas.
-- # TODO(thakis): Only for no_chromium_code? http://crbug.com/505314
-- "-Wno-ignored-pragma-optimize",
- ]
- if (llvm_force_head_revision) {
- cflags += [
-@@ -1572,9 +1566,9 @@
- if ((is_posix && !is_nacl) || is_fuchsia) {
- # TODO(thomasanderson): Enable on ChromeOS builds once
- # https://crbug.com/829956 is fixed.
-- if (default_toolchain != "//build/toolchain/cros:target") {
-- arflags = [ "-T" ]
-- }
-+ # if (default_toolchain != "//build/toolchain/cros:target") {
-+ # arflags = [ "-T" ]
-+ # }
- }
- }
-
-@@ -2096,7 +2090,7 @@
- # [1] crrev.com/a81d5ade0b043208e06ad71a38bcf9c348a1a52f
- cflags += [ "-gdwarf-3" ]
- }
-- cflags += [ "-g2" ]
-+ cflags += [ "-g0" ]
- }
- if (use_debug_fission && !is_nacl) {
- cflags += [ "-gsplit-dwarf" ]
-@@ -2110,7 +2104,7 @@
- # DWARF info may be corrupt; offsets in a range list entry are in different
- # sections" there. Maybe just a bug in nacl_switch_32.S.
- if (!is_mac && !is_ios && !is_nacl && target_cpu != "x86" &&
-- (use_gold || use_lld)) {
-+ (use_gold || use_lld) && !is_bsd) {
- if (is_clang) {
- # This flag enables the GNU-format pubnames and pubtypes sections,
- # which lld needs in order to generate a correct GDB index.
-@@ -2207,7 +2201,7 @@
- if (!is_win && fatal_linker_warnings &&
- !(is_chromeos && current_cpu == "arm") &&
- !(is_android && use_order_profiling) && !is_mac && !is_ios &&
-- current_os != "aix") {
-+ current_os != "aix" && !is_bsd) {
- # TODO(jochen): Enable this on chromeos on arm. http://crbug.com/356580
- # TODO(lizeb,pasko): Fix link errors when linking with order_profiling=1
- # crbug.com/485542
Index: www/mod_md-devel/Makefile
===================================================================
--- www/mod_md-devel/Makefile
+++ www/mod_md-devel/Makefile
@@ -41,12 +41,6 @@
OPTIONS_DEFINE= DOCS
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100085 && ${SSL_DEFAULT} == base
-IGNORE= port requires OpenSSL 1.0.2 or later, set DEFAULT_VERSIONS+= ssl=openssl
-.endif
-
post-install:
${RM} ${STAGEDIR}${PREFIX}/share/doc/mod_md/LICENSE
${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d
@@ -58,4 +52,4 @@
(cd ${STAGEDIR}${PREFIX}/${APACHEMODDIR} && \
${LN} mod_manageddomain.so.0.0.0 mod_manageddomain.so)
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: www/nginx-devel/Makefile
===================================================================
--- www/nginx-devel/Makefile
+++ www/nginx-devel/Makefile
@@ -217,10 +217,6 @@
be defined. Please do 'make config' again
.endif
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100085 && ${SSL_DEFAULT} == base && ${PORT_OPTIONS:MCT}
-IGNORE= CT option requires OpenSSL 1.0.2, add DEFAULT_VERSIONS+=ssl=openssl to /etc/make.conf
-.endif
-
.if !${PORT_OPTIONS:MHTTP_REWRITE} && !defined(USE_HTTP_REWRITE)
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-nopcre
.endif
Index: www/nginx/Makefile
===================================================================
--- www/nginx/Makefile
+++ www/nginx/Makefile
@@ -219,10 +219,6 @@
be defined. Please do 'make config' again
.endif
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100085 && ${SSL_DEFAULT} == base && ${PORT_OPTIONS:MCT}
-IGNORE= CT option requires OpenSSL 1.0.2, add DEFAULT_VERSIONS+=ssl=openssl to /etc/make.conf
-.endif
-
.if !${PORT_OPTIONS:MHTTP_REWRITE} && !defined(USE_HTTP_REWRITE)
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-nopcre
.endif
Index: www/node/Makefile
===================================================================
--- www/node/Makefile
+++ www/node/Makefile
@@ -24,7 +24,6 @@
OPTIONS_EXCLUDE+= DTRACE
.endif
-OPTIONS_EXCLUDE_FreeBSD_10= DTRACE
OPTIONS_EXCLUDE_aarch64= DTRACE
# dt_modtext:/usr/src/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c(820): arm not implemented
OPTIONS_EXCLUDE_armv6= DTRACE
Index: www/node6/Makefile
===================================================================
--- www/node6/Makefile
+++ www/node6/Makefile
@@ -20,14 +20,10 @@
OPTIONS_DEFAULT=DTRACE
OPTIONS_SUB= yes
-OPTIONS_DEFAULT_FreeBSD_10= BUNDLED_SSL
-OPTIONS_DEFAULT+= ${OPTIONS_DEFAULT_${OPSYS}_${OSREL:R}}
-
.if !exists(/usr/sbin/dtrace)
OPTIONS_EXCLUDE+= DTRACE
.endif
-OPTIONS_EXCLUDE_FreeBSD_10= DTRACE
# dt_modtext:/usr/src/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c(820): arm not implemented
OPTIONS_EXCLUDE_armv6= DTRACE
OPTIONS_EXCLUDE_armv7= DTRACE
@@ -66,10 +62,6 @@
.include <bsd.port.options.mk>
.if empty(PORT_OPTIONS:MBUNDLED_SSL)
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100085 && ${SSL_DEFAULT} == base
-IGNORE= node.js requires openssl 1.0.2, add DEFAULT_VERSIONS+=ssl=openssl to /etc/make.conf or enable BUNDLED_SSL option
-.endif
.if !empty(SSL_DEFAULT:Mlibressl*)
IGNORE= cannot build node.js with LibreSSL. You must enable BUNDLED_SSL
Index: www/node8/Makefile
===================================================================
--- www/node8/Makefile
+++ www/node8/Makefile
@@ -20,14 +20,10 @@
OPTIONS_DEFAULT=DTRACE
OPTIONS_SUB= yes
-OPTIONS_DEFAULT_FreeBSD_10= BUNDLED_SSL
-OPTIONS_DEFAULT+= ${OPTIONS_DEFAULT_${OPSYS}_${OSREL:R}}
-
.if !exists(/usr/sbin/dtrace)
OPTIONS_EXCLUDE+= DTRACE
.endif
-OPTIONS_EXCLUDE_FreeBSD_10= DTRACE
OPTIONS_EXCLUDE_aarch64= DTRACE
# dt_modtext:/usr/src/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c(820): arm not implemented
OPTIONS_EXCLUDE_armv6= DTRACE
@@ -70,10 +66,6 @@
.include <bsd.port.options.mk>
.if empty(PORT_OPTIONS:MBUNDLED_SSL)
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100085 && ${SSL_DEFAULT} == base
-IGNORE= node.js requires openssl 1.0.2, add DEFAULT_VERSIONS+=ssl=openssl to /etc/make.conf or enable BUNDLED_SSL option
-.endif
.if !empty(SSL_DEFAULT:Mlibressl*)
IGNORE= cannot build node.js with LibreSSL. You must enable BUNDLED_SSL
Index: www/qt5-webengine/Makefile
===================================================================
--- www/qt5-webengine/Makefile
+++ www/qt5-webengine/Makefile
@@ -87,20 +87,6 @@
# dependencies correctly in the generated Makefiles, use the right target here.
ALL_TARGET= first
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
-EXTRA_PATCHES+= ${FILESDIR}/extra-patch-10
-.endif # ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
-
-# 1101513 is 11-STABLE after merging clang, llvm, lld, lldb, compiler-rt and
-# libc++ 6.0.0 release, and several follow-up fixes.
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1101513
-BUILD_DEPENDS+= clang60:devel/llvm60
-CC= clang60
-CXX= clang++60
-.endif # ${OPSYS} == FreeBSD && ${OSVERSION} < 1101513
-
# We need ar(1) from ports because the Chromium code uses the @file syntax.
# We then need to ensure ld(1) from ports is used because of the archives ar(1)
# generated.
@@ -144,4 +130,4 @@
# Rerun syncqt.pl -- otherwise the resulting package misses some forwarding headers.
cd ${WRKSRC} && ${QT_BINDIR}/syncqt.pl -version ${QT5_VERSION}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: www/qt5-webengine/files/extra-patch-10
===================================================================
--- www/qt5-webengine/files/extra-patch-10
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/3rdparty/chromium/third_party/skia/src/core/SkSmallAllocator.h.orig 2017-02-01 20:16:14.715097000 +0100
-+++ src/3rdparty/chromium/third_party/skia/src/core/SkSmallAllocator.h 2017-02-01 20:24:56.680605000 +0100
-@@ -20,7 +20,7 @@
- // abstract type. The complication with max_align_t is that it is defined differently for
- // different builds.
- namespace {
--#if defined(SK_BUILD_FOR_WIN32) || defined(SK_BUILD_FOR_MAC)
-+#if defined(SK_BUILD_FOR_WIN32) || defined(SK_BUILD_FOR_MAC) || defined(__FreeBSD__)
- // Use std::max_align_t for compiles that follow the standard.
- #include <cstddef>
- using SystemAlignment = std::max_align_t;
Index: www/tomcat-native/Makefile
===================================================================
--- www/tomcat-native/Makefile
+++ www/tomcat-native/Makefile
@@ -34,10 +34,4 @@
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtcnative-1.so.0.2.16
-.include <bsd.port.pre.mk>
-
-.if ${SSL_DEFAULT} == base
-IGNORE_FreeBSD_10= Requires OpenSSL 1.0.2 (set DEFAULT_VERSIONS+=ssl=openssl)
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: www/webhook/Makefile
===================================================================
--- www/webhook/Makefile
+++ www/webhook/Makefile
@@ -20,7 +20,7 @@
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100513
+.if ${OPSYS} == FreeBSD
DAEMONARGS= -S -l \$${webhook_facility} -s \$${webhook_priority} -t \$${name}
.else
DAEMONARGS= -f
Index: www/xombrero/Makefile
===================================================================
--- www/xombrero/Makefile
+++ www/xombrero/Makefile
@@ -14,8 +14,6 @@
LIB_DEPENDS= libgnutls.so:security/gnutls \
libsoup-2.4.so:devel/libsoup
-BROKEN_FreeBSD_10= does not build
-
USES= desktop-file-utils groff pkgconfig perl5 tar:tgz
USE_PERL5= build
INSTALLS_ICONS= yes
Index: x11-drivers/xf86-video-amdgpu/Makefile
===================================================================
--- x11-drivers/xf86-video-amdgpu/Makefile
+++ x11-drivers/xf86-video-amdgpu/Makefile
@@ -22,12 +22,6 @@
CONFIGURE_ARGS+=--disable-udev
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1101510
-IGNORE= not supported on 11.1 or older, no kernel support
-.endif
-
PLIST_FILES= lib/xorg/modules/drivers/amdgpu_drv.so \
man/man4/amdgpu.4x.gz \
share/X11/xorg.conf.d/10-amdgpu.conf
Index: x11-toolkits/gtk30/Makefile
===================================================================
--- x11-toolkits/gtk30/Makefile
+++ x11-toolkits/gtk30/Makefile
@@ -55,7 +55,6 @@
OPTIONS_DEFINE= CUPS CLOUDPRINT COLORD DEBUG BROADWAY WAYLAND
OPTIONS_DEFAULT=CUPS COLORD BROADWAY
-OPTIONS_EXCLUDE_FreeBSD_10= WAYLAND
OPTIONS_SUB= yes
BROADWAY_DESC= Enable GDK Broadway backend for showing GTK+ in the webbrowser using HTML5 and web sockets.
Index: x11-toolkits/vte3/Makefile
===================================================================
--- x11-toolkits/vte3/Makefile
+++ x11-toolkits/vte3/Makefile
@@ -34,10 +34,4 @@
PLIST_SUB= VERSION=2.91
-.include <bsd.port.options.mk>
-
-.if ${OSVERSION} <= 1100000
-EXTRA_PATCHES= ${FILESDIR}/extra-src_app_app.cc
-.endif
-
.include <bsd.port.mk>
Index: x11-toolkits/vte3/files/extra-src_app_app.cc
===================================================================
--- x11-toolkits/vte3/files/extra-src_app_app.cc
+++ /dev/null
@@ -1,13 +0,0 @@
-# fix on 104-i386 with clang 3.4
-
---- src/app/app.cc.orig 2018-06-07 17:57:35.192459000 +0200
-+++ src/app/app.cc 2018-06-07 17:58:50.068954000 +0200
-@@ -306,7 +306,7 @@
- else
- alpha = get_alpha();
-
-- GdkRGBA color{bg_color};
-+ GdkRGBA color = bg_color;
- color.alpha = alpha;
- return color;
- }
Index: x11-wm/cwm/Makefile
===================================================================
--- x11-wm/cwm/Makefile
+++ x11-wm/cwm/Makefile
@@ -28,7 +28,7 @@
@${REINPLACE_CMD} 's@/usr/X11R6@${LOCALBASE}@' ${WRKSRC}/cwmrc.5
@${REINPLACE_CMD} -e 's@strlcpy.o strlcat.o@@' \
-e 's@strtonum.o@@' ${WRKSRC}/Makefile
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100072
+.if ${OPSYS} == FreeBSD
@${REINPLACE_CMD} 's@reallocarray.o@@' ${WRKSRC}/Makefile
.endif
Index: x11-wm/plasma5-kwin/Makefile
===================================================================
--- x11-wm/plasma5-kwin/Makefile
+++ x11-wm/plasma5-kwin/Makefile
@@ -44,14 +44,8 @@
quickcontrols2_run virtualkeyboard_run
USE_XORG= ice sm x11 xcb xext xi
-.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
-# Base compiler clang 3.5 does not understand -Winconsistent-missing-override
-EXTRA_PATCHES= ${PATCHDIR}/extra-patch-fbsd10
-.endif
-
post-patch:
${REINPLACE_CMD} '/sysmacros.h/d' \
${PATCH_WRKSRC}/logind.cpp
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: x11-wm/plasma5-kwin/files/extra-patch-fbsd10
===================================================================
--- x11-wm/plasma5-kwin/files/extra-patch-fbsd10
+++ /dev/null
@@ -1,16 +0,0 @@
-Clang 3.4 (base compiler in 10-STABLE) does not know
--Winconsistent-missing-override, and having that flag
-in the CXX flags messes up visibility detection. So
-don't warn about unknown warnings.
-
---- CMakeLists.txt.orig 2017-09-21 18:34:57.176858000 +0200
-+++ CMakeLists.txt 2017-09-21 18:35:15.580988000 +0200
-@@ -53,7 +53,7 @@
- set(CMAKE_CXX_STANDARD_REQUIRED ON)
-
- if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
-- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-inconsistent-missing-override")
-+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unknown-warning-option -Wno-inconsistent-missing-override")
- endif()
-
- find_package(Qt5Multimedia QUIET)
Index: x11/fluxbg/Makefile
===================================================================
--- x11/fluxbg/Makefile
+++ x11/fluxbg/Makefile
@@ -25,12 +25,4 @@
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \
s|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/src/fluxbg_conf.cc
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100077
-# chmod -R bug
-post-extract:
- ${CHMOD} +x ${WRKSRC}/autom4te.cache
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: x11/xlockmore/Makefile
===================================================================
--- x11/xlockmore/Makefile
+++ x11/xlockmore/Makefile
@@ -162,7 +162,7 @@
@${REINPLACE_CMD} -e '/xglockrc/ s|PROGRAM|DATA|' ${WRKSRC}/xglock/Makefile.in
@${REINPLACE_CMD} -e 's|$$(SOUNDPATH)|$$(DESTDIR)$$(SOUNDPATH)|g' ${WRKSRC}/modes/Makefile.in
@${REINPLACE_CMD} -e '/$$(ETCDIR)play.sh/ s|$$(INSTALL_PROGRAM)|$$(INSTALL_PROGRAM:N-s)|' ${WRKSRC}/modes/Makefile.in
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000
+.if ${OPSYS} == FreeBSD
@${REINPLACE_CMD} -e 's|/usr/games/fortune|/usr/bin/fortune|' ${WRKSRC}/modes/Makefile.in
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 15, 6:50 PM (9 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25336117
Default Alt Text
D17724.id49702.largetrue.diff (127 KB)
Attached To
Mode
D17724: Remove support for FreeBSD < 11.2
Attached
Detach File
Event Timeline
Log In to Comment