ports/52173: bsd.port.mk - Modify USE_GETOPT_LONG option when
Tilman Linneweh
tilman at arved.de
Tue May 13 16:50:09 UTC 2003
The following reply was made to PR ports/52173; it has been noted by GNATS.
From: Tilman Linneweh <tilman at arved.de>
To: Mario Sergio Fujikawa Ferreira <lioux at freebsd.org>
Cc: freebsd-gnats-submit at freebsd.org
Subject: Re: ports/52173: bsd.port.mk - Modify USE_GETOPT_LONG option when
Date: Tue, 13 May 2003 18:45:18 +0200
* Mario Sergio Fujikawa Ferreira [Di, 13 Mai 2003 at 16:50 GMT]:
> --- bsd.port.mk.orig Thu Apr 17 16:00:03 2003
> +++ bsd.port.mk Fri Apr 18 13:29:26 2003
> @@ -1260,9 +1260,13 @@
> .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}"
+.else
+MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
> +.endif
> .endif
> .endif
regards
tilman
More information about the freebsd-ports-bugs
mailing list