From owner-freebsd-ports Fri Jun 2 22:50: 8 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 4A1B737B7F7 for ; Fri, 2 Jun 2000 22:50:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA59863; Fri, 2 Jun 2000 22:50:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Fri, 2 Jun 2000 22:50:03 -0700 (PDT) Message-Id: <200006030550.WAA59863@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Tim Vanderhoek Subject: Re: ports/18960 - Add USE_APACHE to bsd.port.mk for Apache module ports Reply-To: Tim Vanderhoek Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/18960; it has been noted by GNATS. From: Tim Vanderhoek To: "Scot W. Hetzel" 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