View | Details | Raw Unified | Return to bug 124661
Collapse All | Expand All

(-)p5-DBD-FrontBase/Makefile (-6 / +4 lines)
Lines 1-19 Link Here
1
# New ports collection makefile for:	DBD::FrontBase
1
# New ports collection makefile for:	DBD::FrontBase
2
# Date created:		19 Jul 2007
2
# Date created:		19 Jul 2007
3
# Whom:			Mitchell Smith <mjs@onthenet.com.au>
3
# Whom:			Mitchell Smith <mjs@bur.st>
4
#
4
#
5
# $FreeBSD: ports/databases/p5-DBD-FrontBase/Makefile,v 1.1 2008/06/13 04:40:29 edwin Exp $
5
# $FreeBSD$
6
#
6
#
7
7
8
PORTNAME=	DBD-FrontBase
8
PORTNAME=	DBD-FrontBase
9
PORTVERSION=	1.37
9
PORTVERSION=	1.39
10
CATEGORIES=	databases perl5
10
CATEGORIES=	databases perl5
11
MASTER_SITES+=	http://www.frontbase.com/download/perl/
11
MASTER_SITES+=	http://www.frontbase.com/download/perl/
12
PKGNAMEPREFIX=	p5-
12
PKGNAMEPREFIX=	p5-
13
DISTNAME=	DBD-FB-${PORTVERSION}
13
DISTNAME=	DBD-FB-${PORTVERSION}
14
EXTRACT_SUFX=	.tar
14
EXTRACT_SUFX=	.tar
15
15
16
MAINTAINER=	q@onthenet.com.au
16
MAINTAINER=	mjs@bur.st
17
COMMENT=	DBI driver for FrontBase RDBMS server
17
COMMENT=	DBI driver for FrontBase RDBMS server
18
18
19
BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
19
BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
Lines 23-30 Link Here
23
PERL_CONFIGURE=	yes
23
PERL_CONFIGURE=	yes
24
CFLAGS+=	-I${LOCALBASE}/include
24
CFLAGS+=	-I${LOCALBASE}/include
25
25
26
MAN3=		DBD::FB.3
27
28
.include <bsd.port.pre.mk>
26
.include <bsd.port.pre.mk>
29
27
30
.if ${PERL_LEVEL} < 500600
28
.if ${PERL_LEVEL} < 500600
(-)p5-DBD-FrontBase/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (DBD-FB-1.37.tar) = a45dfdf0c7723b7260fcf83386443874
1
MD5 (DBD-FB-1.39.tar) = 3b65054fc3f5b935fccaaeb41549330c
2
SHA256 (DBD-FB-1.37.tar) = 71afb3e88e630331b1ef78a799a772183b1b2363086b571938cf8d8c06d529cc
2
SHA256 (DBD-FB-1.39.tar) = 04eb6e9ad9611b5810c38521f160f8ffebe6c9060571cbdcc93e4a4298618156
3
SIZE (DBD-FB-1.37.tar) = 53557
3
SIZE (DBD-FB-1.39.tar) = 51828
(-)p5-DBD-FrontBase/files/patch-FB.xs (-24 lines)
Lines 1-24 Link Here
1
--- ../DBD-FB-1.37.orig/FB.xs	Wed Jul 26 16:49:08 2006
2
+++ FB.xs	Fri Jul 20 14:30:25 2007
3
@@ -111,10 +111,6 @@
4
         XSRETURN_YES;
5
     }
6
     /* pre-disconnect checks and tidy-ups */
7
-    if (DBIc_CACHED_KIDS(imp_dbh)) {
8
-        SvREFCNT_dec(DBIc_CACHED_KIDS(imp_dbh));
9
-        DBIc_CACHED_KIDS(imp_dbh) = Nullhv;
10
-    }
11
     /* Check for disconnect() being called whilst refs to cursors	*/
12
     /* still exists. This possibly needs some more thought.		*/
13
     if (DBIc_ACTIVE_KIDS(imp_dbh) && DBIc_WARN(imp_dbh) && !dirty) {
14
@@ -167,10 +163,6 @@
15
     }
16
     else {
17
 	/* pre-disconnect checks and tidy-ups */
18
-        if (DBIc_CACHED_KIDS(imp_dbh)) {
19
-            SvREFCNT_dec(DBIc_CACHED_KIDS(imp_dbh));
20
-            DBIc_CACHED_KIDS(imp_dbh) = Nullhv;
21
-        }
22
         if (DBIc_IADESTROY(imp_dbh)) { /* want's ineffective destroy    */
23
             DBIc_ACTIVE_off(imp_dbh);
24
         }
(-)p5-DBD-FrontBase/files/patch-Makefile.PL (-4 / +4 lines)
Lines 1-5 Link Here
1
--- ../DBD-FB-1.37.orig/Makefile.PL	Wed Nov  1 19:44:28 2006
1
--- Makefile.PL.orig	2008-05-26 16:19:52.000000000 +1000
2
+++ Makefile.PL	Fri Jul 20 14:31:09 2007
2
+++ Makefile.PL	2008-05-26 16:20:12.000000000 +1000
3
@@ -13,37 +13,10 @@
3
@@ -13,37 +13,10 @@
4
 
4
 
5
 my $os = $^O;
5
 my $os = $^O;
Lines 36-43 Link Here
36
-    die "Unable to find Frontbase\nplease set environment variable FRONTBASE_HOME\n";
36
-    die "Unable to find Frontbase\nplease set environment variable FRONTBASE_HOME\n";
37
-}
37
-}
38
+#
38
+#
39
+# The FreeBSD port of FrontBase puts the libs in an unexpected location.
39
+# The FreeBSD port for FrontBase puts the libraries in an unexpected location and causes the Makefile to die.  As we know
40
+# The test for the FrontBase lib dir has been removed.
40
+# that the package is installed at this point, the test for the libraries has been removed.
41
+#
41
+#
42
 
42
 
43
 print "Configuring for ",$os, "\n";
43
 print "Configuring for ",$os, "\n";

Return to bug 124661