Date: Fri, 2 Jun 2000 22:50:03 -0700 (PDT) From: Tim Vanderhoek <vanderh@ecf.utoronto.ca> To: freebsd-ports@FreeBSD.org Subject: Re: ports/18960 - Add USE_APACHE to bsd.port.mk for Apache module ports Message-ID: <200006030550.WAA59863@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/18960; it has been noted by GNATS. From: Tim Vanderhoek <vanderh@ecf.utoronto.ca> To: "Scot W. Hetzel" <hetzels@westbend.net> Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: ports/18960 - Add USE_APACHE to bsd.port.mk for Apache module ports Date: Sat, 3 Jun 2000 01:43:08 -0400 On Fri, Jun 02, 2000 at 09:20:04PM -0700, Scot W. Hetzel wrote: > > I recreated USE_APACHE as you suggested, but had only a couple of problems: It was a casual suggestion. :-) >> For more trickery, you could get away with something like >> >> AP_TARGET= `${APXS} -q TARGET` > > Only one problem with this approach, AP_* gets defined as: You need to use AP_TARGET= "`${APXS} -q TARGET`" and then I think it will work. Sorry about that. > +AP_PORT!= if ${APXS} -q AP_PORT > /dev/null 2>&1 ; then \ > + ${APXS} -q AP_PORT ; \ This can't be a precious variable? > .if !defined(NOPRECIOUSMAKEVARS) > -.for softvar in CKSUMFILES _MLINKS PKGBASE > +.for softvar in CKSUMFILES _MLINKS PKGBASE _AP_PATHS > .if defined(${softvar}) > __softMAKEFLAGS+= '${softvar}+=${${softvar}:S/'/'\''/g}' > .endif How is PKGBASE different from ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}? I have a feeling it isn't different. :-) [If there are any more changes you want to make to the patch, you may choose to wait for this to be approved in concept before sending them.] -- Signature withheld by request of author. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006030550.WAA59863>