ports/86620: patch: ftp/lftp - fixing incomplete (BUILD|LIB)_DEPENDS
Emanuel Haupt
ehaupt at critical.ch
Tue Sep 27 08:20:23 UTC 2005
>Number: 86620
>Category: ports
>Synopsis: patch: ftp/lftp - fixing incomplete (BUILD|LIB)_DEPENDS
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 27 08:20:22 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Emanuel Haupt
>Release: FreeBSD 4.11-RELEASE-p11 i386
>Organization:
>Environment:
System: FreeBSD admin.critical.ch 4.11-RELEASE-p11 FreeBSD 4.11-RELEASE-p11 #0: Thu Jun 30 09:36:40 CEST 2005 root at admin.critical.ch:/usr/obj/usr/src-release/src/sys/GENERIC i386
>Description:
ftp/lftp has optional socks4, socks5 and socksdante support which is set to 'off'
by default.
- socks4 and libdante support additionally require:
LIB_DEPENDS+= socks:${PORTSDIR}/net/dante
- socks5 additionally require:
BUILD_DEPENDS+= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
- bumped PORTREVISION
>How-To-Repeat:
>Fix:
--- Makefile.patch begins here ---
--- Makefile.orig Tue Sep 27 09:18:20 2005
+++ Makefile Tue Sep 27 10:01:32 2005
@@ -7,7 +7,7 @@
PORTNAME= lftp
PORTVERSION= 3.2.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= ftp ipv6
MASTER_SITES= ftp://ftp.cs.tu-berlin.de/pub/net/ftp/lftp/ \
ftp://ftp.phear.org/pub/linux/networking/ftp/client/lftp/ \
@@ -71,9 +71,13 @@
.endif
.if defined(WITH_SOCKS5)
CONFIGURE_ARGS+= --with-socks5
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
.endif
.if defined(WITH_SOCKS_DANTE)
CONFIGURE_ARGS+= --with-socksdante
+.endif
+.if defined(WITH_SOCKS4) || defined(WITH_SOCKS_DANTE)
+LIB_DEPENDS+= socks:${PORTSDIR}/net/dante
.endif
.if !defined(WITHOUT_NLS)
--- Makefile.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list