Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2017 10:08:38 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r431169 - in head: databases/mysql80-server databases/mysql80-server/files devel/kf5-solid devel/lxqt-build-tools devel/lxqt-build-tools/files dns/unbound editors/focuswriter editors/li...
Message-ID:  <201701111008.v0BA8cWW001958@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Jan 11 10:08:38 2017
New Revision: 431169
URL: https://svnweb.freebsd.org/changeset/ports/431169

Log:
  - Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL
  
  Approved by:	portmgr blanket

Deleted:
  head/databases/mysql80-server/files/rapid_plugin-patch-_x_mysqlxtest__src_mysqlxtest.cc
  head/devel/lxqt-build-tools/files/
Modified:
  head/databases/mysql80-server/Makefile
  head/devel/kf5-solid/Makefile
  head/devel/lxqt-build-tools/Makefile
  head/dns/unbound/Makefile
  head/editors/focuswriter/Makefile
  head/editors/libreoffice/Makefile
  head/editors/libreoffice4/Makefile
  head/emulators/linux_base-c7/Makefile
  head/emulators/wine/Makefile
  head/games/corsix-th/Makefile
  head/games/vultures-eye/Makefile
  head/graphics/inkscape/Makefile
  head/graphics/luminance-qt5/Makefile
  head/graphics/openshadinglanguage/Makefile
  head/java/eclipse/Makefile
  head/lang/mono/Makefile
  head/lang/smlnj/Makefile
  head/lang/swift/Makefile
  head/mail/opensmtpd-devel/Makefile
  head/mail/opensmtpd/Makefile
  head/math/R/compiler.mk
  head/multimedia/gstreamer1-editing-services/Makefile
  head/multimedia/plexhometheater/Makefile
  head/multimedia/transcode/Makefile
  head/multimedia/zoneminder-h264/Makefile
  head/multimedia/zoneminder/Makefile
  head/net-im/skype4/Makefile
  head/net-mgmt/collectd5/Makefile
  head/net-mgmt/collectd5/pkg-plist
  head/net-mgmt/icinga2/Makefile
  head/net/freediameter/Makefile
  head/net/glusterfs/Makefile
  head/net/openntpd/Makefile
  head/science/clhep/Makefile
  head/science/libxc/Makefile
  head/science/meep/Makefile
  head/security/afl/Makefile
  head/security/afl/pkg-plist
  head/security/bro/Makefile
  head/security/fastd-devel/Makefile
  head/security/libotr/Makefile
  head/sysutils/arcconf/Makefile
  head/sysutils/bulk_extractor/Makefile
  head/sysutils/lsof/Makefile
  head/sysutils/osquery/Makefile
  head/textproc/xxdiff/Makefile
  head/www/chromium/Makefile
  head/www/nextcloud/Makefile
  head/www/owncloud/Makefile
  head/www/webkit-gtk2/Makefile
  head/www/webkit-gtk3/Makefile
  head/www/webkit2-gtk3/Makefile
  head/x11-toolkits/gnome-pty-helper/Makefile
  head/x11-toolkits/vte3/Makefile
  head/x11/leechcraft/Makefile

Modified: head/databases/mysql80-server/Makefile
==============================================================================
--- head/databases/mysql80-server/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/databases/mysql80-server/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -131,15 +131,6 @@ PERFSCHM_SUB_LIST+=	PERFSCHEMRC=""
 PERFSCHM_SUB_LIST_OFF+=	PERFSCHEMRC="--skip-performance-schema"
 .endif
 
-.include <bsd.port.options.mk>
-
-### Just for the sake of FreeBSD 9.X ###
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
-.  if !defined(CLIENT_ONLY)
-EXTRA_PATCHES+=		${PATCHDIR}/rapid_plugin-patch-_x_mysqlxtest__src_mysqlxtest.cc
-.  endif
-.endif
-
 .include <bsd.port.pre.mk>
 
 .if ${SSL_DEFAULT} == base

Modified: head/devel/kf5-solid/Makefile
==============================================================================
--- head/devel/kf5-solid/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/devel/kf5-solid/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -18,10 +18,4 @@ BSDISKS_DESC=		Use bsdisks instead of ha
 BSDISKS_CMAKE_BOOL=	EXPERIMENTAL_BSDISKS
 BSDISKS_RUN_DEPENDS=	bsdisks:sysutils/bsdisks
 
-.include <bsd.port.pre.mk>
-# Flex on FreeBSD 9 and older 10 is too old
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000033
-BUILD_DEPENDS+=	${LOCALBASE}/bin/flex:textproc/flex
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/devel/lxqt-build-tools/Makefile
==============================================================================
--- head/devel/lxqt-build-tools/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/devel/lxqt-build-tools/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -12,17 +12,7 @@ COMMENT=	Helpers CMake modules for LXQt
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/BSD-3-Clause
 
-USES=	cmake:outsource lxqt pkgconfig tar:xz
+USES=		cmake:outsource lxqt pkgconfig tar:xz
 USE_QT5=	qmake_build buildtools_build core
 
-.include <bsd.port.pre.mk>
-
-# When the CXX compiler is GNU 4.2.1 (DragonFlyBSD seems to have >= 4.7.x)
-# we get the following errors:
-# cc1plus: error: unrecognized command line option "-flto"
-# cc1plus: error: unrecognized command line option "-fuse-linker-plugin"
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000024
-EXTRA_PATCHES=	${FILESDIR}/extra-patch-cmake_modules_LXQtCompilerSettings.cmake
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/dns/unbound/Makefile
==============================================================================
--- head/dns/unbound/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/dns/unbound/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -66,14 +66,6 @@ PYTHON_USES=		python:2
 PYTHON_VARS=		STRIP_FILES+=.libs/_unbound.so
 THREADS_CONFIGURE_WITH=	pthreads
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MGOST}
-. if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000015
-WITH_OPENSSL_PORT=	yes
-. endif
-.endif
-
 post-patch:
 	@${RM} ${WRKSRC}/util/configlexer.c
 	@${REINPLACE_CMD} -e 's|if test ! -e $$(DESTDIR)$$(configfile); then || ; \

