From 6198006bca7ff681f433863cf1bbba3c225fbca0 Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Tue, 14 Sep 2021 12:52:14 +0200 Subject: 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 -- cgit v1.2.3