git: 3f30a33b2ba6 - main - irc/bitchx: Fix build when PLUGINS is off

From: Bryan Drewery <bdrewery_at_FreeBSD.org>
Date: Fri, 15 Sep 2023 03:45:25 UTC
The branch main has been updated by bdrewery:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3f30a33b2ba60d673916343db7c6afae29d0e6c7

commit 3f30a33b2ba60d673916343db7c6afae29d0e6c7
Author:     Bryan Drewery <bdrewery@FreeBSD.org>
AuthorDate: 2023-09-15 03:44:53 +0000
Commit:     Bryan Drewery <bdrewery@FreeBSD.org>
CommitDate: 2023-09-15 03:45:19 +0000

    irc/bitchx: Fix build when PLUGINS is off
---
 irc/bitchx/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/irc/bitchx/Makefile b/irc/bitchx/Makefile
index ce71b9320344..650f3eb95375 100644
--- a/irc/bitchx/Makefile
+++ b/irc/bitchx/Makefile
@@ -78,7 +78,9 @@ post-patch-TOGGLES-on:
 
 post-stage:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/share/bx/plugins/*.so
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/share/bx/wserv
 
+post-stage-PLUGINS-on:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/share/bx/plugins/*.so
+
 .include <bsd.port.mk>