summaryrefslogtreecommitdiff
path: root/irc/muh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'irc/muh/Makefile')
-rw-r--r--irc/muh/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/irc/muh/Makefile b/irc/muh/Makefile
index 25f55629e1f4..7b10221b073e 100644
--- a/irc/muh/Makefile
+++ b/irc/muh/Makefile
@@ -7,7 +7,7 @@
PORTNAME= muh
PORTVERSION= 2.2.b.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= irc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=muh
@@ -19,7 +19,10 @@ COMMENT= A smart irc-bouncing-tool that remains on IRC all the time
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_REINPLACE= yes
+
+.if defined(WITH_IPV6)
CONFIGURE_ARGS= "--enable-ipv6"
+.endif
post-patch:
@${REINPLACE_CMD} -e "s|=muh|=${PREFIX}/bin/muh|g" ${WRKSRC}/misc/muh-check