Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jun 2005 00:00:20 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/81854: Update port: devel/libredblack to 1.3
Message-ID:  <20050604000020.67e0076d.tkato432@yahoo.com>
Resent-Message-ID: <200506031510.j53FA58t049830@freefall.freebsd.org>

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

>Number:         81854
>Category:       ports
>Synopsis:       Update port: devel/libredblack to 1.3
>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:   Fri Jun 03 15:10:04 GMT 2005
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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