ports/133901: [PATCH] net-p2p/aMule: Add WITH_UPNP knob to "Enable Universal Plug and Play support"
Mario Sergio Fujikawa Ferreira
lioux at FreeBSD.org
Wed Apr 22 01:50:02 UTC 2009
>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 at 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:
More information about the freebsd-ports-bugs
mailing list