summaryrefslogtreecommitdiff
path: root/net-p2p/mutella/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/mutella/Makefile')
-rw-r--r--net-p2p/mutella/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/net-p2p/mutella/Makefile b/net-p2p/mutella/Makefile
index a330dad5db25..e6618fb136d4 100644
--- a/net-p2p/mutella/Makefile
+++ b/net-p2p/mutella/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mutella
-PORTVERSION= 0.3.3
+PORTVERSION= 0.4.1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -14,5 +14,13 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= dominic_marks@btinternet.com
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
+CONFIGURE_TARGET=
+CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|ulong|u_long|' \
+ ${WRKSRC}/mutella/asyncsocket.cpp \
+ ${WRKSRC}/mutella/asyncsocket.h
.include <bsd.port.mk>