diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2005-08-30 05:55:05 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2005-08-30 05:55:05 +0000 |
commit | e199dccb5a086a5cd605a9090f6b5705d86ff70a (patch) | |
tree | a441ff2ce80adaea12d79b638cbba2cfc269f964 /mk/emacs.mk | |
parent | 7a5f464db01c5d2f9ffaf351aab7027bb606ba7c (diff) | |
download | pkgsrc-e199dccb5a086a5cd605a9090f6b5705d86ff70a.tar.gz |
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 (limited to 'mk/emacs.mk')
-rw-r--r-- | mk/emacs.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/emacs.mk b/mk/emacs.mk index d868d2d672f..9f0f68e7d90 100644 --- a/mk/emacs.mk +++ b/mk/emacs.mk @@ -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 @@ _EMACS_PKGBASE= xemacs-nox11 .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/\..*//} |