From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jan 21 18:00:33 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2471016A4CE for ; Wed, 21 Jan 2004 18:00:33 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA5CD43D53 for ; Wed, 21 Jan 2004 18:00:29 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i0M20TFR085847 for ; Wed, 21 Jan 2004 18:00:29 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0M20TYB085846; Wed, 21 Jan 2004 18:00:29 -0800 (PST) (envelope-from gnats) Resent-Date: Wed, 21 Jan 2004 18:00:29 -0800 (PST) Resent-Message-Id: <200401220200.i0M20TYB085846@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Phil Oleson Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B8F616A4CE for ; 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 ; 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 ; 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/61700: Upgrade of ports/databases/libdbi-drivers to 0.7.1 [patch] X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Phil Oleson List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2004 02:00:33 -0000 >Number: 61700 >Category: ports >Synopsis: Upgrade of ports/databases/libdbi-drivers to 0.7.1 [patch] >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Jan 21 18:00:29 PST 2004 >Closed-Date: >Last-Modified: >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 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: >Unformatted: