openbsd-ports/databases/p5-DBD-mysql/Makefile
bernd f65f3e714d Downgrade to p5-DBD-mysql-2.9004.
The current version segfaults very often.

http://lists.mysql.com/perl/3933
http://rt.cpan.org/Public/Bug/Display.html?id=18884

Reported by Peter Hessler, thanks!

ok espie@, sturm@
2006-08-24 09:23:38 +00:00

32 lines
803 B
Makefile

# $OpenBSD: Makefile,v 1.13 2006/08/24 09:23:38 bernd Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
COMMENT= 'MySQL drivers for the Perl DBI'
DISTNAME= DBD-mysql-2.9004
PKGNAME= p5-${DISTNAME}
CATEGORIES= databases perl5
# artistic
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= crypto m ssl z
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBD/}
BUILD_DEPENDS= :p5-DBI->=1.08:databases/p5-DBI
RUN_DEPENDS= :p5-DBI->=1.08:databases/p5-DBI
LIB_DEPENDS= lib/mysql/mysqlclient.>=10::databases/mysql
REGRESS_DEPENDS= :mysql-server-*:databases/mysql,-server
CONFIGURE_STYLE= perl
pre-regress:
@mysqladmin ping >/dev/null 2>&1 || (echo 'mysql needs to be running'; exit 1)
-@mysqladmin create test >/dev/null 2>&1
.include <bsd.port.mk>