summaryrefslogtreecommitdiff
path: root/databases/p5-Mysql
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2001-03-01 06:39:18 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2001-03-01 06:39:18 +0000
commit68c2f99c6300bc38a37eb3a8292b562cc2d8952b (patch)
tree0898749bb767b388765958548da12c5b50b3825d /databases/p5-Mysql
parentRemove p5-pRPC. (diff)
Remove do-configure section, use PERL_CONFIGURE now.
Notes
Notes: svn path=/head/; revision=38917
Diffstat (limited to 'databases/p5-Mysql')
-rw-r--r--databases/p5-Mysql/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/databases/p5-Mysql/Makefile b/databases/p5-Mysql/Makefile
index 1be4a86d59fc..2769b1718f40 100644
--- a/databases/p5-Mysql/Makefile
+++ b/databases/p5-Mysql/Makefile
@@ -20,10 +20,10 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Data/ShowTable.pm:${
RUN_DEPENDS= ${BUILD_DEPENDS}
LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
+PERL_CONFIGURE= yes
CONFIGURE_ARGS= PREFIX=${PREFIX} CC="${CC}" CCFLAGS="${CFLAGS}" \
--noprompt --mysql-install --nomsql-install
CONFIGURE_ENV= MYSQL_HOME=${PREFIX} IN_MYSQL_DISTRIBUTION=1
-USE_PERL5= yes
MAN1= dbimon.1
MAN3= Bundle::DBD::mysql.3 \
@@ -31,8 +31,7 @@ MAN3= Bundle::DBD::mysql.3 \
Mysql.3
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-do-configure:
+pre-configure:
@${PERL} -i -e 's| -lgz||' ${WRKSRC}/lib/DBD/mysql/Install.pm
- @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${PERL5} Makefile.PL ${CONFIGURE_ARGS}
.include <bsd.port.mk>