aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-DBD-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-DBD-mysql
parent031bd55ed2b892d722ffdba72b339be33879e047 (diff)
downloadports-68c2f99c6300bc38a37eb3a8292b562cc2d8952b.tar.gz
ports-68c2f99c6300bc38a37eb3a8292b562cc2d8952b.zip
Notes
Diffstat (limited to 'databases/p5-DBD-mysql')
-rw-r--r--databases/p5-DBD-mysql/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/databases/p5-DBD-mysql/Makefile b/databases/p5-DBD-mysql/Makefile
index 1be4a86d59fc..2769b1718f40 100644
--- a/databases/p5-DBD-mysql/Makefile
+++ b/databases/p5-DBD-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>