pkgsrc/lang/gforth/patches/patch-aa
2013-10-28 23:48:30 +00:00

32 lines
1.3 KiB
Text

$NetBSD: patch-aa,v 1.5 2013/10/28 23:48:30 joerg Exp $
Don't generate and install Emacs byte code file.
--- Makefile.in.orig 2008-11-01 20:22:27.000000000 +0300
+++ Makefile.in 2009-08-15 02:04:09.000000000 +0400
@@ -104,7 +104,7 @@ TEXI2HTML = texi2html
XCFLAGS = @CFLAGS@
XDEFINES = @DEFS@
SWITCHES = $(XCFLAGS) $(XDEFINES) $(OPTDEFINES) #-DNDEBUG #turn off assertions
-ENGINE_FLAGS = @ENGINE_FLAGS@ -fno-defer-pop -fcaller-saves
+ENGINE_FLAGS = @ENGINE_FLAGS@
DEBUGFLAG = @DEBUGFLAG@
CFLAGS = $(DEBUGFLAG) -I$(srcdir)/engine -I$(srcdir)/arch/$(machine) -O3 -Wall $(SWITCHES) -DDEFAULTPATH='"$(FORTHPATH)"'
CPPFLAGS = @CPPFLAGS@
@@ -430,7 +430,7 @@
ENGINES_FAST = gforth-fast$(OPT)$(EC)$(EXE) #gforth-native$(OPT)$(EC)$(EXE)
-GEN = $(ENGINES) $(ENGINES_FAST) gforth.elc
+GEN = $(ENGINES) $(ENGINES_FAST)
# things that need a working forth system to be generated
FORTH_GEN_ENGINE=engine/prim.i engine/prim_lab.i engine/prim_names.i \
@@ -615,7 +615,6 @@
$(INSTALL_DATA) $(kernel_fi) $(DESTDIR)$(datadir)/gforth/$(VERSION)
@if test -d "$(DESTDIR)$(emacssitelispdir)"; then \
$(INSTALL_DATA) gforth.el $(DESTDIR)$(emacssitelispdir); \
- $(INSTALL_DATA) gforth.elc $(DESTDIR)$(emacssitelispdir); \
else \
echo '>>>>>Please install gforth.{el,elc} in your .../emacs/site-lisp directory'; \
fi