Modified: head/editors/focuswriter/Makefile
==============================================================================
--- head/editors/focuswriter/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/editors/focuswriter/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -31,26 +31,15 @@ PORTDOCS=	CREDITS NEWS README
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.pre.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e '/INSTALLS/s/man //' \
 		${WRKSRC}/focuswriter.pro
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000054
-	@${REINPLACE_CMD} -e 's/std::lround/lround/g' \
-		${WRKSRC}/src/daily_progress_dialog.cpp \
-		${WRKSRC}/src/scene_list.cpp \
-		${WRKSRC}/src/theme_dialog.cpp \
-		${WRKSRC}/src/fileformats/docx_reader.cpp \
-		${WRKSRC}/src/fileformats/odt_reader.cpp \
-		${WRKSRC}/src/fileformats/rtf_reader.cpp
-.endif
-
-do-install-DOCS-on:
-	(cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
 
 post-install:
 	${INSTALL_MAN} ${WRKSRC}/resources/unix/focuswriter.1 \
 		${STAGEDIR}${PREFIX}/man/man1
 
-.include <bsd.port.post.mk>
+post-install-DOCS-on:
+	(cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
+
+.include <bsd.port.mk>

Modified: head/editors/libreoffice/Makefile
==============================================================================
--- head/editors/libreoffice/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/editors/libreoffice/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -270,11 +270,6 @@ _MAKE_JOBS=	#
 .if ${COMPILER_FEATURES:Mlibstdc++}
 BROKEN=		Build with system libstdc++ is unsupported
 .endif
-
-.if ${OSVERSION} < 1000033
-BUILD_DEPENDS+=	${LOCALBASE}/bin/flex:textproc/flex
-CONFIGURE_ENV+=	FLEX=${LOCALBASE}/bin/flex
-.endif
 .endif # FreeBSD
 
 .if ${COMPILER_TYPE} == "clang"

Modified: head/editors/libreoffice4/Makefile
==============================================================================
--- head/editors/libreoffice4/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/editors/libreoffice4/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -337,11 +337,6 @@ EXTRA_PATCHES+=	${FILESDIR}/extra-libc++
 EXTRA_PATCHES+=	${FILESDIR}/extra-configure.ac
 .endif
 
-.if ${OSVERSION} < 1000033
-BUILD_DEPENDS+=	${LOCALBASE}/bin/flex:textproc/flex
-CONFIGURE_ENV+=	FLEX=${LOCALBASE}/bin/flex
-.endif
-
 ACLOCAL_ARGS=	-I "${WRKSRC}/m4"
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib

Modified: head/emulators/linux_base-c7/Makefile
==============================================================================
--- head/emulators/linux_base-c7/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/emulators/linux_base-c7/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -123,11 +123,6 @@ REMOVE_FILES=	bin/df bin/su etc/exports 
 
 .include <bsd.port.pre.mk>
 
-.if ${OPSYS} == FreeBSD && ( ${OSVERSION} < 1002507 || \
-	( ${OSVERSION} >= 1100000 && ${OSVERSION} < 1100074 ))
-IGNORE=		Requires FreeBSD 10.3 or higher
-.endif
-
 .if ${LINUX_ARCH} == x86_64 && ${OPSYS} == FreeBSD && ${OSVERSION} >= 11000105
 SYSCTLMIB=	kern.features.linux64
 .else

Modified: head/emulators/wine/Makefile
==============================================================================
--- head/emulators/wine/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/emulators/wine/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -117,18 +117,11 @@ X11_LIB_DEPENDS=	libfontconfig.so:x11-fo
 CONFIGURE_ARGS+=	--enable-win64 --libdir=${PREFIX}/lib
 PLIST_SUB+=		WINE32="@comment " WINE64=""
 
-# Force the use of GCC where it is the system compiler since
-# COMPILER_VERSION will be 42 (the GCC version) even if clang
-# is CHOSEN_COMPILER_TYPE in that case.
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000054
-USE_GCC=		yes
-.else
-. if ${CHOSEN_COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 38
+.if ${CHOSEN_COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 38
 CPPFLAGS+=		-D__builtin_ms_va_list=__builtin_va_list \
 			-D__builtin_ms_va_start=__builtin_va_start \
 			-D__builtin_ms_va_end=__builtin_va_end \
 			-D__builtin_ms_va_copy=__builtin_va_copy
-. endif
 .endif
 
 # Wine assumes a WoW64 package is available however WoW64 is not yet available on FreeBSD.

Modified: head/games/corsix-th/Makefile
==============================================================================
--- head/games/corsix-th/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/games/corsix-th/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -36,12 +36,6 @@ MOVIES_CMAKE_ON=	-DWITH_MOVIES=ON
 MOVIES_CMAKE_OFF=	-DWITH_MOVIES=OFF
 MOVIES_LIB_DEPENDS=	libswresample.so:multimedia/ffmpeg
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 1000024 && ${CHOSEN_COMPILER_TYPE} == gcc
-CXXFLAGS+=	-D_GLIBCXX_USE_C99
-.endif
-
 post-patch:
 # Allow the game to find its resources without wrapper scripts
 	@${REINPLACE_CMD} -e \
@@ -55,4 +49,4 @@ do-install:
 	cd ${WRKSRC}/CorsixTH && ${COPYTREE_SHARE} "Bitmap Levels Lua" \
 		${STAGEDIR}${DATADIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/games/vultures-eye/Makefile
==============================================================================
--- head/games/vultures-eye/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/games/vultures-eye/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -36,12 +36,7 @@ DESKTOP_ENTRIES="Vulture's Eye" "" "" "v
 
 .include <bsd.port.options.mk>
 
-.if ${OSVERSION} < 1000033
-BUILD_DEPENDS+=	flex>0:textproc/flex
-MAKE_ENV+=	FLEX="${LOCALBASE}/bin/flex"
-.else
 MAKE_ENV+=	FLEX="${FLEX}"
-.endif
 
 pre-patch:
 	@(cd ${WRKSRC}/win && ${LN} -sf ../../vulture)

Modified: head/graphics/inkscape/Makefile
==============================================================================
--- head/graphics/inkscape/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/graphics/inkscape/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -68,18 +68,6 @@ WPG_LIB_DEPENDS=	libwpg-0.3.so:graphics/
 CPPFLAGS+=	-Wno-mismatched-tags -Wno-unknown-attributes
 .endif
 
-# Base clang 3.4.1 in FreeBSD 9.3 fails to compile this code on i386
-# but base clang 3.4.1 in FreeBSD 10.1 succeeds.  The difference *appears*
-# to be the patch applied in r271597 (head) / r271739 (stable/10).  The
-# latter happened shortly before 10.1 was branched.
-.if ${ARCH} == i386 && ${OPSYS} == FreeBSD && ${OSVERSION} < 1001000 && \
-    ( ${COMPILER_TYPE} == clang || ${ALT_COMPILER_TYPE} == clang )
-BUILD_DEPENDS+=	clang34:lang/clang34
-CPP=    ${LOCALBASE}/bin/clang-cpp34
-CC=     ${LOCALBASE}/bin/clang34
-CXX=    ${LOCALBASE}/bin/clang++34
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|-ldl||g' \
 		${WRKSRC}/configure

Modified: head/graphics/luminance-qt5/Makefile
==============================================================================
--- head/graphics/luminance-qt5/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/graphics/luminance-qt5/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -34,12 +34,6 @@ CONFLICTS_INSTALL=	luminance-hdr-[0-9]*
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 1000024
-USE_GCC=	yes
-.endif
-
 post-patch:
 # Do not install yet another copy of GPL (we use license framework instead)
 # and fix installation path for docs (but not for internal help files)
@@ -60,4 +54,4 @@ post-patch:
 pre-install:
 	QT_BINDIR_REL=bin
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/graphics/openshadinglanguage/Makefile
==============================================================================
--- head/graphics/openshadinglanguage/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/graphics/openshadinglanguage/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -34,12 +34,6 @@ USES=		bison cmake:outsource compiler:c1
 USE_GCC=	yes
 .endif
 
-.if ${OSVERSION} < 1000033
-BUILD_DEPENDS+=	flex>=2.5.37:textproc/flex
-CMAKE_ARGS+=	-DFLEX_EXECUTABLE:STRING=${LOCALBASE}/bin/flex
-CXXFLAGS+=	-I${LOCALBASE}/include/flex
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e 's,/bin/bash,/bin/sh,' \
 		${WRKSRC}/src/liboslexec/serialize-bc.bash

Modified: head/java/eclipse/Makefile
==============================================================================
--- head/java/eclipse/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/java/eclipse/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -43,10 +43,6 @@ OPTIONS_DEFAULT=	FULL_SDK
 
 .include <bsd.port.options.mk>
 
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
-PATCH_DEPENDS+=	gpatch:devel/patch
-PATCH=		gpatch
-.endif
 PATCH_STRIP=	-p1
 
 .if ${PORT_OPTIONS:MSWT_GTK3_SUPPORT}

Modified: head/lang/mono/Makefile
==============================================================================
--- head/lang/mono/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/lang/mono/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -39,8 +39,6 @@ MAKE_ENV=	MONO_SHARED_DIR="${MONO_SHARED
 ONLY_FOR_ARCHS=	i386 amd64 powerpc
 PORTSCOUT=	limit:^\d+\.\d+\.[1-9]\d*
 
-.include <bsd.port.pre.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|^#!/bin/bash|#!/usr/bin/env bash|g' \
 		${WRKSRC}/scripts/mono-find-provides.in \
@@ -53,14 +51,9 @@ post-patch:
 post-configure:
 	@${REINPLACE_CMD} -e 's|share\/man|man|g' \
 		${WRKSRC}/mcs/jay/Makefile
-# Fix build on FreeBSD 9.3 (and maybe other unsupported releases)
-.if ${OSVERSION} < 1000000
-	@${REINPLACE_CMD} 's/^#define HAVE_LOCALCHARSET_H 1/#undef HAVE_LOCALCHARSET_H/' \
-		${WRKSRC}/eglib/config.h
-.endif
 
 do-test:
 	@(cd ${WRKSRC}/mono/tests && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \
 		${MAKE_FLAGS} Makefile ${MAKE_ARGS} check)
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/lang/smlnj/Makefile
==============================================================================
--- head/lang/smlnj/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/lang/smlnj/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -18,6 +18,8 @@ LICENSE_TEXT=	The text of the license ca
 		http://www.smlnj.org/license.html
 LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
+ONLY_FOR_ARCHS=	i386 amd64
+
 NO_WRKSUBDIR=	yes
 
 SUB_FILES=	pkg-install
@@ -41,21 +43,6 @@ POSITION64_DESC=	use 64bit file${CALM} p
 ML_RECOMPILE_OPTIONS=	RECOMPILE POSITION64
 .endif
 
-.if (${ARCH} == "amd64") && (${OSVERSION} >= 1000029)
-ONLY_FOR_ARCHS=	i386 amd64
-.elif (${ARCH} == "amd64")
-ONLY_FOR_ARCHS=	i386 amd64
-# Compilation of the i386 runtime source on older amd64 systems requires
-# i386 system headers from the respective FreeBSD Version, taken from
-# stable/N/sys/i386/include, r196045 (N=8) and r225736 (N=9).
-EXTRA_DEFS+=	-DINCLUDE_FREEBSD_I386_SIGNAL=\\\"freebsd-8-i386-signal.h\\\"
-EXTRA_DEFS+=	-DINCLUDE_FREEBSD_I386_IEEEFP=\\\"freebsd-8-i386-ieeefp.h\\\"
-EXTRA_DEFS+=	-DINCLUDE_FREEBSD_I386__TYPES=\\\"freebsd-9-i386-_types.h\\\"
-EXTRA_DEFS+=	-DINCLUDE_FREEBSD_I386_ENDIAN=\\\"freebsd-9-i386-endian.h\\\"
-.else
-ONLY_FOR_ARCHS=	i386
-.endif
-
 .if (${ARCH} == "amd64")
 CFLAGS+=	-m32
 AS?=		as

Modified: head/lang/swift/Makefile
==============================================================================
--- head/lang/swift/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/lang/swift/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -45,12 +45,10 @@ PORTDOCS=	*
 
 .include <bsd.port.pre.mk>
 
-.if ${OPSYS} == FreeBSD
-.if (${OSVERSION} < 1002000) || (${OSVERSION} < 1100079)
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100079
 BUILD_DEPENDS+=	clang38:devel/llvm38
 EXTRA_FLAGS=	--host-cc=${LOCALBASE}/bin/clang38 --host-cxx=${LOCALBASE}/bin/clang++38
 .endif
-.endif
 
 post-extract:
 	@${MKDIR} ${WRKSRC}

Modified: head/mail/opensmtpd-devel/Makefile
==============================================================================
--- head/mail/opensmtpd-devel/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/mail/opensmtpd-devel/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -53,14 +53,6 @@ PAM_CONFIGURE_WITH=	auth-pam=smtpd
 SSL_PORT_VARS=		with_openssl_port=yes
 TABLE_DB_CONFIGURE_WITH=	table-db
 
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} <= 1000015
-WITH_OPENSSL_PORT=	yes
-.endif
-
-.include <bsd.port.pre.mk>
-
 CONFIGURE_ARGS+=	--with-libasr=${LOCALBASE} \
 			--with-libevent=${LOCALBASE} \
 			--with-libssl=${OPENSSLBASE} \
@@ -73,9 +65,7 @@ post-patch:
 		'/SMTPD_VERSION/s/"[^"]+"$$/"${PORTVERSION}${DISTVERSIONSUFFIX}"/' \
 		${WRKSRC}/smtpd/smtpd.h
 
-.if ${PORT_OPTIONS:MTABLE_DB}
-post-install:
+post-install-TABLE_DB-on:
 	@${LN} -sf ${PREFIX}/sbin/smtpctl ${STAGEDIR}${PREFIX}/libexec/opensmtpd/makemap
-.endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/mail/opensmtpd/Makefile
==============================================================================
--- head/mail/opensmtpd/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/mail/opensmtpd/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -52,14 +52,6 @@ PAM_CONFIGURE_WITH=	auth-pam=smtpd
 SSL_PORT_VARS=		with_openssl_port=yes
 TABLE_DB_CONFIGURE_WITH=	table-db
 
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} <= 1000015
-WITH_OPENSSL_PORT=	yes
-.endif
-
-.include <bsd.port.pre.mk>
-
 CONFIGURE_ARGS+=	--with-libasr=${LOCALBASE} \
 			--with-libevent=${LOCALBASE} \
 			--with-libssl=${OPENSSLBASE} \
@@ -68,9 +60,7 @@ CONFIGURE_ARGS+=	--with-libasr=${LOCALBA
 post-patch:
 	${REINPLACE_CMD} -e '/chmod 2555/d' ${WRKSRC}/mk/smtpctl/Makefile.in
 
-.if ${PORT_OPTIONS:MTABLE_DB}
-post-install:
+post-install-TABLE_DB-on:
 	@${LN} -sf ${PREFIX}/sbin/smtpctl ${STAGEDIR}${PREFIX}/libexec/opensmtpd/makemap
-.endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/math/R/compiler.mk
==============================================================================
--- head/math/R/compiler.mk	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/math/R/compiler.mk	Wed Jan 11 10:08:38 2017	(r431169)
@@ -1,10 +1,4 @@
 # Compiler settings required for R and the R-cran ports.
-.if ${OPSYS} == FreeBSD
-.  if ${OSVERSION} < 1000015
-USE_GCC=	yes
-.  endif
-.else
-.  if ${OPSYS} == DragonFly
+.if ${OPSYS} == DragonFly
 USE_GCC=	6
-.  endif
 .endif

Modified: head/multimedia/gstreamer1-editing-services/Makefile
==============================================================================
--- head/multimedia/gstreamer1-editing-services/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/multimedia/gstreamer1-editing-services/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -23,11 +23,4 @@ CONFIGURE_ARGS=	--enable-introspection=y
 		--with-bash-completion-dir=${PREFIX}/share/bash-completion/completions
 PLIST_SUB=	VERSION=1.0 SOVERSION=0.800.0
 
-.include <bsd.port.options.mk>
-
-.if ${OSVERSION} < 1000033
-BUILD_DEPENDS+=	${LOCALBASE}/bin/flex:textproc/flex
-CONFIGURE_ENV+=	FLEX_PATH="${LOCALBASE}/bin/flex"
-.endif
-
 .include <bsd.port.mk>

Modified: head/multimedia/plexhometheater/Makefile
==============================================================================
--- head/multimedia/plexhometheater/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/multimedia/plexhometheater/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -110,8 +110,6 @@ LIRC_RUN_DEPENDS=	lircd:comms/lirc
 PULSEAUDIO_LIB_DEPENDS=	libpulse.so:audio/pulseaudio
 PULSEAUDIO_CMAKE_OFF=	-DCMAKE_DISABLE_FIND_PACKAGE_PulseAudio:BOOL=true
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} 's/[[:<:]]ARCH[[:>:]]/FFMPEG_ARCH/' \
 		${WRKSRC}/lib/ffmpeg/Makefile \
@@ -122,15 +120,6 @@ post-patch:
 		${WRKSRC}/plex/CMakeModules/FindIconv.cmake
 	@${REINPLACE_CMD} 's/COMMAND\ make/COMMAND\ gmake/g' \
 		${WRKSRC}/lib/ffmpeg/CMakeLists.txt
-.if ${OPSYS} == "FreeBSD" && ${OSVERSION} < 1000024
-	@${REINPLACE_CMD} 's/__builtin_bswap/__bswap/g' \
-		${WRKSRC}/plex/Third-Party/hash-library/crc32.cpp \
-		${WRKSRC}/plex/Third-Party/hash-library/keccak.cpp \
-		${WRKSRC}/plex/Third-Party/hash-library/md5.cpp \
-		${WRKSRC}/plex/Third-Party/hash-library/sha1.cpp \
-		${WRKSRC}/plex/Third-Party/hash-library/sha256.cpp \
-		${WRKSRC}/plex/Third-Party/hash-library/sha3.cpp
-.endif
 
 post-install:
 	${RM} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/*.so

Modified: head/multimedia/transcode/Makefile
==============================================================================
--- head/multimedia/transcode/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/multimedia/transcode/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -114,11 +114,6 @@ V4L_CONFIGURE_ENABLE=		v4l
 
 .include <bsd.port.pre.mk>
 
-#Disable mmx on FreeBSD 10.1 due to a transient bug in clang
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 && ${OSVERSION} < 1002000
-CONFIGURE_ARGS+=	--disable-mmx
-.endif
-
 .if empty(ICONV_LIB)
 CONFIGURE_ARGS+=ac_cv_lib_iconv_iconv_open=no \
 		ac_cv_lib_iconv_libiconv_open=no

Modified: head/multimedia/zoneminder-h264/Makefile
==============================================================================
--- head/multimedia/zoneminder-h264/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/multimedia/zoneminder-h264/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -83,17 +83,6 @@ CMAKE_ARGS+=	-DZM_PERL_MM_PARMS=INSTALLD
 		-DGNUTLS_LIBRARIES=0 \
 		-DCMAKE_REQUIRED_INCLUDES:STRING="${LOCALBASE}/include"
 
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 && ${ARCH} == i386
-CFLAGS+=	-msse
-.endif
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
-LIB_DEPENDS+=	libexecinfo.so:devel/libexecinfo
-LDFLAGS+=	-L${LOCALBASE}/lib
-.endif
-
 PKGMESSAGE=	${WRKDIR}/pkg-message
 
 post-extract:
@@ -118,4 +107,4 @@ post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/multimedia/zoneminder/Makefile
==============================================================================
--- head/multimedia/zoneminder/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/multimedia/zoneminder/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -78,17 +78,6 @@ CMAKE_ARGS+=	-DZM_PERL_MM_PARMS=INSTALLD
 		-DGNUTLS_LIBRARIES=0 \
 		-DCMAKE_REQUIRED_INCLUDES:STRING="${LOCALBASE}/include"
 
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 && ${ARCH} == i386
-CFLAGS+=	-msse
-.endif
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
-LIB_DEPENDS+=	libexecinfo.so:devel/libexecinfo
-LDFLAGS+=	-L${LOCALBASE}/lib
-.endif
-
 PKGMESSAGE=	${WRKDIR}/pkg-message
 
 post-extract:
@@ -113,4 +102,4 @@ post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/net-im/skype4/Makefile
==============================================================================
--- head/net-im/skype4/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/net-im/skype4/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -34,10 +34,6 @@ SUB_LIST+=	SKYPEDIR=${SKYPEDIR}
 
 .include <bsd.port.options.mk>
 
-.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1100000 && ${OSVERSION} < 1100075 || ${OSVERSION} >= 1000000 && ${OSVERSION} < 1002507)
-BROKEN=		Skype 4.3 requires Linux 2.6.32 emulation
-.endif
-
 .if ${PORT_OPTIONS:MVIDEO}
 RUN_DEPENDS+=	webcamd:multimedia/webcamd
 USE_LINUX+=	libv4l

Modified: head/net-mgmt/collectd5/Makefile
==============================================================================
--- head/net-mgmt/collectd5/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/net-mgmt/collectd5/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -108,7 +108,8 @@ CONFIGURE_ARGS=	--localstatedir=/var \
 		--without-lvm \
 		--without-mic \
 		--without-oracle \
-		--disable-turbostat
+		--disable-turbostat \
+		--enable-disk
 
 CGI_RUN_DEPENDS=		p5-URI>=0:net/p5-URI \
 				p5-CGI>=0:www/p5-CGI \
@@ -323,15 +324,6 @@ CONFIGURE_ARGS+=--enable-aggregation \
 		--enable-write_log \
 		--enable-zfs_arc \
 
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
-PLIST_SUB+=	DISK="@comment "
-.else
-CONFIGURE_ARGS+=--enable-disk
-PLIST_SUB+=	DISK=""
-.endif
-
 INSTALL_TARGET=	install-strip
 SHEBANG_FILES=	contrib/collection.cgi
 

Modified: head/net-mgmt/collectd5/pkg-plist
==============================================================================
--- head/net-mgmt/collectd5/pkg-plist	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/net-mgmt/collectd5/pkg-plist	Wed Jan 11 10:08:38 2017	(r431169)
@@ -27,7 +27,7 @@ lib/collectd/csv.so
 %%CURL_XML%%lib/collectd/curl_xml.so
 %%DBI%%lib/collectd/dbi.so
 lib/collectd/df.so
-%%DISK%%lib/collectd/disk.so
+lib/collectd/disk.so
 lib/collectd/dns.so
 lib/collectd/email.so
 lib/collectd/exec.so

Modified: head/net-mgmt/icinga2/Makefile
==============================================================================
--- head/net-mgmt/icinga2/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/net-mgmt/icinga2/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -89,19 +89,10 @@ PLIST_SUB+=	DBBACKEND="@comment "
 PLIST_SUB+=	DBBACKEND=""
 .endif
 
-.if ${OSVERSION} < 1000033
-BUILD_DEPENDS+=	flex>=2.5.31:textproc/flex
-CMAKE_ARGS+=	-DFLEX_EXECUTABLE:STRING=${LOCALBASE}/bin/flex
-CXXFLAGS+=	-I${LOCALBASE}/include/flex
-.endif
-
 post-patch:
 .for f in ${LINUX_CONFIG}
 	${REINPLACE_CMD} 's,[Ll]inux,FreeBSD,g' ${WRKSRC}/etc/icinga2/conf.d/${f}
 .endfor
-.if ${OSVERSION} < 1000000
-	${REINPLACE_CMD} 's|,--no-export-dynamic||' ${WRKSRC}/CMakeLists.txt
-.endif
 
 pre-install:
 	${FIND} ${WRKSRC}/etc -type f -name "*.conf" -exec ${MV} {} {}.sample \;

Modified: head/net/freediameter/Makefile
==============================================================================
--- head/net/freediameter/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/net/freediameter/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -15,13 +15,6 @@ LIB_DEPENDS=	libgcrypt.so:security/libgc
 
 USES=		cmake bison
 USE_LDCONFIG=	yes
-CMAKE_ARGS+=	-DSCTP_USE_MAPPED_ADDRESSES:BOOL=ON
-
-.include <bsd.port.options.mk>
-
-.if ${OSVERSION} < 1000033
-BUILD_DEPENDS+=	${LOCALBASE}/bin/flex:textproc/flex
-CMAKE_ARGS+=	-DFLEX_EXECUTABLE:FILEPATH="${LOCALBASE}/bin/flex"
-.endif
+CMAKE_ARGS=	-DSCTP_USE_MAPPED_ADDRESSES:BOOL=ON
 
 .include <bsd.port.mk>

Modified: head/net/glusterfs/Makefile
==============================================================================
--- head/net/glusterfs/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/net/glusterfs/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -42,11 +42,4 @@ INSTALL_TARGET=	install-strip
 PLIST_SUB=	GLUSTERLIBDIR="lib/${PORTNAME}/3.7.6"
 KMODDIR?=	/boot/modules
 
-.include <bsd.port.options.mk>
-
-.if ${OSVERSION} < 1000000
-WITH_OPENSSL_PORT=	yes
-RUN_DEPENDS+=	${KMODDIR}/fuse.ko:sysutils/fusefs-kmod
-.endif
-
 .include <bsd.port.mk>

Modified: head/net/openntpd/Makefile
==============================================================================
--- head/net/openntpd/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/net/openntpd/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -40,13 +40,6 @@ LDFLAGS+=		-L${OPENSSLLIB}
 BUILD_DEPENDS+=		${NONEXISTENT}:security/libressl:stage
 CPPFLAGS+=		-I${WRKDIR}/libressl/include
 LDFLAGS+=		-L${WRKDIR}/libressl/lib
-# security/libressl ignores implicit SSP_UNSAFE, see Mk/bsd.ssp.mk
-. if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000036 && ${ARCH} == i386
-SSP_CFLAGS?=	-fstack-protector
-CFLAGS+=	${SSP_CFLAGS}
-LDFLAGS+=	-fstack-protector
-LIBS+=		-lssp_nonshared
-. endif
 
 # Don't use COPYTREE_SHARE here as it hard links files, and the original files
 # are owned by root, which creates problems of its own.

Modified: head/science/clhep/Makefile
==============================================================================
--- head/science/clhep/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/science/clhep/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -15,20 +15,12 @@ LICENSE_COMB=	multi
 
 WRKSRC=		${WRKDIR}/${PORTVERSION}/${PORTNAME:tu}
 
-USES=		cmake:outsource perl5 tar:tgz
+USES=		cmake:outsource compiler:openmp perl5 tar:tgz
 USE_PERL5=	build
 USE_LDCONFIG=	yes
 
 PLIST_SUB=	VERSION="${PORTVERSION}"
 
-.include <bsd.port.options.mk>
-
-.if ${OSVERSION} < 1000000
-USES+=	compiler:c++11-lib
-.else
-USES+=	compiler:openmp
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e \
 		'/DESTINATION/s|lib$${LIB_SUFFIX}|libdata|' \

Modified: head/science/libxc/Makefile
==============================================================================
--- head/science/libxc/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/science/libxc/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -24,11 +24,4 @@ post-patch:
 	@${REINPLACE_CMD} -e '/^pkgconfigdir =/s,libdir),prefix)/libdata,' \
 		${WRKSRC}/build/Makefile.in
 
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000034
-LIB_DEPENDS+=	libml.so:math/ldouble
-LDFLAGS+=	-lml
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/science/meep/Makefile
==============================================================================
--- head/science/meep/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/science/meep/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -33,11 +33,7 @@ OPENMPI_DESC=		MPI support (with OpenMPI
 .include <bsd.port.pre.mk>
 
 .if ${OPSYS} == FreeBSD
-.  if ${OSVERSION} < 1000000
-MPI_DEFAULT=	OPENMPI
-.  else
 MPI_DEFAULT=	MPICH2
-.  endif
 .endif
 
 .if ${PORT_OPTIONS:MMPICH2} || ${PORT_OPTIONS:MOPENMPI}

Modified: head/security/afl/Makefile
==============================================================================
--- head/security/afl/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/security/afl/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -34,13 +34,6 @@ MINIMIZE_CORPUS_RUN_DEPENDS=	${LOCALBASE
 
 .include <bsd.port.options.mk>
 
-.if ${OSVERSION} < 1000013
-# Broken on FreeBSD 9
-PLIST_SUB+=	LLVM_SUB="@comment "
-.else
-PLIST_SUB+=	LLVM_SUB=""
-.endif
-
 .if ${ARCH} == "i386"
 # Clang i386 emits .cfi_sections which base as(1) doesn't understand
 BUILD_DEPENDS+=	${LOCALBASE}/bin/as:devel/binutils
@@ -69,8 +62,6 @@ post-patch-LLVM-on:
 		-e 's|"clang\+\+"|"clang\+\+${LLVM_VERSION}"|g' \
 		${WRKSRC}/llvm_mode/afl-clang-fast.c
 
-.if ! ${OSVERSION} < 1000013
-# Broken on FreeBSD 9
 post-build-LLVM-on:
 	@(cd ${WRKSRC}/llvm_mode; ${SETENV} \
 		CC=clang${LLVM_VERSION} \
@@ -79,7 +70,6 @@ post-build-LLVM-on:
 		CFLAGS="${CFLAGS}" \
 		CXXFLAGS="${CXXFLAGS}" \
 		${GMAKE})
-.endif
 
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/docs/COPYING ${STAGEDIR}${DOCSDIR}/

Modified: head/security/afl/pkg-plist
==============================================================================
--- head/security/afl/pkg-plist	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/security/afl/pkg-plist	Wed Jan 11 10:08:38 2017	(r431169)
@@ -1,12 +1,12 @@
 bin/afl-analyze
 bin/afl-clang
 bin/afl-clang++
-%%LLVM_SUB%%%%LLVM%%bin/afl-clang-fast
-%%LLVM_SUB%%%%LLVM%%bin/afl-clang-fast++
-%%LLVM_SUB%%%%LLVM%%lib/afl/afl-llvm-pass.so
-%%LLVM_SUB%%%%LLVM%%lib/afl/afl-llvm-rt.o
-%%LLVM_SUB%%%%LLVM%%lib/afl/afl-llvm-rt-32.o
-%%LLVM_SUB%%%%LLVM%%lib/afl/afl-llvm-rt-64.o
+%%LLVM%%bin/afl-clang-fast
+%%LLVM%%bin/afl-clang-fast++
+%%LLVM%%lib/afl/afl-llvm-pass.so
+%%LLVM%%lib/afl/afl-llvm-rt.o
+%%LLVM%%lib/afl/afl-llvm-rt-32.o
+%%LLVM%%lib/afl/afl-llvm-rt-64.o
 %%MINIMIZE_CORPUS%%bin/afl-cmin
 bin/afl-fuzz
 bin/afl-g++

Modified: head/security/bro/Makefile
==============================================================================
--- head/security/bro/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/security/bro/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -84,18 +84,6 @@ LBL_CF_RUN_DEPENDS=	${LOCALBASE}/bin/cf:
 PERFTOOLS_CMAKE_BOOL=	ENABLE_PERFTOOLS
 PERFTOOLS_RUN_DEPENDS=	${LOCALBASE}/bin/pprof:devel/google-perftools
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MBROKER}
-.  if ${OPSYS} == FreeBSD && ${OSVERSION} < 1001000
-# Bro 2.4 with BROKER requires caf, clang and libc++
-BUILD_DEPENDS+=	${LOCALBASE}/bin/clang++34:lang/clang34 \
-		${LOCALBASE}/lib/c++/libstdc++.so:devel/libc++
-CXXFLAGS+=	-stdlib=libc++ -I${LOCALBASE}/include/c++/v1 -L${LOCALBASE}/lib
-CXX=		${LOCALBASE}/bin/clang++34
-.  endif
-.endif
-
 post-install-BROCTL-on:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/logs
 	@${MKDIR} ${STAGEDIR}${PREFIX}/spool/tmp

Modified: head/security/fastd-devel/Makefile
==============================================================================
--- head/security/fastd-devel/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/security/fastd-devel/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -25,14 +25,7 @@ USE_RC_SUBR=		fastd_devel
 PLIST_FILES=		bin/fastd-devel           \
 			man/man1/fastd-devel.1.gz
 
-.include <bsd.port.pre.mk>
-
-# GCC from base does not support -mpclmul.
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000024
-CMAKE_ARGS+=		-DWITH_MAC_GHASH_PCLMULQDQ=FALSE
-.endif
-
 post-install:
 	${INSTALL_MAN} ${WRKSRC}/doc/fastd.1 ${STAGEDIR}${PREFIX}/man/man1/fastd-devel.1
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/security/libotr/Makefile
==============================================================================
--- head/security/libotr/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/security/libotr/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -24,12 +24,6 @@ USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
 CPE_VENDOR=	cypherpunks
 
-.include <bsd.port.options.mk>
-
-.if ${OSVERSION} < 1000036 && ${ARCH} == i386
-LDFLAGS+=	-lssp_nonshared
-.endif
-
 verify: checksum
 	gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc
 

Modified: head/sysutils/arcconf/Makefile
==============================================================================
--- head/sysutils/arcconf/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/sysutils/arcconf/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -35,7 +35,7 @@ DIST_OSVER=	10
 .if ${ARCH} == amd64
 DIST_EXT=	_x64
 .elif ${ARCH} == i386
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000
+.if ${OPSYS} == FreeBSD
 # use the 9 i386 version for 10 i386
 DIST_OSVER=	9
 RUN_DEPENDS+=	${LOCALBASE}/lib/compat/libstdc++.so.6:misc/compat9x

Modified: head/sysutils/bulk_extractor/Makefile
==============================================================================
--- head/sysutils/bulk_extractor/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/sysutils/bulk_extractor/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -34,11 +34,4 @@ BEVIEWER_CONFIGURE_OFF=	--disable-BEView
 BEVIEWER_USE=	JAVA=yes
 BEVIEWER_PLIST_FILES=	bin/BEViewer bin/BEViewer.jar
 
-.include <bsd.port.options.mk>
-
-.if ${OSVERSION} < 1000033
-BUILD_DEPENDS=	${LOCALBASE}/bin/flex:textproc/flex
-CONFIGURE_ENV=	LEX=${LOCALBASE}/bin/flex
-.endif
-
 .include <bsd.port.mk>

Modified: head/sysutils/lsof/Makefile
==============================================================================
--- head/sysutils/lsof/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/sysutils/lsof/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -45,10 +45,6 @@ SHEBANG_FILES=	scripts/sort_res.perl5
 
 .include <bsd.port.pre.mk>
 
-.if !empty(ARCH:Marm*) && ((${OSVERSION} < 1001505) || (${OSVERSION} > 1100000 && ${OSVERSION} < 1100052))
-BROKEN=	Not supported on ARM platform below release 10.1 or a more recent current
-.endif
-
 CONFIGURE_SCRIPT=	Configure
 CONFIGURE_ARGS=	-n freebsd
 CONFIGURE_ENV=	LSOF_CC="${CC}" FREEBSD_SYS="${SRC_BASE}/sys"

Modified: head/sysutils/osquery/Makefile
==============================================================================
--- head/sysutils/osquery/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/sysutils/osquery/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -43,12 +43,6 @@ GH_PROJECT=	third-party:tp
 GH_SUBDIR=	third-party:tp
 MAKE_JOBS_UNSAFE=	yes
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} <= 1000000
-CFLAGS+=	-D_GLIBCXX_USE_C99
-.endif
-
 post-patch:
 	${REINPLACE_CMD} -e 's|/var/osquery|/var/db/osquery|g' \
 		${WRKSRC}/osquery/core/init.cpp
@@ -74,4 +68,4 @@ do-install:
 
 	${MKDIR} ${STAGEDIR}/var/db/osquery
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/textproc/xxdiff/Makefile
==============================================================================
--- head/textproc/xxdiff/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/textproc/xxdiff/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -22,17 +22,6 @@ PORTDOCS=	*
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.pre.mk>
-
-# base flex(1) v2.5.4 is not sufficient
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000033
-BUILD_DEPENDS+=	${LOCALBASE}/bin/flex:textproc/flex
-
-post-patch:
-	@${REINPLACE_CMD} -e 's!flex!${LOCALBASE}/bin/&!' \
-		${BUILD_WRKSRC}/xxdiff.pro
-.endif
-
 pre-build:
 	@(cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} QMAKE=${QMAKE} \
 		${MAKE_CMD} -f Makefile.bootstrap ${MAKE_ARGS} Makefile)
@@ -44,4 +33,4 @@ do-install-DOCS-on:
 	cd ${WRKSRC}/doc && ${COPYTREE_SHARE} "${PORTDOCS} ! -name Makefile" \
 		${STAGEDIR}/${DOCSDIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/www/chromium/Makefile
==============================================================================
--- head/www/chromium/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/www/chromium/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -187,12 +187,6 @@ GN_ARGS+=	is_clang=true
 EXTRA_PATCHES+=	${FILESDIR}/extra-patch-clang
 .endif
 
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1002000
-BUILD_DEPENDS+=	${LOCALBASE}/lib/c++/libstdc++.so:devel/libc++
-GN_ARGS+=	extra_cxxflags="-stdlib=libc++ -isystem ${LOCALBASE}/include/c++/v1" \
-		extra_ldflags="-L${LOCALBASE}/lib"
-.endif
-
 .if ${OSVERSION} < 1100000
 EXTRA_PATCHES+=	${FILESDIR}/extra-patch-10
 .endif

Modified: head/www/nextcloud/Makefile
==============================================================================
--- head/www/nextcloud/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/www/nextcloud/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -42,18 +42,10 @@ SQLITE_USE=	PHP=pdo_sqlite,sqlite3
 SMB_RUN_DEPENDS=	pecl-smbclient>=0.8.0:net/pecl-smbclient
 SSL_USE=	PHP=openssl
 
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1002000
-WITH_OPENSSL_PORT=	yes
-.endif
-
-post-stage:
-	${RM} ${STAGEDIR}${WWWDIR}/updater/updater.phar
-
 do-install:
 	@${MKDIR} -m 0755 ${STAGEDIR}${WWWDIR}
 	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
+	@${RM} ${STAGEDIR}${WWWDIR}/updater/updater.phar
 	@${MKDIR} ${STAGEDIR}${WWWDIR}/data
 
 .include <bsd.port.mk>

Modified: head/www/owncloud/Makefile
==============================================================================
--- head/www/owncloud/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/www/owncloud/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -46,12 +46,6 @@ SQLITE_USE=	PHP=pdo_sqlite,sqlite3
 SMB_RUN_DEPENDS=	pecl-smbclient>=0.8.0:net/pecl-smbclient
 SSL_USE=	PHP=openssl
 
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1002000
-WITH_OPENSSL_PORT=	yes
-.endif
-
 do-install:
 	@${MKDIR} -m 0755 ${STAGEDIR}${WWWDIR}
 	@cd ${WRKSRC} && \

Modified: head/www/webkit-gtk2/Makefile
==============================================================================
--- head/www/webkit-gtk2/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/www/webkit-gtk2/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -86,11 +86,6 @@ CFLAGS+=	-mminimal-toc
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} < 1000033
-BUILD_DEPENDS+=	flex>=0:textproc/flex
-CONFIGURE_ENV+=	FLEX="${LOCALBASE}/bin/flex"
-.endif
-
 .if ${CHOSEN_COMPILER_TYPE} == clang
 CXXFLAGS+=	-Wno-c++11-extensions # Shutup warning spam
 CXXFLAGS+=	-Qunused-arguments

Modified: head/www/webkit-gtk3/Makefile
==============================================================================
--- head/www/webkit-gtk3/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/www/webkit-gtk3/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -88,11 +88,6 @@ CFLAGS+=	-mminimal-toc
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} < 1000033
-BUILD_DEPENDS+=	flex>=0:textproc/flex
-CONFIGURE_ENV+=	FLEX="${LOCALBASE}/bin/flex"
-.endif
-
 .if ${ARCH} == i386 && ! ${CFLAGS:M-march=*}
 # Needed for __atomic_fetch_add_8
 CFLAGS+=	-march=i586

Modified: head/www/webkit2-gtk3/Makefile
==============================================================================
--- head/www/webkit2-gtk3/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/www/webkit2-gtk3/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -64,11 +64,6 @@ CMAKE_ARGS+=	-DENABLE_JIT:BOOL=OFF
 CFLAGS+=	-mminimal-toc
 .endif
 
-.if ${OSVERSION} < 1000033
-BUILD_DEPENDS+=	flex>=0:textproc/flex
-CONFIGURE_ENV+=	FLEX_PATH="${LOCALBASE}/bin/flex"
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%BROWSER_PLUGINS_DIR%%|${BROWSER_PLUGINS_DIR}|' \
 		${WRKSRC}/Source/WebKit2/UIProcess/Plugins/unix/PluginInfoStoreUnix.cpp

Modified: head/x11-toolkits/gnome-pty-helper/Makefile
==============================================================================
--- head/x11-toolkits/gnome-pty-helper/Makefile	Wed Jan 11 10:00:44 2017	(r431168)
+++ head/x11-toolkits/gnome-pty-helper/Makefile	Wed Jan 11 10:08:38 2017	(r431169)
@@ -26,15 +26,7 @@ CONFIGURE_WRKSRC=	${WRKSRC}/gnome-pty-he
 BUILD_WRKSRC=	${WRKSRC}/gnome-pty-helper
 INSTALL_WRKSRC=	${WRKSRC}/gnome-pty-helper
 
-.include <bsd.port.options.mk>
-
 post-patch:
-# borrowed osversion from bsd.ssp.mk

*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701111008.v0BA8cWW001958>