From root@cainites.net  Fri Dec  6 12:34:50 2013
Return-Path: <root@cainites.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 7E49F3F7
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  6 Dec 2013 12:34:50 +0000 (UTC)
Received: from cainites.net (tunnel3563.ipv6.xs4all.nl [IPv6:2001:888:10:deb::2])
	(using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 373CF1847
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  6 Dec 2013 12:34:50 +0000 (UTC)
Received: from root by cainites.net with local (Exim 4.80.1 (FreeBSD))
	(envelope-from <root@cainites.net>)
	id 1VoucJ-000Akj-HY
	for FreeBSD-gnats-submit@freebsd.org; Fri, 06 Dec 2013 13:34:47 +0100
Message-Id: <E1VoucJ-000Akj-HY@cainites.net>
Date: Fri, 06 Dec 2013 13:34:47 +0100
From: Ralf van der Enden <tremere@cainites.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] databases/tinycdb: also build+install shared library
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         184537
>Category:       ports
>Synopsis:       [PATCH] databases/tinycdb: also build+install shared library
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pawel
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 06 12:40:01 UTC 2013
>Closed-Date:    Sun Dec 08 19:57:42 UTC 2013
>Last-Modified:  Sun Dec  8 20:00:00 UTC 2013
>Originator:     Ralf van der Enden
>Release:        FreeBSD 9.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD lan.cainites.net 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255981: Wed Oct  2 10:15:07
>Description:
Also build and install shared library.
(Required for a near-future update to dns/powerdns-devel and dns/powerdns)

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- tinycdb-0.78.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 335741)
+++ Makefile	(working copy)
@@ -10,7 +10,10 @@
 COMMENT=	Analogous to cdb, but faster
 
 USE_GMAKE=	yes
+USE_LDCONFIG=	yes
 MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" prefix="${PREFIX}"
+ALL_TARGET=	static sharedlib
+INSTALL_TARGET=	install install-sharedlib
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
@@ -18,7 +21,7 @@
 MAN3=		cdb.3
 MAN5=		cdb.5
 
-PLIST_FILES=	bin/cdb include/cdb.h lib/libcdb.a
+PLIST_FILES=	bin/cdb include/cdb.h lib/libcdb.a lib/libcdb.so lib/libcdb.so.1
 
 NO_STAGE=	yes
 .include <bsd.port.mk>
--- tinycdb-0.78.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->pawel 
Responsible-Changed-By: pawel 
Responsible-Changed-When: Sun Dec 8 19:45:29 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=184537 
State-Changed-From-To: open->closed 
State-Changed-By: pawel 
State-Changed-When: Sun Dec 8 19:57:41 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=184537 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/184537: commit references a PR
Date: Sun,  8 Dec 2013 19:57:35 +0000 (UTC)

 Author: pawel
 Date: Sun Dec  8 19:57:27 2013
 New Revision: 335935
 URL: http://svnweb.freebsd.org/changeset/ports/335935
 
 Log:
   - Build and install shared library [1]
   - Convert to staging
   
   PR:		ports/184537 [1]
   Submitted by:	Ralf van der Enden <tremere@cainites.net>
 
 Modified:
   head/databases/tinycdb/Makefile   (contents, props changed)
 
 Modified: head/databases/tinycdb/Makefile
 ==============================================================================
 --- head/databases/tinycdb/Makefile	Sun Dec  8 19:52:32 2013	(r335934)
 +++ head/databases/tinycdb/Makefile	Sun Dec  8 19:57:27 2013	(r335935)
 @@ -3,6 +3,7 @@
  
  PORTNAME=	tinycdb
  PORTVERSION=	0.78
 +PORTREVISION=	1
  CATEGORIES=	databases
  MASTER_SITES=	http://www.corpit.ru/mjt/tinycdb/
  
 @@ -10,15 +11,14 @@ MAINTAINER=	ports@FreeBSD.org
  COMMENT=	Analogous to cdb, but faster
  
  USE_GMAKE=	yes
 +USE_LDCONFIG=	yes
  MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" prefix="${PREFIX}"
 +ALL_TARGET=	static sharedlib
 +INSTALL_TARGET=	install install-sharedlib
  
  WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
  
 -MAN1=		cdb.1
 -MAN3=		cdb.3
 -MAN5=		cdb.5
 +PLIST_FILES=	bin/cdb include/cdb.h lib/libcdb.a lib/libcdb.so lib/libcdb.so.1 \
 +		man/man1/cdb.1.gz man/man3/cdb.3.gz man/man5/cdb.5.gz
  
 -PLIST_FILES=	bin/cdb include/cdb.h lib/libcdb.a
 -
 -NO_STAGE=	yes
  .include <bsd.port.mk>
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
