diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-04-04 05:21:36 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-04-04 05:21:36 +0000 |
commit | 03be952534daaebc3c54aec61545ba74565875b8 (patch) | |
tree | 13e8504c355a06eddc2a8779a9fca5536f7caf2f /databases/p5-DBD-mysql | |
parent | 223de694757245d4408562b85d7840a14fb938ac (diff) | |
download | ports-03be952534daaebc3c54aec61545ba74565875b8.tar.gz ports-03be952534daaebc3c54aec61545ba74565875b8.zip |
Notes
Diffstat (limited to 'databases/p5-DBD-mysql')
-rw-r--r-- | databases/p5-DBD-mysql/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/databases/p5-DBD-mysql/Makefile b/databases/p5-DBD-mysql/Makefile index 05615f97adb6..758841e222a1 100644 --- a/databases/p5-DBD-mysql/Makefile +++ b/databases/p5-DBD-mysql/Makefile @@ -7,6 +7,7 @@ PORTNAME= DBD-mysql PORTVERSION= 2.1026 +PORTREVISION= 1 CATEGORIES= databases perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= DBD @@ -16,11 +17,18 @@ MAINTAINER= skv@FreeBSD.org COMMENT= MySQL driver for the Perl5 Database Interface (DBI) BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI -LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client RUN_DEPENDS= ${BUILD_DEPENDS} +.include <bsd.port.pre.mk> + +.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.10) +LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client +.else +LIB_DEPENDS= mysqlclient.12:${PORTSDIR}/databases/mysql40-client +.endif + PERL_CONFIGURE= yes MAN3= Bundle::DBD::mysql.3 DBD::mysql.3 DBD::mysql::INSTALL.3 Mysql.3 -.include <bsd.port.mk> +.include <bsd.port.post.mk> |