diff options
author | Pete Fritchman <petef@FreeBSD.org> | 2003-05-17 16:02:28 +0000 |
---|---|---|
committer | Pete Fritchman <petef@FreeBSD.org> | 2003-05-17 16:02:28 +0000 |
commit | 56379ea2ff5f483b75abc3cfab7df270ae1b570e (patch) | |
tree | 1e9e8650f6b4761a113f16e16ce891e170126d00 /ftp | |
parent | Update to 1.12. (diff) |
Use USE_GETOPT_LONG.
PR: 51369
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=81157
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/mget/Makefile | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/ftp/mget/Makefile b/ftp/mget/Makefile index 3d1daa8accfd..2ca03c06ab7c 100644 --- a/ftp/mget/Makefile +++ b/ftp/mget/Makefile @@ -14,18 +14,13 @@ MASTER_SITES= http://www.cse.iitk.ac.in/users/dbera/ MAINTAINER= ports@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 |