From nobody Thu Jan 19 10:51:21 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NyKDp27FBz2sZFy; Thu, 19 Jan 2023 10:51:22 +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 4NyKDp1XQqz4JBd; Thu, 19 Jan 2023 10:51:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674125482; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TLrJ93pR+jujUdKyCsD+RV7ATQcHq0eVpIaYrAV8IRI=; b=d6mqgnLaTiQQdOIWlJkEL3tb57kEFVdhAdFYBCJgwzTfoy7I9Qk0yGGWlbb4pMLbYWU+ri U0k8aDBgDOyroD9eeMkKz0Xz9nqstMtEj+U+bw+dk/dFk/EN9JTKFLWkiwIIWwilXZxOj6 S1tL9AILVRWU06Ln01mq43SLG3rc4Ndskj0SNszybvsR1DbpKanT+JkvLWxz0TGYePnZQa D8fET1sZ27Iwg5TjJHwLhGKEgiSOdgyFNHPNbTl3vIa+DSJt+o0M6EYhM3WMNKizBXgJs4 WJoxdkoFekcztNUklntb4p+AAXWUcwDnNimZVIL9eandOdsTzl9rk8BZpFqATA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674125482; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TLrJ93pR+jujUdKyCsD+RV7ATQcHq0eVpIaYrAV8IRI=; b=B8YeA7AcWP8DJcpUSLTTk5F8X70gCvs3jh+8JGYjzmyrX7GmPZnUo7D/Mc9U+99pSZy3A5 mJ8nisHl9mCTGoJCdK7usKbp0ejxj8Tm7goiHKffRbunoVPFUnb/eVb7ImORIKBw7yuX2a A+N8p5CeGqYruIS3/gUeaMPkjvErfNxxYxlVg93u3NJNy9S4aMXUCySZZ8YcdeLgRx2Vhy ABe88a56WwB45FzOwCEWLJd6Rj1aCVlHxySYfyYdznkyVoIVXrAnD/2zDdHlkCIuB37Xlx qHhnqf3By91zeIvnblbRfJOkuo6BxwfPaPQiZMMv07L40ACK82ioalkc5zPuBA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674125482; a=rsa-sha256; cv=none; b=Gvq3iYMq1v/EYhqLUZQIpCzgM/7OSgyc40DaFoRB+9plaPmXVt2XGO7mtO6eAiSUeQmbYH +BvDtmA2bKjJzs9mfpLeOjUj+J4HB1KCNA7A2tDwR+82ZCX7ZiZhNntXBFDLUG8F2yX+fj UdTRhKgcInsvZ34vO9hgrXSRWHq3ZndQE9NST6tBqH2kwHocmRt3pqc3a/65+WMIJ6yvWW /ann8BFMjjlXPFJ34K/DVp77BBLAh6Tp3TvYUcAZsptNvXImWNV0ri7oRWbNWR3DfyyUCy HqNkfcyDSO93GYKV+vpBdAj4fU7cFQzlgORytan8wpAacwzzRuuK2kc0aLHbRw== 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 4NyKDp0dYXzp8w; Thu, 19 Jan 2023 10:51:22 +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 30JApLKs020597; Thu, 19 Jan 2023 10:51:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30JApL4d020596; Thu, 19 Jan 2023 10:51:21 GMT (envelope-from git) Date: Thu, 19 Jan 2023 10:51:21 GMT Message-Id: <202301191051.30JApL4d020596@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Baptiste Daroussin Subject: git: c79ec8590bf6 - main - ports-mgmt/pkg: with build with WITH_PIE List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bapt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c79ec8590bf684ccbf958adfca966d6590649539 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=c79ec8590bf684ccbf958adfca966d6590649539 commit c79ec8590bf684ccbf958adfca966d6590649539 Author: Baptiste Daroussin AuthorDate: 2023-01-19 10:46:42 +0000 Commit: Baptiste Daroussin CommitDate: 2023-01-19 10:51:05 +0000 ports-mgmt/pkg: with build with WITH_PIE --- ports-mgmt/pkg/Makefile | 1 + ports-mgmt/pkg/files/patch-src_Makefile.autosetup | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/ports-mgmt/pkg/Makefile b/ports-mgmt/pkg/Makefile index 6fa9ee88487f..8e95f12c4606 100644 --- a/ports-mgmt/pkg/Makefile +++ b/ports-mgmt/pkg/Makefile @@ -24,6 +24,7 @@ CONFIGURE_ENV= CC_FOR_BUILD="${CC}" USE_SUBMAKE= yes CFLAGS+= -Wno-error CFLAGS_powerpc64le= -DSQLITE_BYTEORDER=1234 +MAKE_ARGS+= STATIC_ARG="${STATIC_PIE_ARG}" OPTIONS_DEFINE= DOCS diff --git a/ports-mgmt/pkg/files/patch-src_Makefile.autosetup b/ports-mgmt/pkg/files/patch-src_Makefile.autosetup new file mode 100644 index 000000000000..4c3991975e7f --- /dev/null +++ b/ports-mgmt/pkg/files/patch-src_Makefile.autosetup @@ -0,0 +1,11 @@ +--- src/Makefile.autosetup.orig 2022-12-11 18:22:41 UTC ++++ src/Makefile.autosetup +@@ -93,7 +93,7 @@ pkg-static: $(OBJS) $(top_builddir)/libpkg/libpkg_flat + install: install-static + + pkg-static: $(OBJS) $(top_builddir)/libpkg/libpkg_flat.a +- $(CC) -o $@ $(OBJS) $(STATIC_ARG) $(LDFLAGS) $(STATIC_LDFLAGS) ++ $(CC) -o $@ $(OBJS) $(STATIC_ARG) $(STATIC_LDFLAGS) + + install-static: pkg-static + install -d -m 755 $(DESTDIR)$(sbindir)