svn commit: r302395 - head/japanese/egg-canna

Chris Rees crees at FreeBSD.org
Fri Aug 10 17:52:21 UTC 2012


On 10 August 2012 18:44, Hajimu UMEMOTO <ume at freebsd.org> wrote:
> Author: ume
> Date: Fri Aug 10 17:44:35 2012
> New Revision: 302395
> URL: http://svn.freebsd.org/changeset/ports/302395
>
> Log:
>   It doesn't build with Emacs 24.
>
> Modified:
>   head/japanese/egg-canna/Makefile
>
> Modified: head/japanese/egg-canna/Makefile
> ==============================================================================
> --- head/japanese/egg-canna/Makefile    Fri Aug 10 17:28:10 2012        (r302394)
> +++ head/japanese/egg-canna/Makefile    Fri Aug 10 17:44:35 2012        (r302395)
> @@ -24,8 +24,8 @@ USE_EMACS=    yes
>
>  .include <bsd.port.pre.mk>
>
> -.if ${EMACS_PORT_NAME} == "emacs23"
> -IGNORE=                does not build with Emacs 23
> +.if ${EMACS_PORT_NAME} == "emacs23" || ${EMACS_PORT_NAME} == "emacs24"
> +IGNORE=                does not build with Emacs 23 and later

Alternatively:

.if ${EMACS_MAJOR_VER} >= 23

can be used and is more obvious what it means.  It also has the
advantage of working should Xemacs23 appear ;)

Chris



More information about the svn-ports-all mailing list