From oz@nixil.org  Wed Jan 21 17:57:37 2004
Return-Path: <oz@nixil.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6B8F616A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 21 Jan 2004 17:57:37 -0800 (PST)
Received: from nixil.org (nixil.org [161.58.222.1])
	by mx1.FreeBSD.org (Postfix) with ESMTP id BC27643D41
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 21 Jan 2004 17:57:34 -0800 (PST)
	(envelope-from oz@nixil.org)
Received: from nixil.org (nixil.net [161.58.222.1])
	by nixil.org (8.12.6p3/8.12.8) with ESMTP id i0M1vYvu079924
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 21 Jan 2004 18:57:34 -0700 (MST)
	(envelope-from oz@nixil.org)
Received: (from oz@localhost)
	by nixil.org (8.12.6p3/8.12.6/Submit) id i0M1vYBh079923;
	Wed, 21 Jan 2004 18:57:34 -0700 (MST)
Message-Id: <200401220157.i0M1vYBh079923@nixil.org>
Date: Wed, 21 Jan 2004 18:57:34 -0700 (MST)
From: Phil Oleson <oz@nixil.net>
Reply-To: Phil Oleson <oz@nixil.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Upgrade of ports/databases/libdbi-drivers to 0.7.1 [patch]
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         61700
>Category:       ports
>Synopsis:       Upgrade of ports/databases/libdbi-drivers to 0.7.1 [patch]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    seanc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 21 18:00:29 PST 2004
>Closed-Date:    Thu Apr 01 08:52:16 PST 2004
>Last-Modified:  Thu Apr 01 08:52:16 PST 2004
>Originator:     Phil Oleson
>Release:        FreeBSD 4.9-STABLE #6 i386
>Organization:
N/A
>Environment:
System: FreeBSD home.nixil.net 4.9-STABLE FreeBSD 4.9-STABLE #6: Wed Jan 21 16:26:50 MST 2004     root@home.nixil.net:/usr/obj/usr/src/sys/HOME  i386

>Description:
	Upgrade of libdbi-drivers to 0.7.1.

	There is an issue though.  Building this port without any 
        options doesnt build anything. I've tried to address this with
	the ECHO_MSG lines.
>How-To-Repeat:
>Fix:

--- patch-libdbi-drivers begins here ---
diff -ruN libdbi-drivers.old/Makefile libdbi-drivers/Makefile
--- libdbi-drivers.old/Makefile	Tue Nov  4 11:04:29 2003
+++ libdbi-drivers/Makefile	Wed Jan 21 18:12:04 2004
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	libdbi-drivers
-PORTVERSION=	0.7.0
+PORTVERSION=	0.7.1
 CATEGORIES=	databases devel
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -53,5 +53,18 @@
 #.else
 #PLIST_SUB+=	MSQL="@comment "
 #.endif
+
+pre-everything::
+.if !defined(WITH_MYSQL) || !defined(WITH_PGSQL) || !defined(WITH_SQLITE)
+	@${ECHO_MSG}
+	@${ECHO_MSG} "To make this port functional, one or more"
+	@${ECHO_MSG} "of the following build options is necessary:"
+	@${ECHO_MSG}
+	@${ECHO_MSG} "WITH_MYSQL=yes		build with Mysql support"
+	@${ECHO_MSG} "WITH_PGSQL=yes		build with PostgreSQL support"
+	@${ECHO_MSG} "WITH_SQLITE=yes		build with Sqlite support"
+#	@${ECHO_MSG} "WITH_MSQL=yes		build with Msql support"
+	@${ECHO_MSG}
+.endif
 
 .include <bsd.port.mk>
diff -ruN libdbi-drivers.old/distinfo libdbi-drivers/distinfo
--- libdbi-drivers.old/distinfo	Wed Oct 29 21:22:19 2003
+++ libdbi-drivers/distinfo	Wed Jan 21 17:15:59 2004
@@ -1 +1 @@
-MD5 (libdbi-drivers-0.7.0.tar.gz) = 4a523d28b53934cdd6bf1fadf0bfc6b9
+MD5 (libdbi-drivers-0.7.1.tar.gz) = f11020119ceb7a6dee3969cb0589d4bc
diff -ruN libdbi-drivers.old/files/patch-ltmain.sh libdbi-drivers/files/patch-ltmain.sh
--- libdbi-drivers.old/files/patch-ltmain.sh	Wed Oct 29 21:22:19 2003
+++ libdbi-drivers/files/patch-ltmain.sh	Wed Jan 21 17:25:22 2004
@@ -1,16 +1,15 @@
---- ltmain.sh.orig	Thu Oct 30 11:32:24 2003
-+++ ltmain.sh	Thu Oct 30 11:32:37 2003
-@@ -3457,11 +3457,13 @@
+--- ltmain.sh.orig	Wed Jan 21 17:23:56 2004
++++ ltmain.sh	Wed Jan 21 17:25:08 2004
+@@ -5492,10 +5492,12 @@
  	fi
  
  	# Install the pseudo-library for information purposes.
 +	if /usr/bin/false ; then
- 	if test "$install_ltlibs" = yes; 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 $?
+ 	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
- 	fi
  
  	# Maybe install the static library, too.
+ 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
--- patch-libdbi-drivers ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->seanc 
Responsible-Changed-By: clement 
Responsible-Changed-When: Wed Jan 21 18:03:37 PST 2004 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=61700 
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Thu Apr 1 08:51:37 PST 2004 
State-Changed-Why:  
Since this PR came in, a separate update (ports/64759) was committed 
to do the update to 0.7.1.  Thanks for helping out, though. 

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