diff options
author | grant <grant> | 2004-03-29 10:01:33 +0000 |
---|---|---|
committer | grant <grant> | 2004-03-29 10:01:33 +0000 |
commit | 159dd5d7480a8d0a95e1df73f3eaeec461eeb471 (patch) | |
tree | 2f3fd2994a6e1b539307057206ae3ea563532aaf /databases/p5-sybperl | |
parent | 92a99b97217b336ed2b35997b89ae5dc1106b85a (diff) | |
download | pkgsrc-159dd5d7480a8d0a95e1df73f3eaeec461eeb471.tar.gz |
Initial import of p5-sybperl-2.16 into the NetBSD packages collection.
sybperl includes four modules: Sybase::DBlib, Sybase::CTlib,
Sybase::BCP and Sybase::Sybperl. The first two implement a thin
wrapper around the Sybase DB-Library and Client Library APIs,
respectively. Sybase::BCP is a specialty module aimed at doing
Bulk-Copy operations, and Sybase::Sybperl is a compatibility module
with sybperl 1.xx (i.e. with the perl 4.x version).
The sybperl modules are thin wrappers around the Sybase APIs. This is
both good and bad. It's good because you have greater control, and
because the API is (obviously) close to the way the server and the
protocol work. It's bad in that it's a proprietary API, and that it is
somewhat verbose.
Diffstat (limited to 'databases/p5-sybperl')
-rw-r--r-- | databases/p5-sybperl/DESCR | 12 | ||||
-rw-r--r-- | databases/p5-sybperl/Makefile | 38 | ||||
-rw-r--r-- | databases/p5-sybperl/PLIST | 1 | ||||
-rw-r--r-- | databases/p5-sybperl/distinfo | 5 | ||||
-rw-r--r-- | databases/p5-sybperl/patches/patch-aa | 13 |
5 files changed, 69 insertions, 0 deletions
diff --git a/databases/p5-sybperl/DESCR b/databases/p5-sybperl/DESCR new file mode 100644 index 00000000000..2a4a4e486e0 --- /dev/null +++ b/databases/p5-sybperl/DESCR @@ -0,0 +1,12 @@ +sybperl includes four modules: Sybase::DBlib, Sybase::CTlib, +Sybase::BCP and Sybase::Sybperl. The first two implement a thin +wrapper around the Sybase DB-Library and Client Library APIs, +respectively. Sybase::BCP is a specialty module aimed at doing +Bulk-Copy operations, and Sybase::Sybperl is a compatibility module +with sybperl 1.xx (i.e. with the perl 4.x version). + +The sybperl modules are thin wrappers around the Sybase APIs. This is +both good and bad. It's good because you have greater control, and +because the API is (obviously) close to the way the server and the +protocol work. It's bad in that it's a proprietary API, and that it is +somewhat verbose. diff --git a/databases/p5-sybperl/Makefile b/databases/p5-sybperl/Makefile new file mode 100644 index 00000000000..9a139af7334 --- /dev/null +++ b/databases/p5-sybperl/Makefile @@ -0,0 +1,38 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/03/29 10:01:33 grant Exp $ +# + +DISTNAME= sybperl-2.16 +PKGNAME= p5-${DISTNAME} +CATEGORIES= databases perl5 +MASTER_SITES= http://www.peppler.org/downloads/ + +MAINTAINER= grant@NetBSD.org +HOMEPAGE= http://www.mbay.net/~mpeppler/ +COMMENT= Perl modules for using Sybase/MS-SQL databases + +USE_BUILDLINK2= YES +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Sybase/.packlist + +BUILD_DEFS+= USE_SYBASE_OPENCLIENT +BUILD_DEFS+= SYBASE + +.if defined(USE_SYBASE_OPENCLIENT) && empty(USE_SYBASE_OPENCLIENT:M[Nn][Oo]) +. if defined(SYBASE) || exists(${SYBASE}/lib/libct.so) +BUILDLINK_PASSTHRU_DIRS=${SYBASE} +_SYBASE= ${SYBASE} +. else +PKG_FAIL_REASON+= "You must define SYBASE to the base directory of your Open Client." +. endif +.else +_SYBASE= ${BUILDLINK_PREFIX.freetds}/freetds +.endif + +PERL5_LDFLAGS+= -Wl,${RPATH_FLAG}${_SYBASE}/lib +MAKE_ENV+= SYBASE=${_SYBASE} + +.if !defined(USE_SYBASE_OPENCLIENT) +. include "../../databases/freetds/buildlink2.mk" +.endif + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/p5-sybperl/PLIST b/databases/p5-sybperl/PLIST new file mode 100644 index 00000000000..f2239717698 --- /dev/null +++ b/databases/p5-sybperl/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/03/29 10:01:33 grant Exp $ diff --git a/databases/p5-sybperl/distinfo b/databases/p5-sybperl/distinfo new file mode 100644 index 00000000000..d3fb2da67d6 --- /dev/null +++ b/databases/p5-sybperl/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/03/29 10:01:33 grant Exp $ + +SHA1 (sybperl-2.16.tar.gz) = 1908abd8101e6ecd27bcda0873128fb36f37c81a +Size (sybperl-2.16.tar.gz) = 214646 bytes +SHA1 (patch-aa) = c3c07aa96f26d04d687d31349b8fb9ef0bbb204e diff --git a/databases/p5-sybperl/patches/patch-aa b/databases/p5-sybperl/patches/patch-aa new file mode 100644 index 00000000000..5af0ecdd7d9 --- /dev/null +++ b/databases/p5-sybperl/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/03/29 10:01:33 grant Exp $ + +--- Makefile.PL.orig 2004-01-01 03:47:07.000000000 +1100 ++++ Makefile.PL +@@ -11,7 +11,7 @@ require './util/config.pl'; + my $sattr = &config(); + my $written_pwd_file = 'PWD'; + +-configPwd(); ++# configPwd(); + + my $linktype = defined($$sattr{LINKTYPE}) ? $$sattr{LINKTYPE} : 'dynamic'; + |