From owner-svn-ports-all@freebsd.org Tue Jan 3 07:24:51 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DC620C9C284; Tue, 3 Jan 2017 07:24:51 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AC4941183; Tue, 3 Jan 2017 07:24:51 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v037Ooj1051619; Tue, 3 Jan 2017 07:24:50 GMT (envelope-from rene@FreeBSD.org) Received: (from rene@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v037OosI051611; Tue, 3 Jan 2017 07:24:50 GMT (envelope-from rene@FreeBSD.org) Message-Id: <201701030724.v037OosI051611@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rene set sender to rene@FreeBSD.org using -f From: Rene Ladan Date: Tue, 3 Jan 2017 07:24:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r430441 - in head/Mk: . Scripts Uses X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2017 07:24:52 -0000 Author: rene Date: Tue Jan 3 07:24:49 2017 New Revision: 430441 URL: https://svnweb.freebsd.org/changeset/ports/430441 Log: Remove support for FreeBSD < 10.3 from Mk/* This does not yet convert the files to bmake. Reviewed by: mat Differential Revision: https://reviews.freebsd.org/D9016 Modified: head/Mk/Scripts/do-users-groups.sh head/Mk/Uses/7z.mk head/Mk/Uses/compiler.mk head/Mk/Uses/iconv.mk head/Mk/Uses/linux.mk head/Mk/bsd.gecko.mk head/Mk/bsd.port.mk head/Mk/bsd.ssp.mk Modified: head/Mk/Scripts/do-users-groups.sh ============================================================================== --- head/Mk/Scripts/do-users-groups.sh Tue Jan 3 05:32:37 2017 (r430440) +++ head/Mk/Scripts/do-users-groups.sh Tue Jan 3 07:24:49 2017 (r430441) @@ -28,7 +28,7 @@ error() { rm -f "${dp_UG_INSTALL}" "${dp_UG_DEINSTALL}" || : # Before FreeBSD 10.2, PW did not have -R support. -if [ "${dp_OPSYS}" = FreeBSD ] && [ "${dp_OSVERSION}" -ge 1002000 ]; then +if [ "${dp_OPSYS}" = FreeBSD ] ; then cat >> "${dp_UG_INSTALL}" <<-eot if [ -n "\${PKG_ROOTDIR}" ] && [ "\${PKG_ROOTDIR}" != "/" ]; then PW="${dp_PW} -R \${PKG_ROOTDIR}" Modified: head/Mk/Uses/7z.mk ============================================================================== --- head/Mk/Uses/7z.mk Tue Jan 3 05:32:37 2017 (r430440) +++ head/Mk/Uses/7z.mk Tue Jan 3 07:24:49 2017 (r430441) @@ -23,11 +23,6 @@ P7ZIP_WRKDIR?= ${EXTRACT_WRKDIR} IGNORE= USES=7z has invalid arguments: ${7z_ARGS:Np7zip:Npartial} .endif -.if ! ${7z_ARGS:Mp7zip} && (${OPSYS} == FreeBSD && ${OSVERSION} < 1000009) -# libarchive lacks 7zip reader, fallback to P7ZIP_CMD -7z_ARGS+= p7zip -.endif - .if ${7z_ARGS:Mp7zip} EXTRACT_DEPENDS+= ${P7ZIP_CMD}:archivers/p7zip .endif Modified: head/Mk/Uses/compiler.mk ============================================================================== --- head/Mk/Uses/compiler.mk Tue Jan 3 05:32:37 2017 (r430440) +++ head/Mk/Uses/compiler.mk Tue Jan 3 07:24:49 2017 (r430441) @@ -241,18 +241,12 @@ CXX= ${LOCALBASE}/bin/clang++34 USE_GCC= yes CHOSEN_COMPILER_TYPE= gcc .if ${COMPILER_FEATURES:Mlibc++} -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1001508 -LDFLAGS+= -L${LOCALBASE}/lib/c++ -CXXFLAGS+= -nostdinc++ -isystem ${LOCALBASE}/include/c++/v1 -BUILD_DEPENDS+= ${LOCALBASE}/lib/c++/libstdc++.so:devel/libc++ -.else CXXFLAGS+= -nostdinc++ -isystem /usr/include/c++/v1 LDFLAGS+= -L${WRKDIR} _USES_configure+= 200:gcc-libc++-configure gcc-libc++-configure: @${LN} -fs /usr/lib/libc++.so ${WRKDIR}/libstdc++.so -.endif # OSVERSION < 1001508 .endif .endif Modified: head/Mk/Uses/iconv.mk ============================================================================== --- head/Mk/Uses/iconv.mk Tue Jan 3 05:32:37 2017 (r430440) +++ head/Mk/Uses/iconv.mk Tue Jan 3 07:24:49 2017 (r430441) @@ -41,8 +41,8 @@ ICONV_CONFIGURE_BASE= ICONV_INCLUDE_PATH= /usr/include ICONV_LIB_PATH= /usr/lib/libc.so -.if (${OPSYS} == FreeBSD && (${OSVERSION} < 1001514 \ - || (${OSVERSION} >= 1100000 && ${OSVERSION} < 1100069))) \ +.if (${OPSYS} == FreeBSD && \ + (${OSVERSION} >= 1100000 && ${OSVERSION} < 1100069)) \ || exists(${LOCALBASE}/include/iconv.h) BUILD_DEPENDS+= libiconv>=1.14_9:converters/libiconv ICONV_INCLUDE_PATH= ${LOCALBASE}/include Modified: head/Mk/Uses/linux.mk ============================================================================== --- head/Mk/Uses/linux.mk Tue Jan 3 05:32:37 2017 (r430440) +++ head/Mk/Uses/linux.mk Tue Jan 3 07:24:49 2017 (r430441) @@ -40,9 +40,9 @@ IGNORE= Invalid Linux distribution: ${ .if ${LINUX_DEFAULT:M*_64} LINUX_ARCH= x86_64 LINUX_ARCH32= i386 -.if ${ARCH} != amd64 || ${OPSYS} != FreeBSD || ${OSVERSION} < 1002507 \ +.if ${ARCH} != amd64 || ${OPSYS} != FreeBSD \ || ( ${OSVERSION} >= 1100000 && ${OSVERSION} < 1100105 ) -IGNORE= Linux ${LINUX_DEFAULT} is only supported on FreeBSD/amd64 10.3 or higher +IGNORE= Linux ${LINUX_DEFAULT} is unsupported on pre-release versions of FreeBSD 11. Update to 11.0-RELEASE or higher. .endif .else LINUX_ARCH= i386 Modified: head/Mk/bsd.gecko.mk ============================================================================== --- head/Mk/bsd.gecko.mk Tue Jan 3 05:32:37 2017 (r430440) +++ head/Mk/bsd.gecko.mk Tue Jan 3 07:24:49 2017 (r430441) @@ -144,7 +144,7 @@ LDFLAGS+= -L${LOCALBASE}/lib \ .if ${OPSYS} != DragonFly # XXX xpcshell crash during install # use jemalloc 3.0.0 (4.0 for firefox 43+) API for stats/tuning MOZ_EXPORT+= MOZ_JEMALLOC3=1 MOZ_JEMALLOC4=1 -.if ${OPSYS} != FreeBSD || ${OSVERSION} < 1000012 || ${MOZILLA_VER:R:R} >= 37 +.if ${OPSYS} != FreeBSD || ${MOZILLA_VER:R:R} >= 37 . if ${MOZILLA_VER:R:R} >= 48 MOZ_OPTIONS+= --enable-jemalloc=4 .else Modified: head/Mk/bsd.port.mk ============================================================================== --- head/Mk/bsd.port.mk Tue Jan 3 05:32:37 2017 (r430440) +++ head/Mk/bsd.port.mk Tue Jan 3 07:24:49 2017 (r430441) @@ -1633,9 +1633,7 @@ MAKE_ENV+= NO_PIE=yes # We prefer to pass MK_*=no but it was only supported after a certain # revision. Passing WITHOUT_* may conflict with a make.conf or src.conf's # WITH_* value. Note that ports *do* pull in src.conf. -.if (${OSVERSION} >= 903510 && ${OSVERSION} < 1000000) || \ - (${OSVERSION} >= 1003503 && ${OSVERSION} < 1100000) || \ - ${OSVERSION} >= 1100000 +.if ${OSVERSION} >= 1003503 # We will control debug files. Don't let builds that use /usr/share/mk # split out debug symbols since the plist won't know to expect it. MAKE_ENV+= MK_DEBUG_FILES=no @@ -3150,7 +3148,7 @@ do-patch: .if !target(run-autotools-fixup) run-autotools-fixup: # Work around an issue where FreeBSD 10.0 is detected as FreeBSD 1.x. -.if ${OSVERSION} >= 1000000 && !defined(WITHOUT_FBSD10_FIX) +.if !defined(WITHOUT_FBSD10_FIX) -@for f in `${FIND} ${WRKDIR} -type f \( -name config.libpath -o \ -name config.rpath -o -name configure -o -name libtool.m4 -o \ -name ltconfig -o -name libtool -o -name aclocal.m4 -o \ Modified: head/Mk/bsd.ssp.mk ============================================================================== --- head/Mk/bsd.ssp.mk Tue Jan 3 05:32:37 2017 (r430440) +++ head/Mk/bsd.ssp.mk Tue Jan 3 07:24:49 2017 (r430441) @@ -3,19 +3,6 @@ SSP_Include_MAINTAINER= portmgr@FreeBSD.org -# See: http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup -.if ${OSVERSION} < 1000036 && ${ARCH} == i386 - -# Disabled on i386 for now on releases without the ldscript as too many ports -# do not respect LDFLAGS and fail to build due to not adding in -lssp_nonshared when needed -# despite dependencies working fine, which breaks a lot. Can enable once LDFLAGS is more -# supported. XXX -SSP_UNSAFE= yes - -# i386 needs -lssp_nonshared, see svn link above for more information -SSP_NEED_NONSHARED= yes -.endif - .if !defined(SSP_UNSAFE) && \ (${ARCH} == i386 || ${ARCH} == amd64) # Overridable as a user may want to use -fstack-protector-all