From owner-dev-commits-ports-all@freebsd.org Tue Sep 14 10:53:22 2021 Return-Path: Delivered-To: dev-commits-ports-all@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 25C16666456; Tue, 14 Sep 2021 10:53: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 4H80ZB0Sm5z3L89; Tue, 14 Sep 2021 10:53:22 +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 E3D1A1997F; Tue, 14 Sep 2021 10:53:21 +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 18EArLhj054863; Tue, 14 Sep 2021 10:53:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18EArL0S054862; Tue, 14 Sep 2021 10:53:21 GMT (envelope-from git) Date: Tue, 14 Sep 2021 10:53:21 GMT Message-Id: <202109141053.18EArL0S054862@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Emmanuel Vadot Subject: git: 6198006bca7f - main - ports-mgmt/pkg-devel: Fix package when SAN is on MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: manu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6198006bca7ff681f433863cf1bbba3c225fbca0 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2021 10:53:22 -0000 The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/ports/commit/?id=6198006bca7ff681f433863cf1bbba3c225fbca0 commit 6198006bca7ff681f433863cf1bbba3c225fbca0 Author: Emmanuel Vadot AuthorDate: 2021-09-14 10:52:14 +0000 Commit: Emmanuel Vadot CommitDate: 2021-09-14 10:53:18 +0000 ports-mgmt/pkg-devel: Fix package when SAN is on There is no pkg-static when SAN is on but the framework needs it. So just ln pkg-static to pkg. --- ports-mgmt/pkg-devel/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ports-mgmt/pkg-devel/Makefile b/ports-mgmt/pkg-devel/Makefile index 4094f611af20..b59c13f584c5 100644 --- a/ports-mgmt/pkg-devel/Makefile +++ b/ports-mgmt/pkg-devel/Makefile @@ -75,5 +75,9 @@ post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/compat/pkg @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}/NEWS +.if ${PORT_OPTIONS:MSAN} + @(cd ${STAGEDIR}${PREFIX}/sbin/ && \ + ${LN} -fs pkg pkg-static) +.endif .include