ports/154758: [patch] port textproc/htdig fix leftover during package building
olli hauer
ohauer at FreeBSD.org
Sun Feb 13 23:10:14 UTC 2011
>Number: 154758
>Category: ports
>Synopsis: [patch] port textproc/htdig 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:10:11 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
- www/icons
>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/htdig-3.2.0.b6_2.log
>Fix:
--- htdig.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/textproc/htdig/Makefile,v
retrieving revision 1.40
diff -u -r1.40 Makefile
--- Makefile 22 Aug 2009 00:36:58 -0000 1.40
+++ Makefile 13 Feb 2011 22:59:15 -0000
@@ -7,9 +7,10 @@
PORTNAME= htdig
PORTVERSION= 3.2.0.b6
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= textproc www
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/3.2.0b6
+MASTER_SITES= SF
+MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/3.2.0b6
DISTNAME= htdig-3.2.0b6
MAINTAINER= DougB at FreeBSD.org
@@ -40,6 +41,10 @@
.if !defined(WITHOUT_APACHE)
USE_APACHE= 1.3+
CONFIGURE_ARGS+= --with-apache=${LOCALBASE}/sbin
+.include "${PORTSDIR}/Mk/bsd.apache.mk"
+. if ${APACHE_VERSION} > 13
+PLIST_DIRSTRY+= www/cgi-bin www/data www/icons
+. endif
.endif
post-patch:
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/textproc/htdig/distinfo,v
retrieving revision 1.10
diff -u -r1.10 distinfo
--- distinfo 24 Nov 2005 00:08:50 -0000 1.10
+++ distinfo 13 Feb 2011 22:59:15 -0000
@@ -1,3 +1,2 @@
-MD5 (htdig-3.2.0b6.tar.gz) = 8a6952f5b97e305dbb7489045bad220f
SHA256 (htdig-3.2.0b6.tar.gz) = 6da9e0ee8627d5302f5685a1b3e5de5f1e6e8df4c0a92c0ca00796bca9e546c8
SIZE (htdig-3.2.0b6.tar.gz) = 3104936
--- htdig.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list