pkgsrc/databases/p5-DBD-Oracle/Makefile
grant 908e765695 since perl is now built with threads on most platforms, the perl archlib
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").

binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.

addresses PR pkg/28619 from H. Todd Fujinaka.
2004-12-20 11:30:55 +00:00

26 lines
738 B
Makefile

# $NetBSD: Makefile,v 1.3 2004/12/20 11:30:57 grant Exp $
DISTNAME= DBD-Oracle-1.14
PKGNAME= p5-${DISTNAME}
PKGREVISION= 1
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBD/}
MAINTAINER= tech-pkg@NetBSD.org
COMMENT= Perl DBI/DBD driver for Oracle databases
USE_BUILDLINK3= yes
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/DBD/Oracle/.packlist
.if !defined(ORACLE_HOME)
PKG_SKIP_REASON+= "You must set ORACLE_HOME to the location of your Oracle installation"
.elif !exists(${ORACLE_HOME})
PKG_FAIL_REASON+= "The location of ORACLE_HOME does not exist"
.endif
BUILDLINK_PASSTHRU_DIRS+= ${ORACLE_HOME}
.include "../../databases/p5-DBI/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"