From tkato432@yahoo.com  Fri Jun  3 15:02:03 2005
Return-Path: <tkato432@yahoo.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2710316A41C
	for <FreeBSD-gnats-submit@FreeBSD.org>; Fri,  3 Jun 2005 15:02:03 +0000 (GMT)
	(envelope-from tkato432@yahoo.com)
Received: from hfep01.dion.ne.jp (hfep01.dion.ne.jp [203.181.105.67])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3238C43D4C
	for <FreeBSD-gnats-submit@FreeBSD.org>; Fri,  3 Jun 2005 15:02:02 +0000 (GMT)
	(envelope-from tkato432@yahoo.com)
Received: from localhost ([219.108.136.144]) by hfep01.dion.ne.jp with SMTP
          id <20050603150158433.MKHZ@hfep01.dion.ne.jp>
          for <FreeBSD-gnats-submit@FreeBSD.org>;
          Sat, 4 Jun 2005 00:01:58 +0900
Message-Id: <20050604000020.67e0076d.tkato432@yahoo.com>
Date: Sat, 4 Jun 2005 00:00:20 +0900
From: KATO Tsuguru <tkato432@yahoo.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: Update port: devel/libredblack to 1.3

>Number:         81854
>Category:       ports
>Synopsis:       Update port: devel/libredblack to 1.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 03 15:10:04 GMT 2005
>Closed-Date:    Sun Jun 05 12:42:38 GMT 2005
>Last-Modified:  Sun Jun 05 12:42:38 GMT 2005
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p7 i386
>Organization:
>Environment:
>Description:
- Update to version 1.3

Remove file:
files/patch-aa

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/libredblack/Makefile devel/libredblack/Makefile
--- /usr/ports/devel/libredblack/Makefile	Tue Apr  5 01:00:28 2005
+++ devel/libredblack/Makefile	Fri Jun  3 12:14:35 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	libredblack
-PORTVERSION=	1.2
+PORTVERSION=	1.3
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -14,10 +14,25 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Library that provides the red-black balanced tree algorithm
 
-MAN3=		rbcloselist.3 rbdelete.3 rbdestroy.3 rbfind.3 rbinit.3 rblookup.3 \
-		rbopenlist.3 rbreadlist.3 rbsearch.3 rbwalk.3
-
-GNU_CONFIGURE=	yes
+USE_REINPLACE=	yes
+USE_LIBTOOL_VER=	15
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 INSTALLS_SHLIB=	yes
+
+MAN1=		rbgen.1
+MAN3=		rbcloselist.3 rbdelete.3 rbdestroy.3 rbfind.3 rbinit.3 \
+		rblookup.3 rbopenlist.3 rbreadlist.3 rbsearch.3 rbwalk.3
+
+.if defined(WITHOUT_PYTHON)
+CONFIGURE_ARGS+=	--without-rbgen
+PLIST_SUB+=	PYTHON="@comment "
+.else
+USE_PYTHON=	yes
+PLIST_SUB+=	PYTHON=""
+.endif
+
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|^CFLAGS =.*$$|CFLAGS = @CFLAGS@|g' ${WRKSRC}/Makefile.in
 
 .include <bsd.port.mk>
diff -urN /usr/ports/devel/libredblack/distinfo devel/libredblack/distinfo
--- /usr/ports/devel/libredblack/distinfo	Wed Mar 31 18:05:46 2004
+++ devel/libredblack/distinfo	Thu Jun  2 02:25:19 2005
@@ -1,2 +1,2 @@
-MD5 (libredblack-1.2.tar.gz) = 0719f20f718256a506b00b2c13f4dfd6
-SIZE (libredblack-1.2.tar.gz) = 177211
+MD5 (libredblack-1.3.tar.gz) = 2b3d5cf18b7c611febdd946411b1e9c7
+SIZE (libredblack-1.3.tar.gz) = 209564
diff -urN /usr/ports/devel/libredblack/files/patch-aa devel/libredblack/files/patch-aa
--- /usr/ports/devel/libredblack/files/patch-aa	Tue Apr 16 03:38:18 2002
+++ devel/libredblack/files/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,25 +0,0 @@
---- ltmain.sh.orig	Fri Mar  3 10:50:28 2000
-+++ ltmain.sh	Mon Apr 15 12:52:12 2002
-@@ -1795,6 +1795,9 @@
- 	*-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
- 	  # these systems don't actually have a c library (as such)!
- 	  ;;
-+	*-*-freebsd*)
-+	  # FreeBSD doesn't need this...
-+	  ;;
- 	*)
- 	  # Add libc to deplibs on all other systems.
- 	  deplibs="$deplibs -lc"
-@@ -3348,10 +3351,12 @@
- 	fi
- 
- 	# Install the pseudo-library for information purposes.
-+	if /usr/bin/false; then
- 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- 	instname="$dir/$name"i
- 	$show "$install_prog $instname $destdir/$name"
- 	$run eval "$install_prog $instname $destdir/$name" || exit $?
-+	fi
- 
- 	# Maybe install the static library, too.
- 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff -urN /usr/ports/devel/libredblack/pkg-plist devel/libredblack/pkg-plist
--- /usr/ports/devel/libredblack/pkg-plist	Tue Apr 16 03:38:14 2002
+++ devel/libredblack/pkg-plist	Fri Jun  3 12:11:59 2005
@@ -1,4 +1,8 @@
+%%PYTHON%%bin/rbgen
+include/redblack.h
 lib/libredblack.a
 lib/libredblack.so
 lib/libredblack.so.2
-include/redblack.h
+%%DATADIR%%/redblack.c
+%%DATADIR%%/redblack.h
+@dirrm %%DATADIR%%
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: sem 
State-Changed-When: Sun Jun 5 12:42:31 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

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