aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/pkg-devel
diff options
context:
space:
mode:
Diffstat (limited to 'ports-mgmt/pkg-devel')
-rw-r--r--ports-mgmt/pkg-devel/Makefile4
1 files changed, 4 insertions, 0 deletions
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>