Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 2013 22:59:22 +0100 (CET)
From:      Rodrigo Osorio <rodrigo@bebik.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/184457: devel/libredblack  stage fix 
Message-ID:  <201312022159.rB2LxMj0074042@q.workgroup>
Resent-Message-ID: <201312022210.rB2MA03d056938@freefall.freebsd.org>

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

>Number:         184457
>Category:       ports
>Synopsis:       devel/libredblack  stage fix
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 02 22:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Rodrigo Osorio
>Release:        FreeBSD 10.0-BETA3 i386
>Organization:
>Environment:
System: FreeBSD q 10.0-BETA3 FreeBSD 10.0-BETA3 #0 r257580: Sun Nov 3 21:15:32 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	Fix stage
	Add licence
	Strip binary
	
>How-To-Repeat:
	
>Fix:

	

--- libredblack.diff begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 335354)
+++ Makefile	(working copy)
@@ -10,14 +10,12 @@
 MAINTAINER=	rodrigo@bebik.net
 COMMENT=	Library that provides the red-black balanced tree algorithm
 
+LICENSE=	GPLv2
+
 USE_AUTOTOOLS=	libtool
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	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 "
@@ -26,7 +24,6 @@
 PLIST_SUB+=	PYTHON=""
 .endif
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|^CFLAGS =.*$$|CFLAGS = @CFLAGS@|g' ${WRKSRC}/Makefile.in
@@ -33,4 +30,7 @@
 	@${REINPLACE_CMD} -e \
 		's|implemented.*Various||g' ${WRKSRC}/rbgen.in
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libredblack.so
+
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 335354)
+++ pkg-plist	(working copy)
@@ -7,3 +7,14 @@
 %%DATADIR%%/redblack.c
 %%DATADIR%%/redblack.h
 @dirrm %%DATADIR%%
+man/man1/rbgen.1.gz
+man/man3/rbcloselist.3.gz
+man/man3/rbdelete.3.gz
+man/man3/rbdestroy.3.gz
+man/man3/rbfind.3.gz
+man/man3/rbinit.3.gz
+man/man3/rblookup.3.gz
+man/man3/rbopenlist.3.gz
+man/man3/rbreadlist.3.gz
+man/man3/rbsearch.3.gz
+man/man3/rbwalk.3.gz
--- libredblack.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?201312022159.rB2LxMj0074042>