From owner-svn-ports-head@freebsd.org Thu Nov 1 02:03:18 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8307810DEA5C; Thu, 1 Nov 2018 02:03:18 +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.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 393DF782D6; Thu, 1 Nov 2018 02:03:18 +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 1A79A1530F; Thu, 1 Nov 2018 02:03:18 +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 wA123Hrf002537; Thu, 1 Nov 2018 02:03:17 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wA123Hf5002535; Thu, 1 Nov 2018 02:03:17 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201811010203.wA123Hf5002535@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Thu, 1 Nov 2018 02:03:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r483634 - head/audio/zita-resampler/files X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/audio/zita-resampler/files X-SVN-Commit-Revision: 483634 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.29 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: Thu, 01 Nov 2018 02:03:18 -0000 Author: linimon Date: Thu Nov 1 02:03:17 2018 New Revision: 483634 URL: https://svnweb.freebsd.org/changeset/ports/483634 Log: There was one more case of -march=native that was missed by the previous patch. Rename patch-Makefile to patch-source_Makefile and add patch-apps_Makefile. There is not enough history of the former to be worth a repomove IMHO. Pointy hat to: linimon Added: head/audio/zita-resampler/files/patch-apps_Makefile (contents, props changed) head/audio/zita-resampler/files/patch-source_Makefile (contents, props changed) Deleted: head/audio/zita-resampler/files/patch-Makefile Added: head/audio/zita-resampler/files/patch-apps_Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/zita-resampler/files/patch-apps_Makefile Thu Nov 1 02:03:17 2018 (r483634) @@ -0,0 +1,10 @@ +--- ../apps/Makefile.orig 2018-10-31 16:04:18.214221199 +0000 ++++ ../apps/Makefile 2018-10-31 16:04:25.590905029 +0000 +@@ -25,7 +25,6 @@ + VERSION = 1.6.0 + CPPFLAGS += -MMD -MP -DVERSION=\"$(VERSION)\" + CXXFLAGS += -O2 -ffast-math -Wall +-CXXFLAGS += -march=native + + + all: zresample zretune zresample.1.gz zretune.1.gz Added: head/audio/zita-resampler/files/patch-source_Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/zita-resampler/files/patch-source_Makefile Thu Nov 1 02:03:17 2018 (r483634) @@ -0,0 +1,55 @@ +--- Makefile.orig 2018-08-24 18:41:47 UTC ++++ Makefile +@@ -1,7 +1,7 @@ + # ---------------------------------------------------------------------------- + # + # Copyright (C) 2006-2018 Fons Adriaensen +-# ++# + # This program is free software; you can redistribute it and/or modify + # it under the terms of the GNU General Public License as published by + # the Free Software Foundation; either version 3 of the License, or +@@ -20,10 +20,9 @@ + + # Modify as required. + # +-SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/') + PREFIX ?= /usr/local + INCDIR ?= $(PREFIX)/include +-LIBDIR ?= $(PREFIX)/lib$(SUFFIX) ++LIBDIR ?= $(PREFIX)/lib + + MAJVERS = 1 + MINVERS = 6.2 +@@ -33,8 +32,7 @@ DISTDIR = zita-resampler-$(VERSION) + + CPPFLAGS += -I. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS + CXXFLAGS += -Wall -fPIC -O2 -ffast-math +-CXXFLAGS += -march=native +-LDFLAGS += ++LDFLAGS += + LDLIBS += + + +@@ -46,6 +44,7 @@ ZITA-RESAMPLER_O = resampler.o vresampler.o resampler- + ZITA-RESAMPLER_H = zita-resampler/resampler.h zita-resampler/resampler-table.h \ + zita-resampler/vresampler.h zita-resampler/cresampler.h + ++all: $(ZITA-RESAMPLER_MIN) + + $(ZITA-RESAMPLER_MIN): $(ZITA-RESAMPLER_O) + $(CXX) -shared $(LDFLAGS) -Wl,-soname,$(ZITA-RESAMPLER_MAJ) -o $(ZITA-RESAMPLER_MIN) $(ZITA-RESAMPLER_O) $(ZITA-RESAMPLER_DEP) +@@ -56,9 +55,10 @@ $(ZITA-RESAMPLER_O): $(ZITA-RESAMPLER_H) + install: $(ZITA-RESAMPLER_MIN) + install -d $(DESTDIR)$(INCDIR)/zita-resampler + install -d $(DESTDIR)$(LIBDIR) +- install -m 644 $(ZITA-RESAMPLER_H) $(DESTDIR)$(INCDIR)/zita-resampler +- install -m 755 $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(LIBDIR) +- ldconfig ++ ${BSD_INSTALL_DATA} -m 644 $(ZITA-RESAMPLER_H) $(DESTDIR)$(INCDIR)/zita-resampler ++ ${BSD_INSTALL_LIB} -m 755 $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(LIBDIR) ++ # ldconfig ++ ln -sf $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(LIBDIR)/$(ZITA-RESAMPLER_MAJ) + ln -sf $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(LIBDIR)/$(ZITA-RESAMPLER_SO) + + uninstall: