Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jun 2000 08:50:03 -0700 (PDT)
From:      "Scot W. Hetzel" <hetzels@westbend.net>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/18960 - Add USE_APACHE to bsd.port.mk for Apache module ports
Message-ID:  <200006031550.IAA68224@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: "Scot W. Hetzel" <hetzels@westbend.net>
To: "Tim Vanderhoek" <vanderh@ecf.utoronto.ca>
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 10:40:57 -0500

 From: "Tim Vanderhoek" <vanderh@ecf.utoronto.ca>
 > >  +AP_PORT!= if ${APXS} -q AP_PORT > /dev/null 2>&1 ; then \
 > >  + ${APXS} -q AP_PORT ; \
 >
 > This can't be a precious variable?
 >
 I'm not sure if it can be used as a precious variable, as AP_PORT can also
 be used on the make command line to specify which apache13* port to build
 the module for.  AP_PORT needs to be overriden when ${APXS} exist on the
 system, as a patched ${APXS} will know which apache13* port is installed.
 Wrapping AP_PORT in a .if defined(AP_PORT) .. .endif will prevent this from
 occuring.
 
 > >   .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.  :-)
 >
 According to bsd.port.mk:
 
 # The "latest version" link -- ${PKGNAME} minus everything after the last
 '-'
 PKGLATESTREPOSITORY?=   ${PACKAGES}/Latest
 .if !defined(PKGBASE)
 PKGBASE!=       ${ECHO} ${PKGNAME} | ${SED} -e 's/-[^-]*$$//'
 
 >[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.]
 
 I believe that the patch is now complete and won't be making any further
 changes.
 
 Scot
 
 


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?200006031550.IAA68224>