pkgsrc/databases/p5-DBD-Sybase/Makefile
obache f403c13028 Update p5-DBD-Sybase to 1.13, to buildable with perl-5.14.
Release 1.13

    Fix for incorrect UTF8 handling when retrieving UNICODE data (Jean-Pierre Rupp).

Release 1.12

    Bug/Typo/Compatibility fixes with various versions of OpenClient.
    Experimental: Handle in/out parameters (Merijn Broeren)

Release 1.11

    Remove reliance on PERL_POLLUTE.
    Add better support for utf8 (Dave Rolsky)

Release 1.10

    Handle 15.x datatypes correctly.
    Add LONGMS date format symbol to handle microseconds for bigdatetime.
    Add support for CS_LONGCHAR_TYPE (Mark Aufflick)
    Document syb_isdead().
    Handle 64bit builds with FreeTDS (Ian Grant/Hans Kristian Rosbach)
    Add foreign_key_info & statistics_info (Jim Radford)
    Change behavior of large fixed precision numeric types (money, bigint)
    to be converted to a string internally and returned as such to the caller
    (behavior similar to numeric/decimal). This can be reverted to the old behavior
    by defining SYB_NATIVE_NUM.
2011-09-29 11:07:10 +00:00

52 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.34 2011/09/29 11:07:10 obache Exp $
#
DISTNAME= DBD-Sybase-1.13
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5dsy
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBD/}
MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://www.peppler.org/freeware/dbd-sybase.html
COMMENT= Perl DBI/DBD driver for Sybase/MS-SQL databases
LICENSE= ${PERL5_LICENSE}
PKG_DESTDIR_SUPPORT= user-destdir
PERL5_PACKLIST= auto/DBD/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}
.endif
PERL5_LDFLAGS+= ${COMPILER_RPATH_FLAG}${_SYBASE}/lib
MAKE_ENV+= SYBASE=${_SYBASE:Q}
MAKE_PARAMS+= --accept_test_defaults
MAKE_PARAMS+= --chained Y
.if !defined(USE_SYBASE_OPENCLIENT)
. include "../../databases/freetds/buildlink3.mk"
.endif
.include "../../lang/perl5/module.mk"
.if !empty(PKG_BUILD_OPTIONS.perl:Mthreads)
MAKE_PARAMS+= --threaded_libs Y
.else
MAKE_PARAMS+= --threaded_libs N
.endif
.include "../../databases/p5-DBI/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"