From owner-svn-ports-head@freebsd.org Tue Jan 9 07:28:23 2018 Return-Path: Delivered-To: svn-ports-head@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 8AF4BE69778; Tue, 9 Jan 2018 07:28:23 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 669D76E199; Tue, 9 Jan 2018 07:28:23 +0000 (UTC) (envelope-from danfe@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 9EFFB13CC8; Tue, 9 Jan 2018 07:28:22 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w097SMOm054173; Tue, 9 Jan 2018 07:28:22 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w097SMlJ054172; Tue, 9 Jan 2018 07:28:22 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201801090728.w097SMlJ054172@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Tue, 9 Jan 2018 07:28:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458512 - head/sysutils/ipdbtools X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: head/sysutils/ipdbtools X-SVN-Commit-Revision: 458512 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jan 2018 07:28:23 -0000 Author: danfe Date: Tue Jan 9 07:28:22 2018 New Revision: 458512 URL: https://svnweb.freebsd.org/changeset/ports/458512 Log: Only pass `-mssse3' on amd64 where it is required, generally respect CFLAGS, and thus unbreak the port on some tier-2 architectures. Tested on: i386, amd64, powerpc (gcc49), sparc64 (gcc47) Modified: head/sysutils/ipdbtools/Makefile Modified: head/sysutils/ipdbtools/Makefile ============================================================================== --- head/sysutils/ipdbtools/Makefile Tue Jan 9 07:25:51 2018 (r458511) +++ head/sysutils/ipdbtools/Makefile Tue Jan 9 07:28:22 2018 (r458512) @@ -14,11 +14,11 @@ LICENSE= BSD2CLAUSE BROKEN_aarch64= fails to compile: error: invalid conversion between vector type and integer type BROKEN_armv6= fails to compile: error: invalid conversion between vector type and integer type BROKEN_armv7= fails to compile: error: invalid conversion between vector type and integer type -BROKEN_powerpc64= fails to compile: error: unrecognized command line option -mssse3 -BROKEN_sparc64= fails to compile: error: unrecognized command line option -mssse3 USES= tar:bzip2 compiler:c11 +CFLAGS_amd64= -mssse3 + PLIST_FILES= bin/ipup \ bin/ipdb \ bin/ipdb-update.sh \ @@ -26,5 +26,10 @@ PLIST_FILES= bin/ipup \ man/man1/ipup.1.gz \ man/man1/ipdb.1.gz \ man/man1/ipdb-update.sh.1.gz + +post-patch: + @${REINPLACE_CMD} -e 's|-g0 -Ofast -mssse3|${CFLAGS}|' \ + ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e '/tmmintrin\.h/d' ${WRKSRC}/store.c .include