pkgsrc/print/auctex/patches/patch-aa
uebayasi d0ce8fe370 * Remove dependency to teTeX. Auctex can be installed fine without any teTeX
installed.  This addresses PR20532 by Christopher Richards <richards plus
  netbsd at CS dot Princeton dot EDU>

* Fix compilation for FSF Emacs 20.7.

The resulting binary package will have a different dependency info, so
different package content, so revision bump.
2003-03-01 03:49:50 +00:00

56 lines
1.3 KiB
Text

$NetBSD: patch-aa,v 1.5 2003/03/01 03:49:51 uebayasi Exp $
--- Makefile.orig Mon Nov 25 23:43:16 2002
+++ Makefile
@@ -10,7 +10,7 @@
##----------------------------------------------------------------------
# Where local software is found
-prefix=/usr/local
+prefix=${PREFIX}
# Where info files go.
infodir = $(prefix)/info
@@ -22,7 +22,7 @@
aucdir=$(lispdir)/auctex
# Name of your emacs binary
-EMACS=emacs
+EMACS=${EMACS_BIN}
##----------------------------------------------------------------------
## YOU MAY NEED TO EDIT THESE
@@ -108,17 +108,17 @@
all: lisp
lisp:
- $(ELC) $(AUCSRC) $(STYLESRC)
+ -$(ELC) $(AUCSRC) $(STYLESRC)
-some: $(AUCELC) $(STYLESRC:.el=.elc)
+some: -$(AUCELC) $(STYLESRC:.el=.elc)
-install: install-lisp
+install: install-lisp install-info
contrib:
- $(ELC) bib-cite.el
- $(ELC) font-latex.el
-# $(ELC) tex-jp.el # Doesn't compile without MULE
-# $(ELC) hilit-LaTeX.el # Doesn't compile without X
+ -$(ELC) bib-cite.el
+ -$(ELC) font-latex.el
+# -$(ELC) tex-jp.el # Doesn't compile without MULE
+# -$(ELC) hilit-LaTeX.el # Doesn't compile without X
install-lisp: some
if [ ! -d $(lispdir) ]; then mkdir $(lispdir); else true; fi ;
@@ -159,7 +159,7 @@
.el.elc:
- $(ELC) $<
+ -$(ELC) $<
clean:
rm -rf *~ #*# lex.yy.c idetex auctex