1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Minor cleanup.

This commit is contained in:
Sergey Skvortsov 2003-05-17 13:09:42 +00:00
parent 1fd0d4ba15
commit 5eb1692879
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81147
3 changed files with 12 additions and 26 deletions

View File

@ -12,7 +12,7 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Inline
PKGNAMEPREFIX= p5-
MAINTAINER= skv@protey.ru
MAINTAINER= skv@FreeBSD.org
COMMENT= Write Perl subroutines in other programming languages
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \

View File

@ -1,28 +1,14 @@
--- C/Makefile.PL.orig Mon Oct 28 19:26:08 2002
+++ C/Makefile.PL Tue May 13 11:52:47 2003
@@ -55,25 +55,7 @@
--- C/Makefile.PL.orig Sat May 17 17:04:50 2003
+++ C/Makefile.PL Sat May 17 17:07:39 2003
@@ -55,9 +55,9 @@
# '
}
-my $answer = '';
-my $default = $found ? "y" : "n";
+my $answer = 'y';
my $default = $found ? "y" : "n";
-while (1) {
- $answer = prompt ('Do you want to install Inline::C?', $default);
- last if $answer =~ /^(y|yes|n|no)$/i;
-}
-
-if ($answer =~ /^(y|yes)$/i) {
WriteMakefile(
NAME => 'Inline::C',
clean => {FILES => '_Inline_test'},
)
-}
-else {
- open MF, "> Makefile" or die "Can't open Makefile for output";
- print MF <<'END';
-all::
-test::
-clean::
-END
- close MF;
-}
+while (0) {
$answer = prompt ('Do you want to install Inline::C?', $default);
last if $answer =~ /^(y|yes|n|no)$/i;
}

View File

@ -16,7 +16,7 @@ that is Inlined into distributed modules (like on the CPAN) will get
compiled when the module is installed, so the end user will never notice
the compilation time.
WWW: http://search.cpan.org/search?dist=Inline
WWW: http://search.cpan.org/dist/Inline/
-- Sergey Skvortsov
skv@protey.ru
skv@FreeBSD.org