Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2018 04:53:11 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r478279 - in branches/2018Q3/dns/void-zones-tools: . files
Message-ID:  <201808280453.w7S4rBqH077173@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Tue Aug 28 04:53:11 2018
New Revision: 478279
URL: https://svnweb.freebsd.org/changeset/ports/478279

Log:
  MFH: r478228
  
  dns/void-zones-tools: Respect CFLAGS and avoid using -march=native
  
  It currently compiles with -march=native which breaks on some
  machines
  
  cc  -march=native -mssse3 -ffast-math -std=c11 -g0 -Ofast -fstrict-aliasing -Wno-parentheses binutils.c -c -o binutils.o
  error: unknown target CPU 'k6-3'
  
  Given that the build is currently targeting the build host CPU,
  existing binary packages on pkg.FreeBSD.org (or elsewhere) might
  be broken on many machines too, so bump PORTREVISION to trigger a
  rebuild.
  
  PR:		230899
  Submitted by:	tobik
  Reported by:	Marco Beishuizen <mbeis@xs4all.nl>
  Approved by:	Vidar Karlsen <vidar@karlsen.tech> (maintainer)
  
  Approved by:	ports-secteam (miwi)

Added:
  branches/2018Q3/dns/void-zones-tools/files/patch-Makefile
     - copied unchanged from r478228, head/dns/void-zones-tools/files/patch-Makefile
Modified:
  branches/2018Q3/dns/void-zones-tools/Makefile
Directory Properties:
  branches/2018Q3/   (props changed)

Modified: branches/2018Q3/dns/void-zones-tools/Makefile
==============================================================================
--- branches/2018Q3/dns/void-zones-tools/Makefile	Tue Aug 28 02:44:06 2018	(r478278)
+++ branches/2018Q3/dns/void-zones-tools/Makefile	Tue Aug 28 04:53:11 2018	(r478279)
@@ -3,7 +3,7 @@
 PORTNAME=	void-zones-tools
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.0.2
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	dns
 
 MAINTAINER=	vidar@karlsen.tech

Copied: branches/2018Q3/dns/void-zones-tools/files/patch-Makefile (from r478228, head/dns/void-zones-tools/files/patch-Makefile)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2018Q3/dns/void-zones-tools/files/patch-Makefile	Tue Aug 28 04:53:11 2018	(r478279, copy of r478228, head/dns/void-zones-tools/files/patch-Makefile)
@@ -0,0 +1,19 @@
+--- Makefile.orig	2018-08-26 02:54:47 UTC
++++ Makefile
+@@ -25,15 +25,7 @@
+ 
+ CC     ?= clang
+ 
+-.if $(MACHINE) == "i386" || $(MACHINE) == "amd64" || $(MACHINE) == "x86_64"
+-CFLAGS = $(CDEFS) -march=native -mssse3 -ffast-math
+-.elif $(MACHINE) == "arm"
+-CFLAGS = $(CDEFS) -fsigned-char
+-.else
+-CFLAGS = $(CDEFS)
+-.endif
+-
+-CFLAGS += -std=c11 -g0 -Ofast -fstrict-aliasing -Wno-parentheses
++CFLAGS += -std=c11 -fstrict-aliasing -Wno-parentheses
+ PREFIX ?= /usr/local
+ 
+ HEADERS = binutils.h store.h



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