aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-DBIx-Password
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2004-12-14 12:23:35 +0000
committerPeter Pentchev <roam@FreeBSD.org>2004-12-14 12:23:35 +0000
commit7401228c06c55578218400aec728c82941b2d690 (patch)
tree70a42998837347b17d1a1897cd99ff2e004994b5 /databases/p5-DBIx-Password
parent595ccd4be508128a04289a3830ec5d0a534f67e5 (diff)
downloadports-7401228c06c55578218400aec728c82941b2d690.tar.gz
ports-7401228c06c55578218400aec728c82941b2d690.zip
Notes
Diffstat (limited to 'databases/p5-DBIx-Password')
-rw-r--r--databases/p5-DBIx-Password/Makefile6
-rw-r--r--databases/p5-DBIx-Password/files/batch.patch11
2 files changed, 16 insertions, 1 deletions
diff --git a/databases/p5-DBIx-Password/Makefile b/databases/p5-DBIx-Password/Makefile
index 59d4fe85884a..d361a8385e03 100644
--- a/databases/p5-DBIx-Password/Makefile
+++ b/databases/p5-DBIx-Password/Makefile
@@ -7,7 +7,7 @@
PORTNAME= DBIx-Password
PORTVERSION= 1.8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DBIx
@@ -20,6 +20,10 @@ PERL_CONFIGURE= yes
MAN3= DBIx::Password.3
+.if defined(BATCH)
+EXTRA_PATCHES+= ${FILESDIR}/batch.patch
+.endif
+
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
diff --git a/databases/p5-DBIx-Password/files/batch.patch b/databases/p5-DBIx-Password/files/batch.patch
new file mode 100644
index 000000000000..93f4c9153834
--- /dev/null
+++ b/databases/p5-DBIx-Password/files/batch.patch
@@ -0,0 +1,11 @@
+--- Makefile.PL.orig Mon Dec 13 15:13:24 2004
++++ Makefile.PL Mon Dec 13 15:14:11 2004
+@@ -24,7 +24,7 @@
+ );
+
+ print "What is the name of the Virtual User?\n";
+-my $virtual = getLine();
++my $virtual = undef;
+ while ($virtual) {
+ print "What is the dbi driver? (AKA mysql)\n";
+ my $driver = getLine();