summaryrefslogtreecommitdiff
path: root/irc/muh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'irc/muh/Makefile')
-rw-r--r--irc/muh/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/irc/muh/Makefile b/irc/muh/Makefile
index 6a3a72a6ff64..f2a24eb3dca2 100644
--- a/irc/muh/Makefile
+++ b/irc/muh/Makefile
@@ -7,7 +7,7 @@
PORTNAME= muh
PORTVERSION= 2.2
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= irc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=muh
@@ -24,6 +24,8 @@ CONFIGURE_ARGS= "--enable-ipv6"
post-patch:
@${REINPLACE_CMD} -e "s|=muh|=${PREFIX}/bin/muh|g" ${WRKSRC}/misc/muh-check
+ @${REINPLACE_CMD} -e "s/if( strlen( cfg.password ) == 13 /& || strlen( cfg.password ) == 28/" \
+ ${WRKSRC}/src/muh.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/muh ${PREFIX}/bin