pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Correct a make(1) syntax to fix a malformed conditi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4f9cff74af95
branches:  trunk
changeset: 498681:4f9cff74af95
user:      uebayasi <uebayasi%pkgsrc.org@localhost>
date:      Tue Aug 30 05:55:05 2005 +0000

description:
Correct a make(1) syntax to fix a malformed conditional error seen
on older NetBSD or other *BSD systems.  Reported by Krister
Walfridsson and Jeremy Reed respectively.

diffstat:

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

diffs (18 lines):

diff -r 0f87f7bb3f50 -r 4f9cff74af95 mk/emacs.mk
--- a/mk/emacs.mk       Tue Aug 30 03:57:47 2005 +0000
+++ b/mk/emacs.mk       Tue Aug 30 05:55:05 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: emacs.mk,v 1.20 2005/08/28 04:25:30 uebayasi Exp $
+# $NetBSD: emacs.mk,v 1.21 2005/08/30 05:55:05 uebayasi Exp $
 #
 # This Makefile fragment handles Emacs Lisp Packages (== ELPs).
 #
@@ -240,7 +240,7 @@
 .endif
 
 _EMACS_VERSION_CMD!=   ${PKG_INFO} -e "${_EMACS_PKGBASE}" || ${ECHO}
-.if "${_EMACS_VERSION_CMD}" != ""
+.if ${_EMACS_VERSION_CMD} != ""
 _EMACS_VERSION_FULL=   ${_EMACS_VERSION_CMD}
 _EMACS_VERSION=                ${_EMACS_VERSION_FULL:C/^${_EMACS_PKGBASE}-//}
 _EMACS_VERSION_MAJOR=  ${_EMACS_VERSION:C/\..*//}



Home | Main Index | Thread Index | Old Index