Date: Tue, 17 Jun 2008 03:13:09 GMT From: Mitchell Smith <mjs@bur.st> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/124661: (path) databases/p5-DBD-Frontbase update to version 1.39 Message-ID: <200806170313.m5H3D9b0021969@www.freebsd.org> Resent-Message-ID: <200806170320.m5H3K1fN002380@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 124661 >Category: ports >Synopsis: (path) databases/p5-DBD-Frontbase update to version 1.39 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Jun 17 03:20:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Mitchell Smith >Release: 7.0 >Organization: >Environment: >Description: The version of p5-DBD-FrontBase submitted in the WebObjects ports bundle was out of date. A newer version of the Perl module has been made available on the FrontBase website, and some compilation problems in the port have been fixed. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN p5-DBD-FrontBase.orig/Makefile p5-DBD-FrontBase/Makefile --- p5-DBD-FrontBase.orig/Makefile 2008-06-13 14:40:29.000000000 +1000 +++ p5-DBD-FrontBase/Makefile 2008-06-17 08:38:29.000000000 +1000 @@ -1,19 +1,19 @@ # New ports collection makefile for: DBD::FrontBase # Date created: 19 Jul 2007 -# Whom: Mitchell Smith <mjs@onthenet.com.au> +# Whom: Mitchell Smith <mjs@bur.st> # -# $FreeBSD: ports/databases/p5-DBD-FrontBase/Makefile,v 1.1 2008/06/13 04:40:29 edwin Exp $ +# $FreeBSD$ # PORTNAME= DBD-FrontBase -PORTVERSION= 1.37 +PORTVERSION= 1.39 CATEGORIES= databases perl5 MASTER_SITES+= http://www.frontbase.com/download/perl/ PKGNAMEPREFIX= p5- DISTNAME= DBD-FB-${PORTVERSION} EXTRACT_SUFX= .tar -MAINTAINER= q@onthenet.com.au +MAINTAINER= mjs@bur.st COMMENT= DBI driver for FrontBase RDBMS server BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ @@ -23,8 +23,6 @@ PERL_CONFIGURE= yes CFLAGS+= -I${LOCALBASE}/include -MAN3= DBD::FB.3 - .include <bsd.port.pre.mk> .if ${PERL_LEVEL} < 500600 diff -ruN p5-DBD-FrontBase.orig/distinfo p5-DBD-FrontBase/distinfo --- p5-DBD-FrontBase.orig/distinfo 2008-06-13 14:40:29.000000000 +1000 +++ p5-DBD-FrontBase/distinfo 2008-06-11 10:59:31.000000000 +1000 @@ -1,3 +1,3 @@ -MD5 (DBD-FB-1.37.tar) = a45dfdf0c7723b7260fcf83386443874 -SHA256 (DBD-FB-1.37.tar) = 71afb3e88e630331b1ef78a799a772183b1b2363086b571938cf8d8c06d529cc -SIZE (DBD-FB-1.37.tar) = 53557 +MD5 (DBD-FB-1.39.tar) = 3b65054fc3f5b935fccaaeb41549330c +SHA256 (DBD-FB-1.39.tar) = 04eb6e9ad9611b5810c38521f160f8ffebe6c9060571cbdcc93e4a4298618156 +SIZE (DBD-FB-1.39.tar) = 51828 diff -ruN p5-DBD-FrontBase.orig/files/patch-FB.xs p5-DBD-FrontBase/files/patch-FB.xs --- p5-DBD-FrontBase.orig/files/patch-FB.xs 2008-06-13 14:40:29.000000000 +1000 +++ p5-DBD-FrontBase/files/patch-FB.xs 1970-01-01 10:00:00.000000000 +1000 @@ -1,24 +0,0 @@ ---- ../DBD-FB-1.37.orig/FB.xs Wed Jul 26 16:49:08 2006 -+++ FB.xs Fri Jul 20 14:30:25 2007 -@@ -111,10 +111,6 @@ - XSRETURN_YES; - } - /* pre-disconnect checks and tidy-ups */ -- if (DBIc_CACHED_KIDS(imp_dbh)) { -- SvREFCNT_dec(DBIc_CACHED_KIDS(imp_dbh)); -- DBIc_CACHED_KIDS(imp_dbh) = Nullhv; -- } - /* Check for disconnect() being called whilst refs to cursors */ - /* still exists. This possibly needs some more thought. */ - if (DBIc_ACTIVE_KIDS(imp_dbh) && DBIc_WARN(imp_dbh) && !dirty) { -@@ -167,10 +163,6 @@ - } - else { - /* pre-disconnect checks and tidy-ups */ -- if (DBIc_CACHED_KIDS(imp_dbh)) { -- SvREFCNT_dec(DBIc_CACHED_KIDS(imp_dbh)); -- DBIc_CACHED_KIDS(imp_dbh) = Nullhv; -- } - if (DBIc_IADESTROY(imp_dbh)) { /* want's ineffective destroy */ - DBIc_ACTIVE_off(imp_dbh); - } diff -ruN p5-DBD-FrontBase.orig/files/patch-Makefile.PL p5-DBD-FrontBase/files/patch-Makefile.PL --- p5-DBD-FrontBase.orig/files/patch-Makefile.PL 2008-06-13 14:40:29.000000000 +1000 +++ p5-DBD-FrontBase/files/patch-Makefile.PL 2008-06-11 10:59:31.000000000 +1000 @@ -1,5 +1,5 @@ ---- ../DBD-FB-1.37.orig/Makefile.PL Wed Nov 1 19:44:28 2006 -+++ Makefile.PL Fri Jul 20 14:31:09 2007 +--- Makefile.PL.orig 2008-05-26 16:19:52.000000000 +1000 ++++ Makefile.PL 2008-05-26 16:20:12.000000000 +1000 @@ -13,37 +13,10 @@ my $os = $^O; @@ -36,8 +36,8 @@ - die "Unable to find Frontbase\nplease set environment variable FRONTBASE_HOME\n"; -} +# -+# The FreeBSD port of FrontBase puts the libs in an unexpected location. -+# The test for the FrontBase lib dir has been removed. ++# The FreeBSD port for FrontBase puts the libraries in an unexpected location and causes the Makefile to die. As we know ++# that the package is installed at this point, the test for the libraries has been removed. +# print "Configuring for ",$os, "\n"; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806170313.m5H3D9b0021969>