svn commit: r478228 - in head/dns/void-zones-tools: . files
Tobias Kortkamp
tobik at FreeBSD.org
Mon Aug 27 17:04:10 UTC 2018
Author: tobik
Date: Mon Aug 27 17:04:08 2018
New Revision: 478228
URL: https://svnweb.freebsd.org/changeset/ports/478228
Log:
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 at xs4all.nl>
Approved by: Vidar Karlsen <vidar at karlsen.tech> (maintainer)
MFH: 2018Q3
Added:
head/dns/void-zones-tools/files/patch-Makefile (contents, props changed)
Modified:
head/dns/void-zones-tools/Makefile
Modified: head/dns/void-zones-tools/Makefile
==============================================================================
--- head/dns/void-zones-tools/Makefile Mon Aug 27 16:59:09 2018 (r478227)
+++ head/dns/void-zones-tools/Makefile Mon Aug 27 17:04:08 2018 (r478228)
@@ -3,7 +3,7 @@
PORTNAME= void-zones-tools
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= dns
MAINTAINER= vidar at karlsen.tech
Added: head/dns/void-zones-tools/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/dns/void-zones-tools/files/patch-Makefile Mon Aug 27 17:04:08 2018 (r478228)
@@ -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
More information about the svn-ports-head
mailing list