[sepia] 52/63: Removed default mechanism for emacs from Makefile.PL

Hilko Bengen bengen at moszumanska.debian.org
Sat Aug 8 11:20:38 UTC 2015


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch master
in repository sepia.

commit 52807cbd8edbeb334104e004bd3cea8bc6a5bf5e
Author: Hilko Bengen <bengen at debian.org>
Date:   Sat Dec 31 14:59:54 2011 +0100

    Removed default mechanism for emacs from Makefile.PL
---
 Makefile.PL  | 6 +-----
 debian/rules | 1 -
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/Makefile.PL b/Makefile.PL
index a7dfddd..71ad493 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -48,11 +48,7 @@ sub escape_path
 sub prompt_for_emacs
 {
     # try to compile and install Elisp files, but don't die if we can't.
-    my ($sysemacs) = grep { defined && -x }
-        $ENV{EMACS}, glob '/usr/bin{/local,}/emacs';
-    $sysemacs ||= q{emacs};
-
-    my $emacs = prompt("Where is your emacs? ", $sysemacs);
+    my $emacs = prompt("Where is your emacs? ");
 
     # Make sure emacs is a valid string/program path...
     return undef unless $emacs;
diff --git a/debian/rules b/debian/rules
index 4a78c5b..d557675 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,7 +25,6 @@ build-stamp:
 
 	# Add commands to compile the package here
 	$(PERL) Makefile.PL \
-		--emacs='' \
 		--lisp=/usr/share/emacs/site-lisp/sepia \
 		--info=/usr/share/info \
 		INSTALLDIRS=vendor

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/sepia.git



More information about the Pkg-perl-cvs-commits mailing list