Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Aug 2000 20:47:15 -0400 (EDT)
From:      jim@thehousleys.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/20911: Port Update: www/mod_auth_mysql - update for build-scripts
Message-ID:  <200008290047.UAA26148@baby.int.thehousleys.net>

next in thread | raw e-mail | index | archive | help

>Number:         20911
>Category:       ports
>Synopsis:       Port Update: www/mod_auth_mysql - update for build-scripts
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 28 17:50:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     James E. Housley
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
The Housleys dot Net
>Environment:

	

>Description:

	If DSO support isn't compiled into Apache, apxs will just print:

	apxs:Error: Sorry, no DSO support for Apache available
	apxs:Error: under your platform. Make sure the Apache
	apxs:Error: module mod_so is compiled into your server
	apxs:Error: binary `/usr/local/sbin/httpd'.

	and exit with an error.  This makes the building of mod_auth_mysql print
	4 copies of this error, along with Make complaining about errors like:

	"Makefile", line 25: warning: "/usr/local/sbin/apxs -q TARGET" returned
	non-zero status

	freefall is such a machine, which makes my port distfiles survey very
	chatty.  How do you feel about the following patch (which I haven't
	tested on a platform on which apxs works, so please test it too =)


	JIM:
	This builds fine for me on my system with APXS.

>How-To-Repeat:

	

>Fix:

ndex: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/mod_auth_mysql/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile    2000/08/12 11:22:00     1.2
+++ Makefile    2000/08/28 17:32:03
@@ -22,6 +22,9 @@

 AP_PORT?=       apache13
 .if exists(${APXS})
+APXS_WORKS!=   ${APXS} -q TARGET 2>/dev/null || echo no
+.endif
+.if exists(${APXS}) && ${APXS_WORKS} != no
 AP_TARGET!=    ${APXS} -q TARGET
 AP_SYSCONF!=   ${APXS} -q SYSCONFDIR
 AP_INCLUDE!=   ${APXS} -q INCLUDEDIR



>Release-Note:
>Audit-Trail:
>Unformatted:


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?200008290047.UAA26148>