Date: 13 May 2003 14:45:28 -0000 From: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/52173: bsd.port.mk - Modify USE_GETOPT_LONG option when GNU_CONFIGURE Message-ID: <20030513144528.30542.qmail@exxodus.fedaykin.here> Resent-Message-ID: <200305131450.h4DEo9RH094908@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 52173 >Category: ports >Synopsis: bsd.port.mk - Modify USE_GETOPT_LONG option when GNU_CONFIGURE >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: Tue May 13 07:50:09 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Mario Sergio Fujikawa Ferreira >Release: FreeBSD 4.8-STABLE i386 >Organization: >Environment: System: FreeBSD exxodus.home.net 4.8-STABLE FreeBSD 4.8-STABLE #0: Sat May 10 15:40:47 BRT 2003 lioux@exxodus.home.het:/usr/obj/usr/src/sys/LIOUX i386 >Description: USE_GETOPT_LONG adds CONFIGURE_ENV* information which only makes sense when GNU_CONFIGURE is being used. Therefore, I've added that check around the vars. Could we run this test over the weekend then commit? >How-To-Repeat: >Fix: --- bsd.port.mk.orig Thu Apr 17 16:00:03 2003 +++ bsd.port.mk Fri Apr 18 13:29:26 2003 @@ -1260,9 +1260,11 @@ .if defined(USE_GETOPT_LONG) .if ${OSVERSION} < 500041 LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt +.if defined(GNU_CONFIGURE) CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lgnugetopt CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +.endif .endif .endif >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030513144528.30542.qmail>