From owner-freebsd-ports Fri Oct 20 5:10:18 2000 Delivered-To: freebsd-ports@freebsd.org Received: from thehousleys.net (frenchknot.ne.mediaone.net [24.147.224.201]) by hub.freebsd.org (Postfix) with ESMTP id E7C9637B657 for ; Fri, 20 Oct 2000 05:10:15 -0700 (PDT) Received: from thehousleys.net (baby.int.thehousleys.net [192.168.0.24]) by thehousleys.net (8.11.0/8.11.0) with ESMTP id e9KCA8Q62041; Fri, 20 Oct 2000 08:10:08 -0400 (EDT) (envelope-from jim@thehousleys.net) Message-ID: <39F0361E.E5C46A56@thehousleys.net> Date: Fri, 20 Oct 2000 08:10:06 -0400 From: James Housley X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: "Scot W. Hetzel" Cc: FreeBSD-Ports Subject: Re: New bsd.apache.mk References: <200010200259.VAA00433@wbiw01.westbend.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Scot W. Hetzel" wrote: > > The purpose of bsd.apache.mk is to make it easier to create an > Apache Module port, as well as to remove redundant code from > the existing Apache Module ports. As MAINTAINER of www/mod_auth_mysql, this has my vote. > +# check if an existing Apache port is installed in ${PREFIX} > +.if exists(${APXS}) > +APXS_WORKS!= ${APXS} -q TARGET 2>/dev/null || echo no > +.endif > +.if exists(${APXS}) && ${APXS_WORKS} != no > +.if !defined(_AP_PATHS) > +_AP_PATHS!= ${APXS} -q TARGET PREFIX SBINDIR INCLUDEDIR LIBEXECDIR SYSCONFDIR | \ > + /usr/bin/awk '{print "TARGET" $$1 " PREFIX" $$2 " SBINDIR" $$3 " INCLUDEDIR" $$4 " LIBEXECDIR" $$5 " SYSCONFDIR" $$6 }' > +.endif > + > +AP_TARGET= ${_AP_PATHS:MTARGET*:S/^TARGET//} > +AP_PREFIX= ${_AP_PATHS:MPREFIX*:S/^PREFIX//} > +AP_SBINDIR= ${_AP_PATHS:MSBINDIR*:S/^SBINDIR//} > +AP_INCLUDE= ${_AP_PATHS:MINCLUDEDIR*:S/^INCLUDEDIR//} > +AP_LIBEXEC= ${_AP_PATHS:MLIBEXECDIR*:S/^LIBEXECDIR//} > +AP_SYSCONF= ${_AP_PATHS:MSYSCONFDIR*:S/^SYSCONFDIR//} > + I am probably wrong, but shouldn't those be AP_TARGET?= and not AP_TARGET= ??? Jim -- jeh@FreeBSD.org http://www.FreeBSD.org The Power to Serve jim@TheHousleys.Net http://www.TheHousleys.net --------------------------------------------------------------------- microsoft: "where do you want to go today?" linux: "where do you want to go tomorrow?" BSD: "are you guys coming, or what?" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message