forked from Lainports/freebsd-ports
Actually honor BATCH mode - skip the interactive definition of virtual
users. Approved by: maintainer
This commit is contained in:
parent
595ccd4be5
commit
7401228c06
2 changed files with 16 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
11
databases/p5-DBIx-Password/files/batch.patch
Normal file
11
databases/p5-DBIx-Password/files/batch.patch
Normal file
|
|
@ -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();
|
||||
Loading…
Add table
Reference in a new issue