Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Sep 2004 23:21:59 +0200
From:      Holger Lamm <holger@e-gitt.net>
To:        freebsd-gnats-submit@FreeBSD.org
Cc:        freebsd-ports@freebsd.org
Subject:   Re: ports/70906: net/mldonkey-core 2.5.21 port does not compile
Message-ID:  <20040913212159.GA98689@gruft.de>

next in thread | raw e-mail | index | archive | help
Okay, I'm done with that with 2.5.23; the patch is 88kB and I'll put that
on my own website hoping it won't blast it off.

Regards,
Holger
--------------------------------- snip ----------------------------------
diff -Nur mldonkey.orig/Makefile mldonkey/Makefile
--- mldonkey.orig/Makefile	Mon Sep 13 23:14:58 2004
+++ mldonkey/Makefile	Mon Sep 13 23:16:10 2004
@@ -6,11 +6,14 @@
 #
 
 PORTNAME=	mldonkey
-PORTVERSION=	2.5.21
+PORTVERSION=	2.5.23
+DOWNLOADVERSION=2.5.22
 CATEGORIES+=	net
 MASTER_SITES=	${MASTER_SITE_SAVANNAH}
+PATCH_SITES=	http://www.schraegerpunkt.de/
 MASTER_SITE_SUBDIR=	${PORTNAME}
-DISTNAME=	${PORTNAME}-${PORTVERSION}
+DISTNAME=	${PORTNAME}-${DOWNLOADVERSION}
+PATCHFILES=	mldonkey-${DOWNLOADVERSION}-${PORTVERSION:C/.+\.//}.patch.gz
 
 MAINTAINER?=	holger@e-gitt.net
 COMMENT?=	A OCAML client for multiple peer-to-peer networks
@@ -19,7 +22,7 @@
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-pthread --enable-ocamlver=3
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+WRKSRC=		${WRKDIR}/${PORTNAME}-${DOWNLOADVERSION}
 USE_GMAKE=	yes
 ALL_TARGET=	depend opt
 
@@ -34,6 +37,7 @@
 .else
 PLIST_SUB+=	GUI=""
 BUILD_DEPENDS+=	lablgtk:${PORTSDIR}/x11-toolkits/ocaml-lablgtk \
+		autoconf213:${PORTSDIR}/devel/autoconf213 \
 		${LOCALBASE}/lib/ocaml/jabbr.cma:${PORTSDIR}/net/ocaml-jabbr
 # we don't need lablgtk as RUN dependency, but we need gtk+glib
 USE_GNOME=	gtk12
@@ -53,6 +57,9 @@
 	@${ECHO_MSG} "You can disable the GUI by defining WITHOUT_GUI."
 	@${ECHO_MSG} "You can disable the CORE by defining WITHOUT_CORE."
 .endif
+
+pre-configure:
+	@cd ${WRKSRC}/config && ${AUTOCONF}
 
 post-patch:
 	@${SED} -e "s|%%PREFIX%%|${PREFIX}|" ${FILESDIR}/wrapper.sh > \
diff -Nur mldonkey.orig/distinfo mldonkey/distinfo
--- mldonkey.orig/distinfo	Mon Sep 13 23:14:58 2004
+++ mldonkey/distinfo	Mon Sep 13 22:47:40 2004
@@ -1,2 +1,4 @@
-MD5 (mldonkey-2.5.21.tar.gz) = 8a96738990f8ffc36eeb2c1f2f655826
-SIZE (mldonkey-2.5.21.tar.gz) = 3234137
+MD5 (mldonkey-2.5.22.tar.gz) = 958ffb63dbcfcb0f6e48788774dfbb42
+SIZE (mldonkey-2.5.22.tar.gz) = 3474104
+MD5 (mldonkey-2.5.22-23.patch.gz) = 091c77f0dd29be7443ac62e99cc41dc0
+SIZE (mldonkey-2.5.22-23.patch.gz) = 88210
diff -Nur mldonkey.orig/files/patch-Makefile mldonkey/files/patch-Makefile
--- mldonkey.orig/files/patch-Makefile	Thu Jan  1 01:00:00 1970
+++ mldonkey/files/patch-Makefile	Wed Sep  8 22:55:10 2004
@@ -0,0 +1,11 @@
+--- Makefile.orig	Wed Sep  8 22:54:44 2004
++++ Makefile	Wed Sep  8 22:54:54 2004
+@@ -258,7 +258,7 @@
+ all: Makefile config/Makefile.config $(TARGET_TYPE)
+ 
+ config/configure: config/configure.in
+-	cd config; autoconf
++	cd config; autoconf213
+ 
+ ifeq ("$(MYCONFIG_ARGS_DEFINED)" , "yes")
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040913212159.GA98689>