aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-DBD-Oracle
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2005-02-08 15:28:10 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2005-02-08 15:28:10 +0000
commitf695e1e10e067403fd123b914a59fcbe7be40e45 (patch)
tree192f88e435dedf04f0dfc9f3ea9d5863c420ef6e /databases/p5-DBD-Oracle
parent909d1656d4cb41c3db02d598b21d79a6595685e3 (diff)
downloadports-f695e1e10e067403fd123b914a59fcbe7be40e45.tar.gz
ports-f695e1e10e067403fd123b914a59fcbe7be40e45.zip
Unbreak build - remove cast for (void*)SvOK_off
PR: ports/77090 Submitted by: Tod McQuillin <devin@spamcop.net>
Notes
Notes: svn path=/head/; revision=128285
Diffstat (limited to 'databases/p5-DBD-Oracle')
-rw-r--r--databases/p5-DBD-Oracle/Makefile4
-rw-r--r--databases/p5-DBD-Oracle/pkg-descr3
2 files changed, 4 insertions, 3 deletions
diff --git a/databases/p5-DBD-Oracle/Makefile b/databases/p5-DBD-Oracle/Makefile
index 964f796f07c3..e5c7314aeec2 100644
--- a/databases/p5-DBD-Oracle/Makefile
+++ b/databases/p5-DBD-Oracle/Makefile
@@ -7,6 +7,7 @@
PORTNAME= DBD-Oracle
PORTVERSION= 1.14
+PORTREVISION= 1
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DBD
@@ -27,6 +28,9 @@ MAN1= ora_explain.1
MAN1PREFIX= ${PREFIX}
MAN3= DBD::Oracle.3 DBD::Oraperl.3
+post-patch:
+ @${PERL} -pi -e 's!\(void\*\)(SvOK)!$$1!g' ${WRKSRC}/oci7.c
+
post-install:
.ifndef(NOPORTDOCS)
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
diff --git a/databases/p5-DBD-Oracle/pkg-descr b/databases/p5-DBD-Oracle/pkg-descr
index 159cad589835..02e682277155 100644
--- a/databases/p5-DBD-Oracle/pkg-descr
+++ b/databases/p5-DBD-Oracle/pkg-descr
@@ -2,6 +2,3 @@ DBD::Oracle is a Perl module which works with the DBI module to provide
access to Oracle databases.
WWW: http://search.cpan.org/dist/DBD-Oracle/
-
--- Sergey Skvortsov
-skv@FreeBSD.org