pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/doxymacs If the Emacs flavour is "xemacs", don't...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d9b2f1ac3884
branches:  trunk
changeset: 545708:d9b2f1ac3884
user:      dsainty <dsainty%pkgsrc.org@localhost>
date:      Mon Aug 11 08:51:05 2008 +0000

description:
If the Emacs flavour is "xemacs", don't pull in the www/w3 support, pull in
"xemacs-packages" instead.  Also, make sure that the Lisp installation
directory is correct for all flavours.

Patch from PR39287 from Anthony Mallet, with minor modification to pull in
"xemacs-packages" as a replacement for "www/w3".

diffstat:

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

diffs (32 lines):

diff -r d67ea23cb336 -r d9b2f1ac3884 devel/doxymacs/Makefile
--- a/devel/doxymacs/Makefile   Mon Aug 11 07:04:09 2008 +0000
+++ b/devel/doxymacs/Makefile   Mon Aug 11 08:51:05 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2007/08/05 05:19:19 dsainty Exp $
+# $NetBSD: Makefile,v 1.5 2008/08/11 08:51:05 dsainty Exp $
 #
 
 DISTNAME=      doxymacs-1.8.0
@@ -17,14 +17,18 @@
 # 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.
+# into Emacs version 22.  The same support for XEmacs is available in
+# editors/xemacs-packages.
 #
-.if ${EMACS_VERSION_MAJOR} <= 21
+.if ${EMACS_FLAVOR} == xemacs
+DEPENDS+=      xemacs-packages-[0-9]*:../../editors/xemacs-packages
+.elif ${EMACS_VERSION_MAJOR} <= 21
 DEPENDS+=      w3-[0-9]*:../../www/w3
 .endif
 
-GNU_CONFIGURE= yes
-CONFIGURE_ENV+=        EMACS=${EMACS_BIN:Q}
+GNU_CONFIGURE=         yes
+CONFIGURE_ENV+=                EMACS=${EMACS_BIN:Q}
+CONFIGURE_ARGS+=       --with-lispdir=${EMACS_LISPPREFIX:Q}
 
 .include "../../textproc/libxml2/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index