From robin@yirdis.nl  Fri Feb 17 22:43:15 2006
Return-Path: <robin@yirdis.nl>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9361016A420;
	Fri, 17 Feb 2006 22:43:15 +0000 (GMT)
	(envelope-from robin@yirdis.nl)
Received: from mail.yirdis.nl (82-148-208-109.fiber.unet.nl [82.148.208.109])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 13F8843D45;
	Fri, 17 Feb 2006 22:43:14 +0000 (GMT)
	(envelope-from robin@yirdis.nl)
Received: from server.yirdis.net (localhost [127.0.0.1])
	by mail.yirdis.nl (8.13.3/8.13.3) with ESMTP id k1HMhDZg064566
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Fri, 17 Feb 2006 23:43:13 +0100 (CET)
	(envelope-from robin@server.yirdis.net)
Received: (from robin@localhost)
	by server.yirdis.net (8.13.3/8.13.3/Submit) id k1HMhD0Q064565;
	Fri, 17 Feb 2006 23:43:13 +0100 (CET)
	(envelope-from robin)
Message-Id: <200602172243.k1HMhD0Q064565@server.yirdis.net>
Date: Fri, 17 Feb 2006 23:43:13 +0100 (CET)
From: Robin Gruyters <r.gruyters@yirdis.nl>
To: FreeBSD-gnats-submit@freebsd.org
Cc: sergei@freebsd.org
Subject: [MAINTAINER] security/libpreludedb: fix libtool problem, added WITH_SQLITE and updated pkg-plist
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         93500
>Category:       ports
>Synopsis:       [MAINTAINER] security/libpreludedb: fix libtool problem, added WITH_SQLITE and updated pkg-plist
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sergei
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 17 22:50:04 GMT 2006
>Closed-Date:    Mon Feb 20 23:03:57 GMT 2006
>Last-Modified:  Mon Feb 20 23:03:57 GMT 2006
>Originator:     Robin Gruyters
>Release:        FreeBSD 5.4-RELEASE-p11 i386
>Organization:
YIRDIS B.V.
>Environment:
System: FreeBSD server.yirdis.net 5.4-RELEASE-p11 FreeBSD 5.4-RELEASE-p11 #0: Thu Feb  2 17:02:52 CET
>Description:

Changelog:
- Removed libtool entry in Makefile and added GNU_CONFIGURE
- Added WITH_SQLITE to Makefile
- Updated package list (pkg-plist) file

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

--- libpreludedb-0.9.4.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/libpreludedb/Makefile /data2/FreeBSD/custom_ports/security/libpreludedb/Makefile
--- /usr/ports/security/libpreludedb/Makefile	Thu Feb 16 02:25:40 2006
+++ /data2/FreeBSD/custom_ports/security/libpreludedb/Makefile	Fri Feb 17 23:40:05 2006
@@ -16,10 +16,10 @@
 USE_GPG=		yes
 SIG_SUFFIX=		.sig
 USE_GMAKE=		yes
-USE_AUTOTOOLS=		libtool:15
+GNU_CONFIGURE=		yes
 INSTALLS_SHLIB=		yes
 LDCONFIG_DIRS=		%%PREFIX%%/lib \
-			%%PREFIX%%/lib/libpreludedb/plugins/format
+			%%PREFIX%%/lib/libpreludedb/plugins/formats
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 
 .if defined(WITH_PERL)
@@ -58,6 +58,16 @@
 .else
 CONFIGURE_ARGS+=	--disable-pgsql
 PLIST_SUB+=		WITH_PGSQL="@comment "
+.endif
+
+.if defined(WITH_SQLITE)
+USE_SQLITE=		yes
+CONFIGURE_ARGS+=	--enable-sqlite3
+PLIST_SUB+=		WITH_SQLITE=""
+LDCONFIG_DIRS+=		%%PREFIX%%/lib/libpreludedb/plugins/sql
+.else
+CONFIGURE_ARGS+=	--disable-sqlite3
+PLIST_SUB+=		WITH_SQLITE="@comment "
 .endif
 
 .if !defined(NOPORTDOCS)
diff -ruN --exclude=CVS /usr/ports/security/libpreludedb/pkg-plist /data2/FreeBSD/custom_ports/security/libpreludedb/pkg-plist
--- /usr/ports/security/libpreludedb/pkg-plist	Wed Feb 15 13:51:16 2006
+++ /data2/FreeBSD/custom_ports/security/libpreludedb/pkg-plist	Fri Feb 17 23:40:12 2006
@@ -11,12 +11,18 @@
 include/libpreludedb/preludedb.h
 lib/libpreludedb.so.2
 lib/libpreludedb.so
-lib/libpreludedb.a
+lib/libpreludedb.la
 lib/libpreludedb/plugins/formats/classic.so
+lib/libpreludedb/plugins/formats/classic.la
 %%WITH_MYSQL%%lib/libpreludedb/plugins/sql/mysql.so
+%%WITH_MYSQL%%lib/libpreludedb/plugins/sql/mysql.la
 %%WITH_MYSQL%%@dirrmtry lib/libpreludedb/plugins/sql
 %%WITH_PGSQL%%lib/libpreludedb/plugins/sql/pgsql.so
+%%WITH_PGSQL%%lib/libpreludedb/plugins/sql/pgsql.la
 %%WITH_PGSQL%%@dirrmtry lib/libpreludedb/plugins/sql
+%%WITH_SQLITE%%lib/libpreludedb/plugins/sql/sqlite3.so
+%%WITH_SQLITE%%lib/libpreludedb/plugins/sql/sqlite3.la
+%%WITH_SQLITE%%@dirrmtry lib/libpreludedb/plugins/sql
 %%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/PreludeDB.pm
 %%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/PreludeDB/.packlist
 %%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/PreludeDB/PreludeDB.bs
--- libpreludedb-0.9.4.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sergei 
Responsible-Changed-By: sergei 
Responsible-Changed-When: Sat Feb 18 04:40:20 UTC 2006 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93500 
State-Changed-From-To: open->closed 
State-Changed-By: sergei 
State-Changed-When: Mon Feb 20 23:03:48 UTC 2006 
State-Changed-Why:  
Committed (with minor modifications) - thanks! 

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