diff options
author | jlam <jlam@pkgsrc.org> | 2000-08-27 10:37:00 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-08-27 10:37:00 +0000 |
commit | c70c96f2c8a7334e846f10c5d965fd3ce9d0aef4 (patch) | |
tree | 2f68a284f4e804aa3774ec66587daa928a61d931 /databases/p5-DBD-mysql/Makefile | |
parent | 1d7f8907a285a58a577d75dfba6665aee192879e (diff) | |
download | pkgsrc-c70c96f2c8a7334e846f10c5d965fd3ce9d0aef4.tar.gz |
Convert packages to use PERL5_PACKLIST (part 2). These are the database and
Apache perl modules, and each compiled and installed/de-installed apparently
correctly.
As a side effect of the dynamic PLIST, we no longer need to to have separate
-static and -shared PLISTs. It's now easier than ever to make a perl5
package for NetBSD :)
Diffstat (limited to 'databases/p5-DBD-mysql/Makefile')
-rw-r--r-- | databases/p5-DBD-mysql/Makefile | 43 |
1 files changed, 25 insertions, 18 deletions
diff --git a/databases/p5-DBD-mysql/Makefile b/databases/p5-DBD-mysql/Makefile index 8c9ab6102c0..18c5cfc27ec 100644 --- a/databases/p5-DBD-mysql/Makefile +++ b/databases/p5-DBD-mysql/Makefile @@ -1,29 +1,36 @@ -# $NetBSD: Makefile,v 1.6 2000/05/25 08:08:30 rh Exp $ +# $NetBSD: Makefile,v 1.7 2000/08/27 10:37:00 jlam Exp $ # -DISTNAME= Msql-Mysql-modules-1.2214 -PKGNAME= p5-DBD-mysql-1.2214 -CATEGORIES= databases perl5 -MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBD/} +DISTNAME= Msql-Mysql-modules-1.2214 +PKGNAME= p5-DBD-mysql-1.2214 +CATEGORIES= databases perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBD/} -MAINTAINER= bad@netbsd.org -HOMEPAGE= http://www.mysql.com.org/ +MAINTAINER= bad@netbsd.org +HOMEPAGE= http://www.mysql.com.org/ -DEPENDS+= mysql-client-3.22.32:../../databases/mysql-client -DEPENDS+= p5-DBI-1.13:../../databases/p5-DBI -DEPENDS+= p5-Data-Dumper>=2.101:../../devel/p5-Data-Dumper -DEPENDS+= p5-Data-ShowTable-3.3:../../devel/p5-Data-ShowTable +DEPENDS+= mysql-client-3.22.32:../../databases/mysql-client +DEPENDS+= p5-DBI-1.13:../../databases/p5-DBI +DEPENDS+= p5-Data-Dumper>=2.101:../../devel/p5-Data-Dumper +DEPENDS+= p5-Data-ShowTable-3.3:../../devel/p5-Data-ShowTable -USE_PERL5= YES +USE_PERL5= # defined +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Msql-Mysql-modules/.packlist -MYSQL_HEADERDIR= ${PREFIX}/include/mysql -MYSQL_LIBDIR= ${PREFIX}/lib/mysql +MYSQL_HEADERDIR= ${PREFIX}/include/mysql +MYSQL_LIBDIR= ${PREFIX}/lib/mysql -CONFIGURE_ENV+= MYSQL_HEADERDIR="${MYSQL_HEADERDIR}" -CONFIGURE_ENV+= MYSQL_LIBDIR="${MYSQL_LIBDIR}" -CONFIGURE_ENV+= IN_MYSQL_DISTRIBUTION=1 +MAKE_ENV+= MYSQL_HEADERDIR="${MYSQL_HEADERDIR}" +MAKE_ENV+= MYSQL_LIBDIR="${MYSQL_LIBDIR}" +MAKE_ENV+= IN_MYSQL_DISTRIBUTION=1 + +MAKE_PARAMS+= --noprompt +MAKE_PARAMS+= --mysql-install +MAKE_PARAMS+= --nomsql-install --nomsql1-install +MAKE_PARAMS+= --mysql-incdir=${MYSQL_HEADERDIR} +MAKE_PARAMS+= --mysql-libdir=${MYSQL_LIBDIR} do-configure: - @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL --noprompt --mysql-install --nomsql-install --nomsql1-install --mysql-incdir=${MYSQL_HEADERDIR} --mysql-libdir=${MYSQL_LIBDIR} + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS} .include "../../mk/bsd.pkg.mk" |