From lth@dask.thegler.dk  Sun Oct 26 15:11:16 2003
Return-Path: <lth@dask.thegler.dk>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id D668A16A4B3; Sun, 26 Oct 2003 15:11:16 -0800 (PST)
Received: from dask.thegler.dk (port156.ds1-bav.adsl.cybercity.dk [217.157.188.161])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 30D5743F3F; Sun, 26 Oct 2003 15:11:16 -0800 (PST)
	(envelope-from lth@dask.thegler.dk)
Received: by dask.thegler.dk (Postfix, from userid 1001)
	id 316AB3EB3; Mon, 27 Oct 2003 00:11:15 +0100 (CET)
Message-Id: <20031026231115.316AB3EB3@dask.thegler.dk>
Date: Mon, 27 Oct 2003 00:11:15 +0100 (CET)
From: Lars Thegler <lars@thegler.dk>
To: FreeBSD-gnats-submit@freebsd.org
Cc: sergei@FreeBSD.org
Subject: [MAINTAINER] www/libhttpd-persistent: Fix for bento build
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         58584
>Category:       ports
>Synopsis:       [MAINTAINER] www/libhttpd-persistent: Fix for bento build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sergei
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 26 15:20:15 PST 2003
>Closed-Date:    Tue Oct 28 02:07:47 PST 2003
>Last-Modified:  Tue Oct 28 02:07:47 PST 2003
>Originator:     Lars Thegler
>Release:        FreeBSD 4.9-RC i386
>Organization:
>Environment:
System: FreeBSD dask.thegler.dk 4.9-RC FreeBSD 4.9-RC #0: Sat Oct  4 18:34:10 CEST
>Description:
- Build environment on bento has no configured /dev/tty, so
  Makefile contruction fails.  Attached patch avoids /dev/tty.

- Bumped PORTREVISION so things get updated on bento.

Committer: please create 'files' directory and add 'files/patch-library_unix.mm'.

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- libhttpd-persistent-1.3e_1.patch begins here ---
diff -ruN --exclude=CVS /usr/home/lth/ports/www/libhttpd-persistent.orig/Makefile /usr/home/lth/ports/www/libhttpd-persistent/Makefile
--- /usr/home/lth/ports/www/libhttpd-persistent.orig/Makefile	Mon Oct 27 00:02:05 2003
+++ /usr/home/lth/ports/www/libhttpd-persistent/Makefile	Sun Oct 26 23:50:51 2003
@@ -7,6 +7,7 @@
 
 PORTNAME=	libhttpd
 PORTVERSION=	${VERSION}${LEVEL}
+PORTREVISION=	1
 CATEGORIES=	www devel
 MASTER_SITES=	http://www.deleet.de/projekte/daap/daapd/
 PKGNAMESUFFIX=	-persistent
diff -ruN --exclude=CVS /usr/home/lth/ports/www/libhttpd-persistent.orig/files/patch-library_unix.mm /usr/home/lth/ports/www/libhttpd-persistent/files/patch-library_unix.mm
--- /usr/home/lth/ports/www/libhttpd-persistent.orig/files/patch-library_unix.mm	Thu Jan  1 01:00:00 1970
+++ /usr/home/lth/ports/www/libhttpd-persistent/files/patch-library_unix.mm	Sun Oct 26 23:52:38 2003
@@ -0,0 +1,40 @@
+--- makegen/library_unix.mm.orig	Sun Oct 26 23:52:02 2003
++++ makegen/library_unix.mm	Sun Oct 26 23:52:23 2003
+@@ -8,14 +8,14 @@
+ fi
+ 
+ 
+-if echo '\c' | grep -s c >/dev/null 2>&1
+-then
+-	ECHO_N="echo -n"
+-	ECHO_C=""
+-else
+-	ECHO_N="echo"
+-	ECHO_C='\c'
+-fi
++#if echo '\c' | grep -s c >/dev/null 2>&1
++#then
++#	ECHO_N="echo -n"
++#	ECHO_C=""
++#else
++#	ECHO_N="echo"
++#	ECHO_C='\c'
++#fi
+ 
+ 
+ lib=$1
+@@ -24,10 +24,10 @@
+ 
+ for src in $libsrc
+ do
+-	if test -c /dev/tty
+-	then
+-		$ECHO_N ".$ECHO_C" > /dev/tty
+-	fi
++#	if test -c /dev/tty
++#	then
++#		$ECHO_N ".$ECHO_C" > /dev/tty
++#	fi
+ 	base=`echo $src | sed "s/\..*//"`
+ 	obj=`echo $src | sed "s/\.c\$/.o/"`
+ 	libobj="$libobj $obj"
--- libhttpd-persistent-1.3e_1.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sergei 
Responsible-Changed-By: sergei 
Responsible-Changed-When: Sun Oct 26 22:54:13 PST 2003 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=58584 
State-Changed-From-To: open->closed 
State-Changed-By: sergei 
State-Changed-When: Tue Oct 28 02:07:16 PST 2003 
State-Changed-Why:  
Committed (with minor modifications), thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=58584 
>Unformatted:
