From owner-freebsd-ports Mon Aug 28 17:50: 6 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C145E37B424 for ; Mon, 28 Aug 2000 17:50:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA51721; Mon, 28 Aug 2000 17:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from thehousleys.net (frenchknot.ne.mediaone.net [24.147.224.201]) by hub.freebsd.org (Postfix) with ESMTP id 888E237B43C for ; Mon, 28 Aug 2000 17:47:19 -0700 (PDT) Received: from baby.int.thehousleys.net (baby.int.thehousleys.net. [192.168.0.24]) by thehousleys.net (8.9.3/8.9.3) with ESMTP id UAA01448 for ; Mon, 28 Aug 2000 20:47:19 -0400 (EDT) (envelope-from housley@thehousleys.net) Received: (from housley@localhost) by baby.int.thehousleys.net (8.9.3/8.9.3) id UAA26148; Mon, 28 Aug 2000 20:47:15 -0400 (EDT) (envelope-from housley) Message-Id: <200008290047.UAA26148@baby.int.thehousleys.net> Date: Mon, 28 Aug 2000 20:47:15 -0400 (EDT) From: jim@thehousleys.net Reply-To: jim@thehousleys.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/20911: Port Update: www/mod_auth_mysql - update for build-scripts Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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