From owner-svn-ports-all@freebsd.org Thu Jul 25 02:33:15 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B7535C08E1; Thu, 25 Jul 2019 02:33:15 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 96A0E8A3B1; Thu, 25 Jul 2019 02:33:15 +0000 (UTC) (envelope-from linimon@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 73466200BA; Thu, 25 Jul 2019 02:33:15 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x6P2XFiW063421; Thu, 25 Jul 2019 02:33:15 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x6P2XDBf063408; Thu, 25 Jul 2019 02:33:13 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201907250233.x6P2XDBf063408@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Thu, 25 Jul 2019 02:33:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r507308 - in head: audio/zam-plugins-lv2 databases/redis-devel devel/py-cbor mail/isync net/parpd security/ossec-hids-local sysutils/fusefs-libs3 sysutils/incron www/varnish6 x11/xsetti... X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: in head: audio/zam-plugins-lv2 databases/redis-devel devel/py-cbor mail/isync net/parpd security/ossec-hids-local sysutils/fusefs-libs3 sysutils/incron www/varnish6 x11/xsettingsd X-SVN-Commit-Revision: 507308 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 96A0E8A3B1 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.95)[-0.947,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 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: Thu, 25 Jul 2019 02:33:15 -0000 Author: linimon Date: Thu Jul 25 02:33:12 2019 New Revision: 507308 URL: https://svnweb.freebsd.org/changeset/ports/507308 Log: Prepare for powerpc-on-clang by deleting hard-coded tests for architecture as a stand-in for "are we running on gcc". In some cases we only need to specifically test for "are we on the ancient base gcc", e.g, the usage of 'pragma'. While here, in some cases turn off SSE functions more specifically based on ARCH, and turn off -mtune=generic everywhere. These are part of a larger work in progress; these commits are for ports that would have been touched by the the powerpc-on-clang test regardless. Approved by: portmgr (tier-2 blanket) Modified: head/audio/zam-plugins-lv2/Makefile head/databases/redis-devel/Makefile head/devel/py-cbor/Makefile head/mail/isync/Makefile head/net/parpd/Makefile head/security/ossec-hids-local/Makefile head/sysutils/fusefs-libs3/Makefile head/sysutils/incron/Makefile head/www/varnish6/Makefile head/x11/xsettingsd/Makefile Modified: head/audio/zam-plugins-lv2/Makefile ============================================================================== --- head/audio/zam-plugins-lv2/Makefile Thu Jul 25 02:03:16 2019 (r507307) +++ head/audio/zam-plugins-lv2/Makefile Thu Jul 25 02:33:12 2019 (r507308) @@ -36,8 +36,10 @@ post-extract: post-patch: @${REINPLACE_CMD} -e 's|#!/bin/bash|#!/bin/sh|' ${WRKSRC}/dpf/utils/generate-ttl.sh -.if ${ARCH} == aarch64 || ${ARCH:Marmv*} || ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 - ${REINPLACE_CMD} -e 's/-mtune=generic -msse -msse2//' \ + ${REINPLACE_CMD} -e 's/-mtune=generic//' \ + ${WRKSRC}/dpf/Makefile.base.mk +.if ! ${ARCH} == amd64 && ! ${ARCH} == i386 + ${REINPLACE_CMD} -e 's/-msse -msse2//' \ ${WRKSRC}/dpf/Makefile.base.mk .endif Modified: head/databases/redis-devel/Makefile ============================================================================== --- head/databases/redis-devel/Makefile Thu Jul 25 02:03:16 2019 (r507307) +++ head/databases/redis-devel/Makefile Thu Jul 25 02:33:12 2019 (r507308) @@ -22,7 +22,7 @@ LUAJIT_DESC= Use lang/luajit instead of builtin lua TESTS_DESC= Install lang/tcl for redis unit tests TRIB_DESC= Install redis-trib.rb (lang/ruby req.) -USES+= gmake +USES+= compiler gmake MAKE_ENV= "V=yo" .include @@ -90,6 +90,8 @@ PLIST_SUB+= REDIS_USER=${USERS} \ REDIS_DBDIR=${REDIS_DBDIR} \ REDIS_RUNDIR=${REDIS_RUNDIR} +.include + post-patch: .if ${PORT_OPTIONS:MJEMALLOC} @${REINPLACE_CMD} '35s!Linux!FreeBSD!g' ${WRKSRC}/src/Makefile @@ -97,7 +99,7 @@ post-patch: .if ${PORT_OPTIONS:MLUAJIT} || ${PORT_OPTIONS:MLUA} @cd ${WRKSRC}/deps/lua/src && ${CP} fpconv.* lua_* strbuf.* ${WRKSRC}/src/ .endif -.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 +.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42 ${REINPLACE_CMD} -e '/pragma/d' ${WRKSRC}/src/lzf_d.c .endif Modified: head/devel/py-cbor/Makefile ============================================================================== --- head/devel/py-cbor/Makefile Thu Jul 25 02:03:16 2019 (r507307) +++ head/devel/py-cbor/Makefile Thu Jul 25 02:33:12 2019 (r507308) @@ -12,13 +12,13 @@ COMMENT= RFC 7049 - Concise Binary Object Representati LICENSE= APACHE20 -USES= python +USES= compiler python USE_PYTHON= autoplist concurrent distutils .include +.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42 post-patch: -.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 @${REINPLACE_CMD} -e '/pragma/d' ${WRKSRC}/c/cbormodule.c .endif Modified: head/mail/isync/Makefile ============================================================================== --- head/mail/isync/Makefile Thu Jul 25 02:03:16 2019 (r507307) +++ head/mail/isync/Makefile Thu Jul 25 02:33:12 2019 (r507308) @@ -13,7 +13,7 @@ LICENSE= GPLv2 LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 -USES= alias bdb cpe perl5 ssl +USES= alias bdb compiler cpe perl5 ssl USE_PERL5= build GNU_CONFIGURE= yes @@ -34,7 +34,7 @@ post-patch: @${REINPLACE_CMD} -e 's|\$$(docdir)/examples|\$$(sysconfdir)|g' \ ${WRKSRC}/src/Makefile.in ${WRKSRC}/src/compat/Makefile.in @${REINPLACE_CMD} -e 's|-ansi||g' ${WRKSRC}/${CONFIGURE_SCRIPT} -.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 +.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42 @${REINPLACE_CMD} -e '/pragma/d' ${WRKSRC}/src/util.c .endif Modified: head/net/parpd/Makefile ============================================================================== --- head/net/parpd/Makefile Thu Jul 25 02:03:16 2019 (r507307) +++ head/net/parpd/Makefile Thu Jul 25 02:33:12 2019 (r507308) @@ -19,7 +19,7 @@ PLIST_FILES= sbin/parpd man/man8/parpd.8.gz .include -.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 +.if ${CHOSEN_COMPILER_TYPE} == gcc pre-configure: ${REINPLACE_CMD} -e 's|-Wpedantic||' ${WRKSRC}/Makefile .endif Modified: head/security/ossec-hids-local/Makefile ============================================================================== --- head/security/ossec-hids-local/Makefile Thu Jul 25 02:03:16 2019 (r507307) +++ head/security/ossec-hids-local/Makefile Thu Jul 25 02:33:12 2019 (r507308) @@ -12,7 +12,7 @@ COMMENT= Security tool to monitor and check logs and i LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= gmake ssl +USES= compiler gmake ssl OSSEC_TYPE?= local @@ -201,7 +201,7 @@ post-patch: @${REINPLACE_CMD} -e 's|-DLUA_USE_LINUX|& ${CPPFLAGS}|' \ -e 's|-lreadline|& ${LDFLAGS}|' \ ${WRKSRC}/src/external/lua/src/Makefile -.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 +.if ${CHOSEN_COMPILER_TYPE} == gcc @${REINPLACE_CMD} -e 's|-Wno-implicit-fallthrough||g' ${WRKSRC}/src/Makefile .endif Modified: head/sysutils/fusefs-libs3/Makefile ============================================================================== --- head/sysutils/fusefs-libs3/Makefile Thu Jul 25 02:03:16 2019 (r507307) +++ head/sysutils/fusefs-libs3/Makefile Thu Jul 25 02:33:12 2019 (r507308) @@ -13,7 +13,7 @@ LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/LICENSE -USES= meson +USES= compiler meson USE_LDCONFIG= yes PLIST_SUB= VERSION=${PORTVERSION} @@ -27,8 +27,8 @@ GH_PROJECT= libfuse IGNORE= fusefs has not been implemented on DragonFly .endif +.if ${CHOSEN_COMPILER_TYPE} == gcc post-patch: -.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 ${REINPLACE_CMD} -e '/-Wno-unused-result/d' ${WRKSRC}/meson.build .endif Modified: head/sysutils/incron/Makefile ============================================================================== --- head/sysutils/incron/Makefile Thu Jul 25 02:03:16 2019 (r507307) +++ head/sysutils/incron/Makefile Thu Jul 25 02:33:12 2019 (r507308) @@ -17,6 +17,7 @@ LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-X11 LIB_DEPENDS= libinotify.so:devel/libinotify +USES= compiler USE_GITHUB= yes GH_ACCOUNT= ar- GH_TAGNAME= 81421d3a8bde0989d7e167d8a814d5232896c930 @@ -34,7 +35,7 @@ post-patch: ${WRKSRC}/*conf* ${WRKSRC}/Makefile ${WRKSRC}/*.[158h] \ ${WRKSRC}/*.cpp ${REINPLACE_CMD} -e '/INITDIR/d' ${WRKSRC}/Makefile -.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 +.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42 ${REINPLACE_CMD} -e '/pragma/d' ${WRKSRC}/inotify-cxx.cpp \ ${WRKSRC}/usertable.cpp .endif Modified: head/www/varnish6/Makefile ============================================================================== --- head/www/varnish6/Makefile Thu Jul 25 02:03:16 2019 (r507307) +++ head/www/varnish6/Makefile Thu Jul 25 02:33:12 2019 (r507308) @@ -19,7 +19,7 @@ LIB_DEPENDS= libpcre.so:devel/pcre CONFLICTS= varnish-2.* varnish-3.* varnish4-4.* varnish5-5.* -USES= autoreconf cpe gmake libedit libtool ncurses pathfix \ +USES= autoreconf compiler cpe gmake libedit libtool ncurses pathfix \ pkgconfig python:3.4+,build readline shebangfix SHEBANG_FILES= lib/libvcc/*.py CPE_VENDOR= varnish-cache @@ -52,7 +52,7 @@ post-patch: .if defined(BAD_TESTS) ${RM} ${BAD_TESTS:C|.+|${WRKSRC}/bin/varnishtest/tests/\0.vtc|} .endif -.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 +.if ${CHOSEN_COMPILER_TYPE} == gcc ${REINPLACE_CMD} -e '/-Wno-unknown-warning-option -Wno-implicit-fallthrough/d' ${WRKSRC}/configure.ac .endif Modified: head/x11/xsettingsd/Makefile ============================================================================== --- head/x11/xsettingsd/Makefile Thu Jul 25 02:03:16 2019 (r507307) +++ head/x11/xsettingsd/Makefile Thu Jul 25 02:33:12 2019 (r507308) @@ -24,7 +24,7 @@ PLIST_FILES= bin/dump_xsettings \ .include -.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 +.if ${CHOSEN_COMPILER_TYPE} == gcc pre-configure: ${REINPLACE_CMD} -e 's|-Wno-narrowing||' ${WRKSRC}/SConstruct .endif