Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Sep 2021 10:53:21 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6198006bca7f - main - ports-mgmt/pkg-devel: Fix package when SAN is on
Message-ID:  <202109141053.18EArL0S054862@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6198006bca7ff681f433863cf1bbba3c225fbca0

commit 6198006bca7ff681f433863cf1bbba3c225fbca0
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2021-09-14 10:52:14 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
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 <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109141053.18EArL0S054862>