pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/39232 [UPDATE] databases/p5-DBD-Oracle
The following reply was made to PR pkg/39232; it has been noted by GNATS.
From: Jens Rehsack <rehsack%web.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/39232 [UPDATE] databases/p5-DBD-Oracle
Date: Tue, 16 Dec 2008 07:59:54 +0000
This is a multi-part message in MIME format.
--------------070109050201080308040800
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
It seems, he@ is busy at the moment. So here's the patch if someone else has
time and commit permissions.
Best regards,
Jens
--------------070109050201080308040800
Content-Type: text/plain;
name="patch-databases::p5-DBD-Oracle"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="patch-databases::p5-DBD-Oracle"
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/databases/p5-DBD-Oracle/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile 19 Oct 2008 19:17:44 -0000 1.11
+++ Makefile 16 Dec 2008 08:03:01 -0000
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.11 2008/10/19 19:17:44 he Exp $
-DISTNAME= DBD-Oracle-1.19
+DISTNAME= DBD-Oracle-1.22
PKGNAME= p5-${DISTNAME}
PKGREVISION= 1
CATEGORIES= databases perl5
@@ -11,7 +11,17 @@
PERL5_PACKLIST= auto/DBD/Oracle/.packlist
+PKG_OPTIONS_VAR= PKG_OPTIONS.p5-DBD-Oracle
+
+PKG_SUPPORTED_OPTIONS= # empty
+PKG_SUGGESTED_OPTIONS= # empty
+
+PKG_OPTIONS_REQUIRED_GROUPS= oralib
+PKG_OPTIONS_GROUP.oralib= lib32 libsys libbase
+PKG_SUGGESTED_OPTIONS.oralib= libsys
+
.include "../../mk/bsd.prefs.mk"
+.include "../../mk/bsd.options.mk"
.if !defined(ORACLE_HOME)
PKG_FAIL_REASON+= "You must set ORACLE_HOME to the location of your
Oracle installation"
@@ -21,8 +31,18 @@
BUILDLINK_PASSTHRU_DIRS+= ${ORACLE_HOME}
+.if !empty(PKG_OPTIONS:Mlib32)
+LDFLAGS+= -L${ORACLE_HOME}/lib32
+LDFLAGS+= ${COMPILER_RPATH_FLAG}${ORACLE_HOME}/lib32
+.elif !empty(PKG_OPTIONS:Mlib64)
LDFLAGS+= -L${ORACLE_HOME}/lib
LDFLAGS+= ${COMPILER_RPATH_FLAG}${ORACLE_HOME}/lib
+.elif !empty(PKG_OPTIONS:Mlibbase)
+LDFLAGS+= -L${ORACLE_HOME}
+LDFLAGS+= ${COMPILER_RPATH_FLAG}${ORACLE_HOME}
+.endif
+
+CFLAGS+= -I${ORACLE_HOME}/rdbms/public/
LDFLAGS+= -lclntsh
.include "../../databases/p5-DBI/buildlink3.mk"
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/databases/p5-DBD-Oracle/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo 4 Mar 2007 01:04:11 -0000 1.3
+++ distinfo 16 Dec 2008 08:03:01 -0000
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.3 2007/03/04 01:04:11 grant Exp $
-SHA1 (DBD-Oracle-1.19.tar.gz) = 881f87571bff6c934248325b8b0db8de2a5149f3
-RMD160 (DBD-Oracle-1.19.tar.gz) = f22598b160de4f8b72c86c143e481594f290cd67
-Size (DBD-Oracle-1.19.tar.gz) = 369617 bytes
+SHA1 (DBD-Oracle-1.22.tar.gz) = 23df4d0bdf4bc4da21dadc31aaa7dba443a7e9ce
+RMD160 (DBD-Oracle-1.22.tar.gz) = a23804d9f803b245a9e22e050952cd0750da2e19
+Size (DBD-Oracle-1.22.tar.gz) = 424624 bytes
--------------070109050201080308040800--
Home |
Main Index |
Thread Index |
Old Index