Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2001 01:30:29 -0400 (EDT)
From:      Pete Fritchman <petef@databits.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/28440: Fix build for www/mod_layout
Message-ID:  <200106270530.f5R5UTJ03389@electron.databits.net>

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

>Number:         28440
>Category:       ports
>Synopsis:       Fix build for www/mod_layout
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 26 22:40:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Pete Fritchman
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
Databits Network Services, Inc.
>Environment:
System: FreeBSD electron.databits.net 4.3-STABLE FreeBSD 4.3-STABLE #7: Mon Jun 11 10:15:45 EDT 2001 root@electron.databits.net:/usr/obj/usr/src/sys/ELECTRON i386

>Description:

If apache was installed as a depend from mod_layout, "apxs" might not
show up in your path (csh), or you might not have ${LOCALBASE}/sbin in
your path at all.

>How-To-Repeat:

http://bento.freebsd.org/errorlogs/4-full/mod_layout-2.10.6.log

>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/mod_layout/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	2001/06/17 18:36:35	1.2
+++ Makefile	2001/06/27 05:29:46
@@ -16,8 +16,11 @@
 BUILD_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
 RUN_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
 
+MAKE_ENV=	APXS=${LOCALBASE}/sbin/apxs
+
 post-patch:
-	@${PERL} -pi -e 's!-i -a -n!-i -A -n!' ${WRKSRC}/Makefile
+	@${PERL} -pi -e 's!-i -a -n!-i -A -n!; s!APXS=apxs!APXS?=apxs!' \
+		${WRKSRC}/Makefile
 
 post-install:
 .if !defined(NOPORTDOCS)
>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?200106270530.f5R5UTJ03389>