Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Apr 2003 14:03:45 +0800 (CST)
From:      Gea-Suan Lin <gslin@netnews.NCTU.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@netnews.NCTU.edu.tw
Subject:   ports/51175: Update port: www/mod_blosxom
Message-ID:  <20030420060345.3B3B46B@netnews.NCTU.edu.tw>
Resent-Message-ID: <200304200610.h3K6AHF6055883@freefall.freebsd.org>

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

>Number:         51175
>Category:       ports
>Synopsis:       Update port: www/mod_blosxom
>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:   Sat Apr 19 23:10:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 4.8-RELEASE FreeBSD 4.8-RELEASE #4: Mon Apr 7 04:42:10 CST 2003 root@netnews.NCTU.edu.tw:/usr/obj/usr/src/sys/NETNEWS i386


	
>Description:
	* Fix the problem if PATH doesn't contain /usr/local/sbin.
	
>How-To-Repeat:
	
>Fix:

diff -ruN /usr/ports/www/mod_blosxom/Makefile mod_blosxom/Makefile
--- /usr/ports/www/mod_blosxom/Makefile	Fri Apr 18 15:09:17 2003
+++ mod_blosxom/Makefile	Sun Apr 20 13:55:57 2003
@@ -14,7 +14,14 @@
 MAINTAINER=	gslin@ccca.nctu.edu.tw
 COMMENT=	Apache module to build the extremely lightweight Weblog environment
 
-BUILD_DEPENDS=	${APXS}:${APACHE_PORT}
-RUN_DEPENDS=	${BUILD_DEPENDS}
+APXS?=		${LOCALBASE}/sbin/apxs
+APACHE_PORT?=	${PORTSDIR}/www/apache13
+
+RUN_DEPENDS=	${APXS}:${APACHE_PORT}
+
+USE_REINPLACE=	yes
+
+post-patch:
+	${REINPLACE_CMD} -e 's,^APXS=.*,APXS=${APXS},' ${WRKSRC}/Makefile
 
 .include <bsd.port.mk>
	


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



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