ports/60665: french/facturier: fixing ${APACHE_PORT} usage.
Thierry Thomas
thierry at pompo.net
Sun Dec 28 20:50:23 UTC 2003
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list