diff options
Diffstat (limited to 'databases/p5-Msql/Makefile')
-rw-r--r-- | databases/p5-Msql/Makefile | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/databases/p5-Msql/Makefile b/databases/p5-Msql/Makefile index ca8160bb572e..08ff03523241 100644 --- a/databases/p5-Msql/Makefile +++ b/databases/p5-Msql/Makefile @@ -3,19 +3,31 @@ # Date created: September 29th 1996 # Whom: James FitzGibbon <jfitz@FreeBSD.org> # -# $Id: Makefile,v 1.5 1996/11/19 13:42:26 asami Exp $ +# $Id: Makefile,v 1.6 1996/12/11 12:04:04 asami Exp $ # -DISTNAME= MsqlPerl-1.11 -PKGNAME= p5-Msql-1.11 +DISTNAME= MsqlPerl-1.15 +PKGNAME= p5-Msql-1.15 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Msql MAINTAINER= jfitz@FreeBSD.ORG -BUILD_DEPENDS= ${PREFIX}/Minerva/lib/libmsql.a:${PORTSDIR}/databases/msql \ - perl5.003:${PORTSDIR}/lang/perl5 +# Uncomment this if you want to build against the msql-beta (v2) port instead +# of the original v1.16 port +#USE_MSQLBETA= YES + +.if defined(USE_MSQLBETA) +BUILD_DEPENDS= ${PREFIX}/lib/libmsql.a:${PORTSDIR}/databases/msql-beta/ +CONFIGURE_ENV+= USE_MSQLBETA=${USE_MSQLBETA} +.else +BUILD_DEPENDS= ${PREFIX}/Minerva/lib/libmsql.a:${PORTSDIR}/databases/msql/ +.endif + +CONFIGURE_ENV+= PREFIX=${PREFIX} + +BUILD_DEPENDS+= perl5.003:${PORTSDIR}/lang/perl5 RUN_DEPENDS= perl5.003:${PORTSDIR}/lang/perl5 MAN1= pmsql.1 @@ -23,6 +35,6 @@ MAN3= Msql.3 MAN3PREFIX= ${PREFIX}/lib/perl5 do-configure: - @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL + @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${PREFIX}/bin/perl Makefile.PL .include <bsd.port.mk> |