From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 26 06:30:04 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4683C106566B for ; Mon, 26 May 2008 06:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 746178FC20 for ; Mon, 26 May 2008 06:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4Q6U2fm020905 for ; Mon, 26 May 2008 06:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4Q6U2G4020901; Mon, 26 May 2008 06:30:02 GMT (envelope-from gnats) Resent-Date: Mon, 26 May 2008 06:30:02 GMT Resent-Message-Id: <200805260630.m4Q6U2G4020901@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, Mitchell Smith Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C5FF1065677 for ; Mon, 26 May 2008 06:28:03 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 1A12A8FC1D for ; Mon, 26 May 2008 06:28:03 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m4Q6QTpn011540 for ; Mon, 26 May 2008 06:26:29 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m4Q6QTws011539; Mon, 26 May 2008 06:26:29 GMT (envelope-from nobody) Message-Id: <200805260626.m4Q6QTws011539@www.freebsd.org> Date: Mon, 26 May 2008 06:26:29 GMT From: Mitchell Smith To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/123997: (New Port) databases/p5-DBD-FrontBase X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2008 06:30:04 -0000 >Number: 123997 >Category: ports >Synopsis: (New Port) databases/p5-DBD-FrontBase >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon May 26 06:30:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Mitchell Smith >Release: 7.0 >Organization: >Environment: >Description: The perl DBI connector for the FrontBase relational database is not currently available in the FreeBSD ports tree. >How-To-Repeat: >Fix: The attached shar archive contains the necessary files to build the FrontBase DBI driver from the FreeBSd ports system. Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-DBD-FrontBase # p5-DBD-FrontBase/distinfo # p5-DBD-FrontBase/Makefile # p5-DBD-FrontBase/pkg-descr # p5-DBD-FrontBase/pkg-plist # p5-DBD-FrontBase/files # p5-DBD-FrontBase/files/patch-Makefile.PL # echo c - p5-DBD-FrontBase mkdir -p p5-DBD-FrontBase > /dev/null 2>&1 echo x - p5-DBD-FrontBase/distinfo sed 's/^X//' >p5-DBD-FrontBase/distinfo << 'END-of-p5-DBD-FrontBase/distinfo' XMD5 (DBD-FB-1.39.tar) = 3b65054fc3f5b935fccaaeb41549330c XSHA256 (DBD-FB-1.39.tar) = 04eb6e9ad9611b5810c38521f160f8ffebe6c9060571cbdcc93e4a4298618156 XSIZE (DBD-FB-1.39.tar) = 51828 END-of-p5-DBD-FrontBase/distinfo echo x - p5-DBD-FrontBase/Makefile sed 's/^X//' >p5-DBD-FrontBase/Makefile << 'END-of-p5-DBD-FrontBase/Makefile' X# New ports collection makefile for: DBD::FrontBase X# Date created: 19 Jul 2007 X# Whom: Mitchell Smith X# X# $FreeBSD$ X# X XPORTNAME= DBD-FrontBase XPORTVERSION= 1.39 XCATEGORIES= databases perl5 XMASTER_SITES+= http://www.frontbase.com/download/perl/ XPKGNAMEPREFIX= p5- XDISTNAME= DBD-FB-${PORTVERSION} XEXTRACT_SUFX= .tar X XMAINTAINER= mjs@bur.st XCOMMENT= DBI driver for FrontBase RDBMS server X XBUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI XBUILD_DEPENDS+= ${LOCALBASE}/lib/libFBCAccess.a:../frontbase XRUN_DEPENDS+= ${BUILD_DEPENDS} X XPERL_CONFIGURE= yes XCFLAGS+= -I${LOCALBASE}/include X X.include X X.if ${PERL_LEVEL} < 500600 XIGNORE= perl 5.6 or newer required, Install lang/perl5.8 or lang/perl5 and try again X.endif X X.include END-of-p5-DBD-FrontBase/Makefile echo x - p5-DBD-FrontBase/pkg-descr sed 's/^X//' >p5-DBD-FrontBase/pkg-descr << 'END-of-p5-DBD-FrontBase/pkg-descr' XThis is the official implementation of DBD::FrontBase, the DBI Database XConnectivity driver, for accessing FrontBase databases from Perl. X XWWW: http://www.frontbase.com/ END-of-p5-DBD-FrontBase/pkg-descr echo x - p5-DBD-FrontBase/pkg-plist sed 's/^X//' >p5-DBD-FrontBase/pkg-plist << 'END-of-p5-DBD-FrontBase/pkg-plist' X%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/FB/.packlist X%%SITE_PERL%%/%%PERL_ARCH%%/DBD/FB.pm X%%SITE_PERL%%/%%PERL_ARCH%%/DBD/FB/GetInfo.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/FB/FB.bs X%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/FB/FB.so X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/DBD/FB X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/DBD X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/FB X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD END-of-p5-DBD-FrontBase/pkg-plist echo c - p5-DBD-FrontBase/files mkdir -p p5-DBD-FrontBase/files > /dev/null 2>&1 echo x - p5-DBD-FrontBase/files/patch-Makefile.PL sed 's/^X//' >p5-DBD-FrontBase/files/patch-Makefile.PL << 'END-of-p5-DBD-FrontBase/files/patch-Makefile.PL' X--- Makefile.PL.orig 2008-05-26 16:19:52.000000000 +1000 X+++ Makefile.PL 2008-05-26 16:20:12.000000000 +1000 X@@ -13,37 +13,10 @@ X X my $os = $^O; X X-if (! $ENV{FRONTBASE_HOME}) { X- print "Environment variable FRONTBASE_HOME not defined. Searching for Frontbase...\n"; X- if ($os eq 'MSWin32') X- { X- foreach(qw(\usr\FrontBase)) X- { X- if (-d "$_/lib") X- { X- $ENV{FRONTBASE_HOME} = $_; X- last; X- } X- } X- } X- else X- { X- foreach(qw(/Library/Frontbase /Local/Library/FrontBase /usr/FrontBase /opt/FrontBase /usr/local/FrontBase)) X- { X- if (-d "$_/lib") X- { X- $ENV{FRONTBASE_HOME} = $_; X- last; X- } X- } X- } X-} X- X-if (defined($ENV{FRONTBASE_HOME}) && -d "$ENV{FRONTBASE_HOME}/lib") { X- print "Found Frontbase in $ENV{FRONTBASE_HOME}\n"; X-} else { X- die "Unable to find Frontbase\nplease set environment variable FRONTBASE_HOME\n"; X-} X+# X+# The FreeBSD port for FrontBase puts the libraries in an unexpected location and causes the Makefile to die. As we know X+# that the package is installed at this point, the test for the libraries has been removed. X+# X X print "Configuring for ",$os, "\n"; X X@@ -59,7 +32,7 @@ X DISTNAME => 'DBD-FB', X VERSION_FROM => 'FB.pm', X INC => "-I$ENV{FRONTBASE_HOME}/include -I\$(INSTALLSITEARCH)/auto/DBI -I\$(INSTALLARCHLIB)/DBI -I\$(SITEARCH)/auto/DBI -I\$(ARCHLIB)/DBI", X- OBJECT => "FB\$(OBJ_EXT) dbdimp\$(OBJ_EXT) $ENV{FRONTBASE_HOME}/lib/$libFBCAccess", X+ OBJECT => "FB\$(OBJ_EXT) dbdimp\$(OBJ_EXT) /usr/local/lib/$libFBCAccess", X dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', POSTOP => 'mv $(DISTNAME)-$(VERSION).tar.gz ../' }, X realclean => { FILES => '*.xsi' } X ); END-of-p5-DBD-FrontBase/files/patch-Makefile.PL exit >Release-Note: >Audit-Trail: >Unformatted: