From owner-dev-commits-ports-main@freebsd.org Sat Sep 11 08:38:39 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B6DF066E023; Sat, 11 Sep 2021 08:38:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4H65k74Tytz4VD9; Sat, 11 Sep 2021 08:38:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 75B4D1D3F4; Sat, 11 Sep 2021 08:38:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 18B8cd7c018037; Sat, 11 Sep 2021 08:38:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18B8cdwA018036; Sat, 11 Sep 2021 08:38:39 GMT (envelope-from git) Date: Sat, 11 Sep 2021 08:38:39 GMT Message-Id: <202109110838.18B8cdwA018036@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: 3f5859f965d9 - main - devel/clxclient: Don't override ports framework optimization MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3f5859f965d967ab552d57549746abb2a7520b87 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Sep 2021 08:38:39 -0000 The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=3f5859f965d967ab552d57549746abb2a7520b87 commit 3f5859f965d967ab552d57549746abb2a7520b87 Author: Daniel Engberg AuthorDate: 2021-09-11 08:34:23 +0000 Commit: Daniel Engberg CommitDate: 2021-09-11 08:37:00 +0000 devel/clxclient: Don't override ports framework optimization Don't set -O2 or -march=native as this will clash with optimization handled by ports framework and -march=native isn't valid on several non x86 platforms causing build failures. PR: 258348 Reported by: pkg-fallout Approved by: yuri (maintainer), arrowd (mentor) --- devel/clxclient/files/patch-Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/devel/clxclient/files/patch-Makefile b/devel/clxclient/files/patch-Makefile index bea28eb87bca..b9222989d72f 100644 --- a/devel/clxclient/files/patch-Makefile +++ b/devel/clxclient/files/patch-Makefile @@ -1,6 +1,16 @@ --- Makefile.orig 2018-08-24 18:50:31 UTC +++ Makefile -@@ -55,7 +55,8 @@ install: $(CLXCLIENT_MIN) +@@ -32,8 +32,7 @@ VERSION = $(MAJVERS).$(MINVERS) + + CPPFLAGS += $(shell pkgconf --cflags freetype2) + CPPFLAGS += -DVERSION=\"$(VERSION)\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS $(PCONFCFL) +-CXXFLAGS += -Wall -O2 -fPIC +-CXXFLAGS += -march=native ++CXXFLAGS += -Wall -fPIC + LDLIBS += + + +@@ -55,7 +54,8 @@ install: $(CLXCLIENT_MIN) install -d $(DESTDIR)$(LIBDIR) install -m 644 $(CLXCLIENT_H) $(DESTDIR)$(INCDIR) install -m 755 $(CLXCLIENT_MIN) $(DESTDIR)$(LIBDIR)