aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-DBD-mysql
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-06-17 10:37:15 +0800
committerwill <will@FreeBSD.org>2000-06-17 10:37:15 +0800
commit6dd7168cddcf03645b7b524d0eaec762ba4a5c26 (patch)
treedde5ee054b255f449dc09b875bfef1cb678c4d3e /databases/p5-DBD-mysql
parent09860925596143f36628cd7f462f54e90412d7ae (diff)
downloadfreebsd-ports-graphics-6dd7168cddcf03645b7b524d0eaec762ba4a5c26.tar.gz
freebsd-ports-graphics-6dd7168cddcf03645b7b524d0eaec762ba4a5c26.tar.zst
freebsd-ports-graphics-6dd7168cddcf03645b7b524d0eaec762ba4a5c26.zip
Lots and lots of cleanups. Teach p5-* in general about PKGNAMEPREFIX.
Add some missing/wrong dependencies. Show how to respect CC/CFLAGS. Many miscellaneous modifications. I used more excessive hacks to force p5-Jcode and p5-WWW-Search to respect CC/CFLAGS. Patches largely done by: Christian Weisgerber <naddy@mips.inka.de>
Diffstat (limited to 'databases/p5-DBD-mysql')
-rw-r--r--databases/p5-DBD-mysql/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/databases/p5-DBD-mysql/Makefile b/databases/p5-DBD-mysql/Makefile
index 1e0f354d24b..c3f0ea7135e 100644
--- a/databases/p5-DBD-mysql/Makefile
+++ b/databases/p5-DBD-mysql/Makefile
@@ -5,12 +5,13 @@
# $FreeBSD$
#
-PORTNAME= p5-Mysql-modules
+PORTNAME= Mysql-modules
PORTVERSION= 1.2213
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DBD
DISTNAME= Msql-Mysql-modules-${PORTVERSION}
+PKGNAMEPREFIX= p5-
MAINTAINER= jedgar@FreeBSD.org
@@ -21,9 +22,10 @@ LIB_DEPENDS= mysqlclient.6:${PORTSDIR}/databases/mysql322-client
Y2K= http://forteviot.symbolstone.org/technology/perl/DBI/doc/faq.html
-CONFIGURE_ARGS= PREFIX=${PREFIX} --noprompt --mysql-install --nomsql-install
+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
+USE_PERL5= yes
MAN1= dbimon.1
MAN3= Bundle::DBD::mysql.3 \