Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Dec 2002 17:04:22 +0100 (CET)
From:      Thierry Thomas <thierry@pompo.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/46276: www/p5-Apache-AuthCookie: fixing BUILD_DEPENDS.
Message-ID:  <20021215160422.E82A27600@graf.pompo.net>

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

>Number:         46276
>Category:       ports
>Synopsis:       www/p5-Apache-AuthCookie: fixing BUILD_DEPENDS.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 15 08:10:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Thierry Thomas
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 4.7-STABLE FreeBSD 4.7-STABLE #0: Sat Nov 16 12:34:31 CET 2002 root@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF020727 i386


	
>Description:
	In the other ports, APACHE_PORT already includes PORTSDIR.
	If you have one in /etc/make.conf, this breaks `make index':

	p5-Apache-AuthCookie-2.011:"/usr/ports/www//usr/ports/www/apache13-modssl" non-existent -- dependency list incomplete

	Since I'm here, make portlint happy with ${AWK} and fix $1.

>How-To-Repeat:
	Re-build index.

>Fix:

	Just apply the following patch:


--- www/p5-Apache-AuthCookie/Makefile.orig	Wed Nov 13 00:15:56 2002
+++ www/p5-Apache-AuthCookie/Makefile	Sun Dec 15 17:02:46 2002
@@ -15,12 +15,12 @@
 MAINTAINER=	ports@FreeBSD.org
 
 BUILD_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl \
-		${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/${APACHE_PORT}
+		${LOCALBASE}/sbin/apxs:${APACHE_PORT}
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
-APACHE_PORT?=	apache13
+APACHE_PORT?=	${PORTSDIR}/www/apache13
 CURUSER?=	`whoami`
-CURGRP?=	`groups | awk '{print $1}'`
+CURGRP?=	`groups | ${AWK} '{print $$1}'`
 TESTPORT?=	8228
 PERL_CONFIGURE=	yes
 CONFIGURE_ENV+=	APACHE="${PREFIX}/sbin/apache" \
>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?20021215160422.E82A27600>