Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2014 13:08:23 +0000 (UTC)
From:      Andrej Zverev <az@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350007 - in head: . databases databases/p5-DBD-InterBase databases/p5-DBD-InterBase/files
Message-ID:  <201404031308.s33D8N7S084289@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: az
Date: Thu Apr  3 13:08:22 2014
New Revision: 350007
URL: http://svnweb.freebsd.org/changeset/ports/350007
QAT: https://qat.redports.org/buildarchive/r350007/

Log:
  - restore databases/p5-DBD-InterBase
  - set maintainership to Yuri Perezhilin <yuri@rivera.ru>
  
  PR:		ports/187579
  Submitted by:	Yuri Perezhilin <yuri@rivera.ru>

Added:
  head/databases/p5-DBD-InterBase/
     - copied from r334118, head/databases/p5-DBD-InterBase/
  head/databases/p5-DBD-InterBase/files/patch-dbdimp.c   (contents, props changed)
Modified:
  head/MOVED
  head/databases/Makefile
  head/databases/p5-DBD-InterBase/Makefile
  head/databases/p5-DBD-InterBase/pkg-descr

Modified: head/MOVED
==============================================================================
--- head/MOVED	Thu Apr  3 13:00:17 2014	(r350006)
+++ head/MOVED	Thu Apr  3 13:08:22 2014	(r350007)
@@ -5212,7 +5212,6 @@ devel/gonzui||2013-11-18|Has expired: Br
 devel/monodevelop-java||2013-11-18|Has expired: Broken for more than 6 month
 lang/objc||2013-11-18|Has expired: Broken for more than 6 month
 devel/klee||2013-11-18|Has expired: Broken for more than 6 month
-databases/p5-DBD-InterBase||2013-11-18|Has expired: Broken for more than 6 month
 devel/simulavr||2013-11-18|Has expired: Broken for more than 6 month
 japanese/mobileimap||2013-11-18|Has expired: Broken for more than 6 month
 devel/libYGP||2013-11-18|Has expired: Broken for more than 6 month

Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile	Thu Apr  3 13:00:17 2014	(r350006)
+++ head/databases/Makefile	Thu Apr  3 13:08:22 2014	(r350007)
@@ -317,6 +317,7 @@
     SUBDIR += p5-DBD-Excel
     SUBDIR += p5-DBD-FrontBase
     SUBDIR += p5-DBD-Google
+    SUBDIR += p5-DBD-InterBase
     SUBDIR += p5-DBD-LDAP
     SUBDIR += p5-DBD-Mock
     SUBDIR += p5-DBD-Multi

Modified: head/databases/p5-DBD-InterBase/Makefile
==============================================================================
--- head/databases/p5-DBD-InterBase/Makefile	Sun Nov 17 19:39:42 2013	(r334118)
+++ head/databases/p5-DBD-InterBase/Makefile	Thu Apr  3 13:08:22 2014	(r350007)
@@ -3,34 +3,24 @@
 
 PORTNAME=	DBD-InterBase
 PORTVERSION=	0.48
-PORTREVISION=	1
 CATEGORIES=	databases perl5
 MASTER_SITES=	CPAN
 MASTER_SITE_SUBDIR=	DBD
 PKGNAMEPREFIX=	p5-
 
-MAINTAINER=	perl@FreeBSD.org
-COMMENT=	DBI driver for InterBase RDBMS server
-
-DEPRECATED=	Broken for more than 6 month
-EXPIRATION_DATE=	2013-11-18
+MAINTAINER=	yuri@rivera.ru
+COMMENT=	DBI driver for InterBase/Firebird/Yaffil RDBMS server
 
 BUILD_DEPENDS=	p5-DBI>=0:${PORTSDIR}/databases/p5-DBI
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
-USES=		perl5
-USE_PERL5=	configure
 USE_FIREBIRD=	yes
 
-NO_STAGE=	yes
-post-patch:
-	@${REINPLACE_CMD} -i '' -e 's|%%IB_BASE%%|${LOCALBASE}|' \
-		${WRKSRC}/Makefile.PL
+USES=		perl5
+USE_PERL5=	patch configure
 
-MAN3=		DBD::InterBase.3
+post-patch:
+		@${PERL} -pi -e 's,%%IB_BASE%%,${LOCALBASE},g' \
+			${WRKSRC}/Makefile.PL
 
-.include <bsd.port.pre.mk>
-.if ${PERL_LEVEL} > 501400
-BROKEN=	does not compile, project moved or dead, no releases since 2003
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Added: head/databases/p5-DBD-InterBase/files/patch-dbdimp.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/p5-DBD-InterBase/files/patch-dbdimp.c	Thu Apr  3 13:08:22 2014	(r350007)
@@ -0,0 +1,31 @@
+--- dbdimp.c.orig	2008-01-08 09:02:45.000000000 +0300
++++ dbdimp.c		2014-01-27 13:58:49.202445490 +0400
+@@ -113,7 +113,7 @@
+ 
+     if (DBIc_TRACE_LEVEL(imp_xxh) >= 2)
+         PerlIO_printf(DBIc_LOGPIO(imp_xxh), "%s error %d recorded: %s\n", 
+-            what, rc, SvPV(errstr,na));
++            what, rc, SvPV(errstr,PL_na));
+ }
+ 
+ #define CALC_AVAILABLE(buff) sizeof(buff) - strlen(buff) - 1
+@@ -693,7 +693,7 @@
+         return Nullsv;
+     else
+     {
+-        if ((result == &sv_yes) || (result == &sv_no))
++        if ((result == &PL_sv_yes) || (result == &PL_sv_no))
+             return result;
+         else
+             return sv_2mortal(result);
+@@ -1991,8 +1991,8 @@
+         DBIh_EVENT2(drh, ERROR_event, DBIc_ERR(imp_drh), DBIc_ERRSTR(imp_drh));
+         return FALSE;
+     }
+-    if (perl_destruct_level)
+-        perl_destruct_level = 0;
++    if (PL_perl_destruct_level)
++        PL_perl_destruct_level = 0;
+     return FALSE;
+ }
+

Modified: head/databases/p5-DBD-InterBase/pkg-descr
==============================================================================
--- head/databases/p5-DBD-InterBase/pkg-descr	Sun Nov 17 19:39:42 2013	(r334118)
+++ head/databases/p5-DBD-InterBase/pkg-descr	Thu Apr  3 13:08:22 2014	(r350007)
@@ -1,4 +1,4 @@
 DBD::InterBase is a Perl module which works with the DBI module to
-provide access to InterBase databases.
+provide access to InterBase/Firebird/Yaffil databases.
 
 WWW: http://search.cpan.org/dist/DBD-InterBase/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404031308.s33D8N7S084289>