pkgsrc/databases/p5-sybperl/Makefile
jlam 7fbb8d9527 Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06 06:19:03 +00:00

38 lines
1,023 B
Makefile

# $NetBSD: Makefile,v 1.8 2005/08/06 06:19:07 jlam Exp $
#
DISTNAME= sybperl-2.16
PKGNAME= p5-${DISTNAME}
PKGREVISION= 3
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
PERL5_PACKLIST= 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+= ${COMPILER_RPATH_FLAG}${_SYBASE}/lib
MAKE_ENV+= SYBASE=${_SYBASE}
.if !defined(USE_SYBASE_OPENCLIENT)
. include "../../databases/freetds/buildlink3.mk"
.endif
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"