Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Mar 2020 23:19:16 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r530181 - in head/databases/kyototycoon: . files
Message-ID:  <202003312319.02VNJG6h088440@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Tue Mar 31 23:19:15 2020
New Revision: 530181
URL: https://svnweb.freebsd.org/changeset/ports/530181

Log:
  Replace CPU-specific optimization (-march=native) with -O3
  
  - Bump PORTREVISION for package change
  
  PR:		245032
  Submitted by:	dch

Added:
  head/databases/kyototycoon/files/patch-configure   (contents, props changed)
Modified:
  head/databases/kyototycoon/Makefile

Modified: head/databases/kyototycoon/Makefile
==============================================================================
--- head/databases/kyototycoon/Makefile	Tue Mar 31 23:19:11 2020	(r530180)
+++ head/databases/kyototycoon/Makefile	Tue Mar 31 23:19:15 2020	(r530181)
@@ -3,7 +3,7 @@
 
 PORTNAME=	kyototycoon
 PORTVERSION=	0.9.56
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	databases
 MASTER_SITES=	https://fallabs.com/${PORTNAME}/pkg/ \
 		LOCAL/sunpoet

Added: head/databases/kyototycoon/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/kyototycoon/files/patch-configure	Tue Mar 31 23:19:15 2020	(r530181)
@@ -0,0 +1,16 @@
+--- configure.orig	2020-03-19 09:12:04 UTC
++++ configure
+@@ -3389,10 +3389,10 @@ fi
+ if test "$enable_opt" != "no"
+ then
+   printf 'checking for CPU optimization availability... '
+-  if printf 'main() {}' | $CC -xc -march=native -o config.tmp - >config.tmp 2>&1
++  if printf 'main() {}' | $CC -xc -O3 -o config.tmp - >config.tmp 2>&1
+   then
+-    MYCFLAGS="-march=native $MYCFLAGS"
+-    MYCXXFLAGS="-march=native $MYCXXFLAGS"
++    MYCFLAGS="-O3 $MYCFLAGS"
++    MYCXXFLAGS="-O3 $MYCXXFLAGS"
+     printf 'yes\n'
+   else
+     printf 'no\n'



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