ports/52173: bsd.port.mk - Modify USE_GETOPT_LONG option when GNU_CONFIGURE

Mario Sergio Fujikawa Ferreira lioux at FreeBSD.org
Tue May 13 14:50:11 UTC 2003


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



More information about the freebsd-ports-bugs mailing list