pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/emacs Silence unnecessary warnings.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7358f554199c
branches:  trunk
changeset: 398089:7358f554199c
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun Aug 23 18:14:38 2009 +0000

description:
Silence unnecessary warnings.

diffstat:

 editors/emacs/modules.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 211cee726f89 -r 7358f554199c editors/emacs/modules.mk
--- a/editors/emacs/modules.mk  Sun Aug 23 18:12:12 2009 +0000
+++ b/editors/emacs/modules.mk  Sun Aug 23 18:14:38 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: modules.mk,v 1.10 2009/08/22 18:51:58 minskim Exp $
+# $NetBSD: modules.mk,v 1.11 2009/08/23 18:14:38 minskim Exp $
 #
 # This Makefile fragment handles Emacs Lisp Packages (== ELPs).
 #
@@ -339,7 +339,7 @@
 .if defined(EMACS_BUILDLINK)
 _EMACS_DIR=    ${BUILDLINK_DIR}/share/emacs
 _EMACS_VERSION_DIR!=   \
-       ${PKG_INFO} -e emacs |                                          \
+       (${PKG_INFO} -e emacs || ${ECHO} "") |                          \
        ${SED} -e 's/emacs-//' |                                        \
        ${SED} -e 's/\.[0-9]\{8,\}//'
 ALL_ENV+=      EMACSLOADPATH=${_EMACS_DIR}/${_EMACS_VERSION_DIR}/lisp:${_EMACS_DIR}/site-lisp



Home | Main Index | Thread Index | Old Index