Skip site navigation (1)Skip section navigation (2)
Date:      27 Sep 2005 08:18:52 -0000
From:      Emanuel Haupt <ehaupt@critical.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/86620: patch: ftp/lftp - fixing incomplete (BUILD|LIB)_DEPENDS 
Message-ID:  <20050927081852.47911.qmail@mx.critical.ch>
Resent-Message-ID: <200509270820.j8R8KMHe096992@freefall.freebsd.org>

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

>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@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:



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