Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Dec 2003 21:41:58 +0100 (CET)
From:      Thierry Thomas <thierry@pompo.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/60665: french/facturier: fixing ${APACHE_PORT} usage.
Message-ID:  <20031228204158.03B63750E@graf.pompo.net>
Resent-Message-ID: <200312282050.hBSKoIeu068260@freefall.freebsd.org>

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

>Number:         60665
>Category:       ports
>Synopsis:       french/facturier: fixing ${APACHE_PORT} usage.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 28 12:50:18 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Thierry Thomas
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 4.9-STABLE FreeBSD 4.9-STABLE #0: Thu Nov 20 23:06:13 CET 2003 thierry@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF020727 i386


	
>Description:
	Problem reported by Matthew Seaman:

	The french/facturier port uses the ${APACHE_PORT} variable in a manner
	inconsistent with most other ports that depend on apache, and with the
	usage in bsd.ports.mk.

>How-To-Repeat:
	find /usr/ports/ -name Makefile -exec grep -H APACHE_PORT {} \;

>Fix:
	Please apply the following patch:

--- facturier.diff begins here ---
diff -urN french/facturier.orig/Makefile french/facturier/Makefile
--- french/facturier.orig/Makefile	Thu Nov  6 19:02:36 2003
+++ french/facturier/Makefile	Sun Dec 28 21:20:33 2003
@@ -14,8 +14,8 @@
 MAINTAINER=	thierry@pompo.net
 COMMENT=	Logiciel de facturation pour P.M.I. & P.M.E.
 
-BUILD_DEPENDS=	${LOCALBASE}/sbin/apxs:${APACHE_PORT}
-RUN_DEPENDS=	${LOCALBASE}/sbin/apxs:${APACHE_PORT}					\
+BUILD_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/${APACHE_PORT}
+RUN_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/${APACHE_PORT}			\
 		${LOCALBASE}/bin/htmldoc:${PORTSDIR}/textproc/htmldoc			\
 		${PBASE}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-Mysql		\
 		${PBASE}/Tie/IxHash.pm:${PORTSDIR}/devel/p5-Tie-IxHash
@@ -27,7 +27,7 @@
 USE_MYSQL=	yes
 USE_REINPLACE=	yes
 
-APACHE_PORT?=	${PORTSDIR}/www/apache13
+APACHE_PORT?=	www/apache13
 APACHE_CNFDIR?=	${LOCALBASE}/etc/apache
 APACHE_CONF=	${APACHE_CNFDIR}/httpd.conf
 PBASE=		${SITE_PERL}
--- facturier.diff ends here ---

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



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