Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Feb 2011 00:22:20 +0100 (CET)
From:      olli hauer <ohauer@FreeBSD.org>
To:        <FreeBSD-gnats-submit@FreeBSD.org>
Cc:        ohauer@FreeBSD.org
Subject:   ports/154759: [patch] port www/mimetex fix leftover during package building
Message-ID:  <20110213232225.D0A5C1065670@hub.freebsd.org>
Resent-Message-ID: <201102132330.p1DNUAwc088653@freefall.freebsd.org>

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

>Number:         154759
>Category:       ports
>Synopsis:       [patch] port www/mimetex fix leftover during package building
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 13 23:30:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Olli Hauer
>Release:        
>Organization:
>Environment:


>Description:
If APACHE_VERSION > 13, then the following directories are left over.
- www/cgi-bin
- www/data

>How-To-Repeat:
Build the port against apache22

Reference: 
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/147009
http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/a.8-exp.20110129080700/mimetex-20080906.1.70_2.log

>Fix:

--- mimetex.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/mimetex/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- Makefile	8 May 2009 15:31:24 -0000	1.14
+++ Makefile	13 Feb 2011 23:17:56 -0000
@@ -21,6 +21,8 @@
 USE_APACHE=	1.3+
 USE_ZIP=	yes
 
+.include <bsd.port.pre.mk>
+
 FETCH_CMD=	/usr/bin/fetch -rR	# see PR bin/76134
 LN_OPTS=	-sf
 
@@ -28,6 +30,10 @@
 CGI_PRG=	${PORTNAME}.cgi
 WWW_DIR=	${PREFIX}/www/data/mimetex/
 
+.if ${APACHE_VERSION} > 13
+PLIST_DIRSTRY+=	www/cgi-bin www/data
+.endif
+
 # usefull if you run mimetex on another machine
 .if defined(WITH_STATIC)
 STATIC_MIMETEX=	-static
@@ -59,4 +65,4 @@
 	${CAT} ${PKGMESSAGE}
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/www/mimetex/distinfo,v
retrieving revision 1.10
diff -u -r1.10 distinfo
--- distinfo	14 Jan 2009 13:08:27 -0000	1.10
+++ distinfo	13 Feb 2011 23:17:56 -0000
@@ -1,3 +1,2 @@
-MD5 (mimetex/20080906.1.70/mimetex.zip) = 9b0c05c452b93a9f7c682ae2d2d4a3c5
 SHA256 (mimetex/20080906.1.70/mimetex.zip) = 7c3965baee916612124225f4482d2de81f5abd7cdf819d4f3806081615bb6841
 SIZE (mimetex/20080906.1.70/mimetex.zip) = 729841
--- mimetex.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?20110213232225.D0A5C1065670>