ports/61700: Upgrade of ports/databases/libdbi-drivers to 0.7.1 [patch]
Phil Oleson
oz at nixil.net
Thu Jan 22 02:00:33 UTC 2004
>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 at 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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list