Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Oct 2000 08:10:06 -0400
From:      James Housley <jim@thehousleys.net>
To:        "Scot W. Hetzel" <hetzels@westbend.net>
Cc:        FreeBSD-Ports <ports@FreeBSD.ORG>
Subject:   Re: New bsd.apache.mk
Message-ID:  <39F0361E.E5C46A56@thehousleys.net>
References:  <200010200259.VAA00433@wbiw01.westbend.net>

next in thread | previous in thread | raw e-mail | index | archive | help
"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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39F0361E.E5C46A56>