svn commit: r347338 - in head/net-p2p: . microdc2 microdc2/files

Alexey Dokuchaev danfe at FreeBSD.org
Fri Mar 7 06:25:17 UTC 2014


Author: danfe
Date: Fri Mar  7 06:25:16 2014
New Revision: 347338
URL: http://svnweb.freebsd.org/changeset/ports/347338
QAT: https://qat.redports.org/buildarchive/r347338/

Log:
  Resurrect net-p2p/microdc2 and unbreak the build: in the configure script,
  libxml2 versions were compared algebraically (-ge), which made our current
  version 280 appear smaller than checked-against 2616.  It was fixed once,
  by mezz@ in r225813, but not in a very good way (only for libxml 2.7).
  
  While here, cleanup and stagify the port.

Added:
  head/net-p2p/microdc2/
     - copied from r346396, head/net-p2p/microdc2/
Deleted:
  head/net-p2p/microdc2/files/patch-ab
Modified:
  head/net-p2p/Makefile
  head/net-p2p/microdc2/Makefile

Modified: head/net-p2p/Makefile
==============================================================================
--- head/net-p2p/Makefile	Fri Mar  7 05:15:07 2014	(r347337)
+++ head/net-p2p/Makefile	Fri Mar  7 06:25:16 2014	(r347338)
@@ -55,6 +55,7 @@
     SUBDIR += litecoin
     SUBDIR += litecoin-daemon
     SUBDIR += lopster
+    SUBDIR += microdc2
     SUBDIR += minder
     SUBDIR += mktorrent
     SUBDIR += mldonkey

Modified: head/net-p2p/microdc2/Makefile
==============================================================================
--- head/net-p2p/microdc2/Makefile	Thu Feb 27 22:35:11 2014	(r346396)
+++ head/net-p2p/microdc2/Makefile	Fri Mar  7 06:25:16 2014	(r347338)
@@ -5,34 +5,26 @@ PORTNAME=	microdc2
 PORTVERSION=	0.15.6
 PORTREVISION=	4
 CATEGORIES=	net-p2p
-MASTER_SITES=	http://corsair626.no-ip.org/microdc/ \
-		http://corsair626.no-ip.org/microdc/archive/
+MASTER_SITES=	http://corsair626.no-ip.org/microdc/
 
 MAINTAINER=	pankov_p at mail.ru
 COMMENT=	Command-line based Direct Connect client
 
-CONFLICTS=	tthsum-[0-9]*
+LICENSE=	GPLv2
 
-BROKEN=		Does not link
-DEPRECATED=	Broken for more than 6 month
-EXPIRATION_DATE=	2014-02-27
+CONFLICTS=	tthsum-[0-9]*
 
-GNU_CONFIGURE=	yes
 USES=		iconv
+GNU_CONFIGURE=	yes
 USE_GNOME=	libxml2
 
-NO_STAGE=	yes
-
 OPTIONS_DEFINE=	NLS
+OPTIONS_SUB=	yes
 
-.include <bsd.port.options.mk>
+NLS_USES=	gettext
+NLS_CONFIGURE_OFF=	--disable-nls
 
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-.else
-CONFIGURE_ARGS+=	--disable-nls
-PLIST_SUB+=	 NLS="@comment "
-.endif
+post-patch:
+	@${REINPLACE_CMD} -e 's,-ge 2616,\\> 2616,' ${WRKSRC}/configure
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list