Skip site navigation (1)Skip section navigation (2)
Date:      21 Apr 2009 22:37:30 -0300
From:      Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        boris@tagnet.ru
Subject:   ports/133901: [PATCH] net-p2p/aMule: Add WITH_UPNP knob to "Enable Universal Plug and Play support"
Message-ID:  <20090422013730.24743.qmail@exxodus.fedaykin.here>
Resent-Message-ID: <200904220150.n3M1o1F8021010@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         133901
>Category:       ports
>Synopsis:       [PATCH] net-p2p/aMule: Add WITH_UPNP knob to "Enable Universal Plug and Play support"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 22 01:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Mario Sergio Fujikawa Ferreira
>Release:        FreeBSD 7.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD exxodus.fedaykin.here 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #79: Sun Apr 19 04:18:52 BRT 2009
>Description:
- Add WITH_UPNP knob to "Enable Universal Plug and Play support"

This follows the recent update to the port devel/upnp to version
1.6.6

Port maintainer (boris@tagnet.ru) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- aMule-2.2.4_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/net-p2p/amule2/Makefile,v
retrieving revision 1.27
diff -d -u -u -r1.27 Makefile
--- Makefile	6 Apr 2009 11:23:22 -0000	1.27
+++ Makefile	22 Apr 2009 01:35:34 -0000
@@ -31,7 +31,6 @@
 		--with-libintl-prefix=${LOCALBASE} \
 		--with-libiconv-prefix=${LOCALBASE} \
 		--with-crypto-prefix=${LOCALBASE} \
-		--disable-upnp \
 		--with-denoise-level=0
 
 CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
@@ -45,7 +44,8 @@
 		ALC "Compile aMule Link Creator (+GUI)" on \
 		AMULEDAEMON "Compile aMule daemon version - EXPERIMENTAL" off \
 		WXUNICODE "Enable Unicode support" on \
-		GEOIP "Enable GeoIP IP2Country support" off
+		GEOIP "Enable GeoIP IP2Country support" off \
+		UPNP "Enable Universal Plug and Play support" off
 
 DOCSDIR=	${PREFIX}/share/doc/aMule-${PORTVERSION}
 PORTDOCS=	ABOUT-NLS Changelog EC_Protocol.txt \
@@ -123,6 +123,13 @@
 CONFIGURE_ARGS+=	--disable-geoip
 .endif
 
+.if defined(WITH_UPNP)
+CONFIGURE_ARGS+=	--with-libupnp-prefix=${LOCALBASE}
+LIB_DEPENDS+=		upnp.3:${PORTSDIR}/devel/upnp
+.else
+CONFIGURE_ARGS+=	--disable-upnp
+.endif
+
 .if !defined(WITHOUT_WXUNICODE)
 WX_UNICODE=yes
 .endif
--- aMule-2.2.4_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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