pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/doxymacs Make Doxymacs work with Emacs 22 by avo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/490dd46747db
branches:  trunk
changeset: 531707:490dd46747db
user:      dsainty <dsainty%pkgsrc.org@localhost>
date:      Sun Aug 05 05:01:03 2007 +0000

description:
Make Doxymacs work with Emacs 22 by avoiding using "www/w3" (Emacs/W3) if the
Emacs major is not below 22.  The url-* support from Emacs/W3 has been
integrated into Emacs version 22.

diffstat:

 devel/doxymacs/Makefile |  14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r 9540559128f2 -r 490dd46747db devel/doxymacs/Makefile
--- a/devel/doxymacs/Makefile   Sun Aug 05 04:59:53 2007 +0000
+++ b/devel/doxymacs/Makefile   Sun Aug 05 05:01:03 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2006/11/01 07:09:53 dsainty Exp $
+# $NetBSD: Makefile,v 1.3 2007/08/05 05:01:03 dsainty Exp $
 #
 
 DISTNAME=      doxymacs-1.7.0
@@ -10,11 +10,21 @@
 HOMEPAGE=      http://doxymacs.sourceforge.net/
 COMMENT=       Doxygen editing support for Emacs
 
+.include "../../mk/emacs.mk"
+
+#
+# "www/w3" (Emacs/W3) currently does not work with Emacs 22.  Emacs/W3
+# is documented as a requirement for Doxymacs, but it appears that it
+# is only used for the url-* support introduced in Emacs/W3.
+# Fortunately, the url-* support from Emacs/W3 has been integrated
+# into Emacs version 22.
+#
+.if ${EMACS_VERSION_MAJOR} <= 21
 DEPENDS+=      w3-[0-9]*:../../www/w3
+.endif
 
 GNU_CONFIGURE= yes
 CONFIGURE_ENV+=        EMACS=${EMACS_BIN:Q}
 
-.include "../../mk/emacs.mk"
 .include "../../textproc/libxml2/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index