git: 4ca613c4414b - main - irc/eggdrop: Fix build, bump PORTREVISION
Date: Wed, 29 Jan 2025 18:14:30 UTC
The branch main has been updated by zi:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4ca613c4414b2dfaa9de5336b6da5a74aa73f5d4
commit 4ca613c4414b2dfaa9de5336b6da5a74aa73f5d4
Author: Ryan Steinmetz <zi@FreeBSD.org>
AuthorDate: 2025-01-29 18:12:14 +0000
Commit: Ryan Steinmetz <zi@FreeBSD.org>
CommitDate: 2025-01-29 18:12:14 +0000
irc/eggdrop: Fix build, bump PORTREVISION
PR: 283584
Reported by: ek@purplehat.org
Approved by: maintainer (cpetrik@proton.me)
---
irc/eggdrop/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/irc/eggdrop/Makefile b/irc/eggdrop/Makefile
index 1d7d305414b0..5f1cc0f42a28 100644
--- a/irc/eggdrop/Makefile
+++ b/irc/eggdrop/Makefile
@@ -1,4 +1,5 @@
PORTNAME= eggdrop
+PORTREVISION= 1
DISTVERSION= 1.10.0
CATEGORIES= irc
MASTER_SITES= https://github.com/eggheads/${PORTNAME}/releases/download/v${DISTVERSION}/
@@ -23,7 +24,7 @@ SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS
post-patch:
- @${REINPLACE_CMD} -e 's|tcl.h|tcl${TCL_VER}/tcl.h|g' ${WRKSRC}/src/mod/python.mod/pycmds.c
+ @${SED} -i '' -e '25d' ${WRKSRC}/src/mod/python.mod/pycmds.c
@${SED} -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKSRC}/eggdrop.conf \
> ${WRKSRC}/eggdrop.conf.sample