From owner-freebsd-ports-bugs Fri Jan 31 9:10:40 2003 Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 718A037B445 for ; Fri, 31 Jan 2003 09:10:33 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E552A43FB8 for ; Fri, 31 Jan 2003 09:10:12 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0VHACNS098729 for ; Fri, 31 Jan 2003 09:10:12 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0VHACji098728; Fri, 31 Jan 2003 09:10:12 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A85D37B401 for ; Fri, 31 Jan 2003 09:06:18 -0800 (PST) Received: from socigeog.hmt.toyama-u.ac.jp (socigeog.hmt.toyama-u.ac.jp [160.26.63.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5482543F3F for ; Fri, 31 Jan 2003 09:06:17 -0800 (PST) (envelope-from tkato@prontomail.com) Received: from localhost (localhost [127.0.0.1]) by socigeog.hmt.toyama-u.ac.jp (Postfix) with SMTP id 2CEAB623 for ; Sat, 1 Feb 2003 02:06:11 +0900 (JST) Message-Id: <20030201020350.5bc5aaab.tkato@prontomail.com> Date: Sat, 1 Feb 2003 02:03:50 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/47739: Update port: ftp/mget Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 47739 >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: Fri Jan 31 09:10:12 PST 2003 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.7-RELEASE-p3 i386 >Organization: >Environment: >Description: - Conditionalize libgnugetopt dependencies >How-To-Repeat: >Fix: diff -urN /usr/ports/ftp/mget/Makefile ftp/mget/Makefile --- /usr/ports/ftp/mget/Makefile Mon Nov 11 18:59:32 2002 +++ ftp/mget/Makefile Fri Jan 24 09:45:43 2003 @@ -13,11 +13,15 @@ MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt - CFLAGS+= -DHAS_HERROR -DHAVE_GETOPT_LONG -DHAVE_INET_NTOP -DHAVE_IPV6 \ - -I${LOCALBASE}/include ${PTHREAD_CFLAGS:S/"//g} -LDFLAGS= -L${LOCALBASE}/lib -lgnugetopt ${PTHREAD_LIBS:S/"//g} + ${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} >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message