ports/51369: Update port: ftp/mget

KATO Tsuguru tkato at prontomail.com
Thu Apr 24 16:40:45 UTC 2003


>Number:         51369
>Category:       ports
>Synopsis:       Update port: ftp/mget
>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:   Thu Apr 24 09:40:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Utilize USE_GETOPT_LONG

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/ftp/mget/Makefile ftp/mget/Makefile
--- /usr/ports/ftp/mget/Makefile	Sat Apr 12 22:46:13 2003
+++ ftp/mget/Makefile	Thu Apr 24 02:39:28 2003
@@ -14,18 +14,13 @@
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Multi Threaded Wget
 
+USE_GETOPT_LONG=	yes
 CFLAGS+=	-DHAS_HERROR -DHAVE_GETOPT_LONG -DHAVE_INET_NTOP -DHAVE_IPV6 \
 		${PTHREAD_CFLAGS:S/"//g}
 LDFLAGS+=	${PTHREAD_LIBS:S/"//g}
 
-.if !exists(/usr/include/getopt.h)
-LIB_DEPENDS+=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
-CFLAGS+=	-I${LOCALBASE}/include 
-LDFLAGS+=	-L${LOCALBASE}/lib -lgnugetopt 
-.endif
-
 do-build:
-	cd ${WRKSRC} && ${CC} ${CFLAGS} -o mget *.c ${LDFLAGS}
+	cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} -o mget *.c ${LDFLAGS}
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/mget ${PREFIX}/bin
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list