summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorasau <asau>2009-08-14 22:52:20 +0000
committerasau <asau>2009-08-14 22:52:20 +0000
commit1e19a240d8a2fdfb16187ed40168491fd6206ff8 (patch)
treee81f7a49c5e9bb5e45bc544902d581c0f822d5f0
parentd1c5bc98a6b7135793a8c668e09d5c4cc88424af (diff)
downloadpkgsrc-1e19a240d8a2fdfb16187ed40168491fd6206ff8.tar.gz
Update to Gforth 0.7.0.
User-visible changes between 0.6.2 and 0.7.0: Requirements: At run-time requires libtool and gcc (for the libcc C interface) and gdb (for the disassembler (SEE)) on some platforms. License: Changed to GPLv3 Bug fixes Now works with address-space randomization. The single-step debugger works again in some engines. Many others. Ports: AMD64, ARM, IA-64 (Itanium): better performance PPC, PPC64: disassembler and assembler Gforth EC: R8C, 4stack, misc, 8086 work MacOS X: better support Invocation: New flags --ignore-async-signals, --vm-commit (default overcommit) --print-sequences Forth 200x: X:extension-query: produce true for all implemented extensions X:required REQUIRED etc. (not new) X:defined: [DEFINED] and [UNDEFINED] X:parse-name: PARSE-NAME (new name) X:deferred: deferred words (new: DEFER@ DEFER! ACTION-OF) X:structures: +FIELD FIELD: FFIELD: CFIELD: etc. X:ekeys: new: EKEY>FKEY K-SHIFT-MASK K-CTRL-MASK K-ALT-MASK K-F1...K-F12 X:fp-stack (not new) X:number-prefixes (partially new, see below) Number prefixes: 0x is a hex prefix: 0xff and 0XfF now produces (decimal) 255 # is a decimal prefix: #10 now produces (decimal) 10 Signs after the number prefix are now accepted, e.g, #-50. ' now only handles a single (x)char: 'ab is no longer accepted, 'a' now produces (decimal) 97 Unicode support (currently supports only uniform encoding): added xchars words for dealing with variable-width multi-byte characters provide 8bit (ISO Latin 1) and UTF-8 support for xchars New words: \C C-FUNCTION C-LIBRARY END-C-LIBRARY C-LIBRARY-NAME (libcc C interface) LIB-ERROR (complements OPEN-LIB) OUTFILE-EXECUTE INFILE-EXECUTE BASE-EXECUTE (limited change of global state) 16-bit and 32-bit memory acces: UW@ UL@ SW@ SL@ W! L! W@ L@ /W /L NEXT-ARG SHIFT-ARGS (OS command-line argument processing) NOTHROW (for backtrace control) FTRUNC FMOD (undocumented) SEE-CODE SEE-CODE-RANGE (show generated dynamic native code) Improvements/changes of existing words: S\", .\" now support \l, \m, \z, and limits hex and octal character specs. OPEN-FILE with W/O no longer creates or truncates files (no compat. file) OPEN-LIB now understands ~ at the start, like OPEN-FILE. TRY...ENDTRY changed significantly, compatibility files available (see docs). The disassembler (DISCODE) can now use gdb to disassemble code Uninitialized defered words now give a warning when executed Division is floored (disable with "configure --enable-force-cdiv") Gforth (not gforth-fast) reports division by zero and overflow on division on all platforms. Newly documented words: S>NUMBER? S>UNUMBER? EKEY keypress names: K-LEFT K-RIGHT K-UP K-DOWN K-HOME K-END K-PRIOR K-NEXT K-INSERT K-DELETE CLEARSTACKS FORM Environment variable GFORTHSYSTEMPREFIX (used by word SYSTEM and friends) C interface: exported symbols now start with "gforth_" (for referencing them from C code) libcc C function call interface (requires libtool and gcc at run-time) alternative: undocumented libffi-based interface Libraries: depth-changes.fs: report stack depth changes during interpretation ans-report.fs now reports CfV extensions fsl-util.4th: FSL support files (undocumented) regexp.fs for regular expressions (undocumented) complex.fs for complex numbers (undocumented) fft.fs for Fast Fourier Transform (undocumented) wf.fs, a Wiki implementation (undocumented) httpd.fs, a web server (undocumented) status.fs, show interpreter status in separate xterm (undocumented) profile.fs for profiling (undocumented, incomplete) endtry-iferror.fs, recover-endtry.fs to ease the TRY change transition test/tester.fs: Now works with FP numbers (undocumented) test/ttester.fs: Version of tester.fs with improved interface (T{...}T). compat library: compat/execute-parsing.fs Speed improvements: automatic performance tuning on building static stack caching (good speedup on PPC) mixed-precision division is now faster support for int128 types on AMD64 workarounds for gcc performance bugs (in particular, PR 15242) branch target alignment (good speedup on Alpha).
-rw-r--r--lang/gforth/Makefile27
-rw-r--r--lang/gforth/PLIST61
-rw-r--r--lang/gforth/distinfo13
-rw-r--r--lang/gforth/patches/patch-aa51
-rw-r--r--lang/gforth/patches/patch-ab22
-rw-r--r--lang/gforth/patches/patch-ac13
-rw-r--r--lang/gforth/patches/patch-ad23
7 files changed, 89 insertions, 121 deletions
diff --git a/lang/gforth/Makefile b/lang/gforth/Makefile
index bf3d8916ad8..d4a44151021 100644
--- a/lang/gforth/Makefile
+++ b/lang/gforth/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2007/02/20 19:04:12 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2009/08/14 22:52:20 asau Exp $
-DISTNAME= gforth-0.6.2
-PKGREVISION= 2
+DISTNAME= gforth-0.7.0
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gforth/}
MASTER_SITES+= http://www.complang.tuwien.ac.at/forth/gforth/
@@ -9,20 +8,32 @@ MASTER_SITES+= http://www.complang.tuwien.ac.at/forth/gforth/
MAINTAINER= simonb@NetBSD.org
HOMEPAGE= http://www.complang.tuwien.ac.at/forth/gforth/
COMMENT= Fast interpreter for the Forth language
+LICENSE=
ONLY_FOR_PLATFORM= *-*-alpha *-*-i386 *-*-m68k *-*-powerpc *-*-sparc
+PKG_DESTDIR_SUPPORT= user-destdir
+INFO_FILES= yes
+
GNU_CONFIGURE= YES
+USE_LIBTOOL= yes
+USE_TOOLS+= autoconf automake aclocal
+USE_TOOLS+= makeinfo gzip
+USE_TOOLS+= perl:build
+
+MAKE_JOBS_SAFE= no # fresh Gforth is required to build doc
+BUILD_TARGET= all info # doc
+TEST_TARGET= check
+
# Make sure elisp will be installed even if no emacs installed.
CONFIGURE_ENV+= EMACS=${PREFIX}/bin/emacs
CFLAGS+= -Dunix
-INFO_FILES= # PLIST
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} \
infodir=${PREFIX:Q}/${PKGINFODIR:Q} \
mandir=${PREFIX:Q}/${PKGMANDIR:Q}
-TEST_TARGET= test
+INSTALLATION_DIRS= share/emacs/site-lisp
# Kernel image filename is arch dependent
KERNEL_FI_cmd= \
@@ -39,9 +50,7 @@ PLIST_SUBST+= KERNEL_FI=${KERNEL_FI_cmd:sh:Q}
# XXX Need test.
#.include "../../mk/dlopen.buildlink3.mk"
+.include "../../devel/libltdl/buildlink3.mk"
+.include "../../devel/libffi/buildlink3.mk"
.include "../../devel/ffcall/buildlink3.mk"
-
-pre-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp
-
.include "../../mk/bsd.pkg.mk"
diff --git a/lang/gforth/PLIST b/lang/gforth/PLIST
index 1bc57f6838d..f1abf651953 100644
--- a/lang/gforth/PLIST
+++ b/lang/gforth/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2009/06/14 20:34:13 joerg Exp $
+@comment $NetBSD: PLIST,v 1.12 2009/08/14 22:52:20 asau Exp $
bin/gforth
bin/${PKGNAME}
bin/gforth-fast
@@ -9,10 +9,16 @@ bin/gforthmi
bin/gforthmi-${PKGVERSION}
bin/vmgen
bin/vmgen-${PKGVERSION}
+include/gforth/${PKGVERSION}/config.h
+include/gforth/${PKGVERSION}/libcc.h
info/gforth.info
info/vmgen.info
lib/gforth/${PKGVERSION}/gforth-ditc
lib/gforth/${PKGVERSION}/gforth.fi
+lib/gforth/${PKGVERSION}/libcc-named/cstr.la
+lib/gforth/${PKGVERSION}/libcc-named/fflib.la
+lib/gforth/${PKGVERSION}/libcc-named/libffi.la
+lib/gforth/${PKGVERSION}/libcc-named/socket.la
man/man1/gforth.1
share/emacs/site-lisp/gforth.el
share/gforth/${PKGVERSION}/TAGS
@@ -24,9 +30,17 @@ share/gforth/${PKGVERSION}/arch/386/asm.fs
share/gforth/${PKGVERSION}/arch/386/disasm.fs
share/gforth/${PKGVERSION}/arch/alpha/asm.fs
share/gforth/${PKGVERSION}/arch/alpha/disasm.fs
+share/gforth/${PKGVERSION}/arch/alpha/testasm.fs
+share/gforth/${PKGVERSION}/arch/amd64/asm.fs
+share/gforth/${PKGVERSION}/arch/amd64/disasm.fs
share/gforth/${PKGVERSION}/arch/mips/asm.fs
share/gforth/${PKGVERSION}/arch/mips/disasm.fs
share/gforth/${PKGVERSION}/arch/mips/insts.fs
+share/gforth/${PKGVERSION}/arch/mips/testasm.fs
+share/gforth/${PKGVERSION}/arch/mips/testdisasm.fs
+share/gforth/${PKGVERSION}/arch/power/asm.fs
+share/gforth/${PKGVERSION}/arch/power/disasm.fs
+share/gforth/${PKGVERSION}/arch/power/inst.fs
share/gforth/${PKGVERSION}/asm/README
share/gforth/${PKGVERSION}/asm/basic.fs
share/gforth/${PKGVERSION}/asm/bitmask.fs
@@ -39,6 +53,7 @@ share/gforth/${PKGVERSION}/blocked.fb
share/gforth/${PKGVERSION}/blocks.fs
share/gforth/${PKGVERSION}/bubble.fs
share/gforth/${PKGVERSION}/bufio.fs
+share/gforth/${PKGVERSION}/build-ec.in
share/gforth/${PKGVERSION}/chains.fs
share/gforth/${PKGVERSION}/code.fs
share/gforth/${PKGVERSION}/colorize.fs
@@ -49,15 +64,21 @@ share/gforth/${PKGVERSION}/compat/assert.fs
share/gforth/${PKGVERSION}/compat/control.fs
share/gforth/${PKGVERSION}/compat/defer.fs
share/gforth/${PKGVERSION}/compat/exception.fs
+share/gforth/${PKGVERSION}/compat/execute-parsing.fs
share/gforth/${PKGVERSION}/compat/loops.fs
share/gforth/${PKGVERSION}/compat/required.fs
share/gforth/${PKGVERSION}/compat/strcomp.fs
share/gforth/${PKGVERSION}/compat/struct.fs
share/gforth/${PKGVERSION}/compat/vocabulary.fs
+share/gforth/${PKGVERSION}/complex.fs
share/gforth/${PKGVERSION}/cross.fs
+share/gforth/${PKGVERSION}/cstr.fs
share/gforth/${PKGVERSION}/debug.fs
share/gforth/${PKGVERSION}/debugs.fs
+share/gforth/${PKGVERSION}/depth-changes.fs
+share/gforth/${PKGVERSION}/dis-gdb.fs
share/gforth/${PKGVERSION}/doc/makedoc.fs
+share/gforth/${PKGVERSION}/dosekey.fs
share/gforth/${PKGVERSION}/doskey.fs
share/gforth/${PKGVERSION}/ds2texi.fs
share/gforth/${PKGVERSION}/ec/README
@@ -67,6 +88,7 @@ share/gforth/${PKGVERSION}/ec/mirror.fs
share/gforth/${PKGVERSION}/ec/nesting.fs
share/gforth/${PKGVERSION}/ec/shex.fs
share/gforth/${PKGVERSION}/ekey.fs
+share/gforth/${PKGVERSION}/endtry-iferror.fs
share/gforth/${PKGVERSION}/environ.fs
share/gforth/${PKGVERSION}/envos.dos
share/gforth/${PKGVERSION}/envos.fs
@@ -77,17 +99,20 @@ share/gforth/${PKGVERSION}/exboot.fs
share/gforth/${PKGVERSION}/except.fs
share/gforth/${PKGVERSION}/extend.fs
share/gforth/${PKGVERSION}/fflib.fs
+share/gforth/${PKGVERSION}/fft.fs
share/gforth/${PKGVERSION}/fi2c.fs
share/gforth/${PKGVERSION}/fib.fs
share/gforth/${PKGVERSION}/filedump.fs
share/gforth/${PKGVERSION}/fixpath.fs
share/gforth/${PKGVERSION}/float.fs
+share/gforth/${PKGVERSION}/fsl-util.4th
share/gforth/${PKGVERSION}/glocals.fs
share/gforth/${PKGVERSION}/glosgen.fs
share/gforth/${PKGVERSION}/gray.fs
share/gforth/${PKGVERSION}/hash.fs
share/gforth/${PKGVERSION}/history.fs
share/gforth/${PKGVERSION}/httpd.fs
+share/gforth/${PKGVERSION}/install-tags.fs
share/gforth/${PKGVERSION}/intcomp.fs
share/gforth/${PKGVERSION}/kernel/accept.fs
share/gforth/${PKGVERSION}/kernel/aliases.fs
@@ -119,8 +144,11 @@ share/gforth/${PKGVERSION}/kernel/saccept.fs
share/gforth/${PKGVERSION}/kernel/tools.fs
share/gforth/${PKGVERSION}/kernel/toolsext.fs
share/gforth/${PKGVERSION}/kernel/vars.fs
+share/gforth/${PKGVERSION}/kernel/xchars.fs
share/gforth/${PKGVERSION}/${KERNEL_FI}
share/gforth/${PKGVERSION}/lib.fs
+share/gforth/${PKGVERSION}/libcc.fs
+share/gforth/${PKGVERSION}/libffi.fs
share/gforth/${PKGVERSION}/locals.fs
share/gforth/${PKGVERSION}/locate.fs
share/gforth/${PKGVERSION}/look.fs
@@ -134,20 +162,25 @@ share/gforth/${PKGVERSION}/machpc.fs.in
share/gforth/${PKGVERSION}/make-app.fs
share/gforth/${PKGVERSION}/matrix.fs
share/gforth/${PKGVERSION}/mini-oof.fs
+share/gforth/${PKGVERSION}/mkdir.fs
share/gforth/${PKGVERSION}/moof-exm.fs
share/gforth/${PKGVERSION}/moofglos.fs
share/gforth/${PKGVERSION}/more.fs
share/gforth/${PKGVERSION}/objects.fs
share/gforth/${PKGVERSION}/objexamp.fs
share/gforth/${PKGVERSION}/oldlib.fs
+share/gforth/${PKGVERSION}/onebench.fs
share/gforth/${PKGVERSION}/oof.fs
share/gforth/${PKGVERSION}/oofsampl.fs
share/gforth/${PKGVERSION}/other.fs
share/gforth/${PKGVERSION}/prim
share/gforth/${PKGVERSION}/prims2x.fs
+share/gforth/${PKGVERSION}/prims2x0.6.2.fs
share/gforth/${PKGVERSION}/proxy.fs
share/gforth/${PKGVERSION}/quotes.fs
share/gforth/${PKGVERSION}/random.fs
+share/gforth/${PKGVERSION}/recover-endtry.fs
+share/gforth/${PKGVERSION}/regexp.fs
share/gforth/${PKGVERSION}/savesys.fs
share/gforth/${PKGVERSION}/search.fs
share/gforth/${PKGVERSION}/see-ext.fs
@@ -160,41 +193,37 @@ share/gforth/${PKGVERSION}/source.fs
share/gforth/${PKGVERSION}/startup.fs
share/gforth/${PKGVERSION}/string.fs
share/gforth/${PKGVERSION}/struct.fs
+share/gforth/${PKGVERSION}/struct0x.fs
share/gforth/${PKGVERSION}/stuff.fs
share/gforth/${PKGVERSION}/table.fs
share/gforth/${PKGVERSION}/tags.fs
share/gforth/${PKGVERSION}/tasker.fs
share/gforth/${PKGVERSION}/termsize.fs
share/gforth/${PKGVERSION}/test/checkans.fs
+share/gforth/${PKGVERSION}/test/coreext.fs
+share/gforth/${PKGVERSION}/test/coremore.fs
share/gforth/${PKGVERSION}/test/coretest.fs
share/gforth/${PKGVERSION}/test/dbltest.fs
+share/gforth/${PKGVERSION}/test/deferred.fs
share/gforth/${PKGVERSION}/test/float.fs
+share/gforth/${PKGVERSION}/test/gforth-nofast.fs
share/gforth/${PKGVERSION}/test/gforth.fs
+share/gforth/${PKGVERSION}/test/libcc.fs
share/gforth/${PKGVERSION}/test/other.fs
share/gforth/${PKGVERSION}/test/postpone.fs
+share/gforth/${PKGVERSION}/test/primtest.fs
+share/gforth/${PKGVERSION}/test/search.fs
share/gforth/${PKGVERSION}/test/signals.fs
share/gforth/${PKGVERSION}/test/string.fs
share/gforth/${PKGVERSION}/test/tester.fs
+share/gforth/${PKGVERSION}/test/ttester.fs
share/gforth/${PKGVERSION}/tt.fs
share/gforth/${PKGVERSION}/unbuffer.fs
share/gforth/${PKGVERSION}/unix/socket.fs
+share/gforth/${PKGVERSION}/utf-8.fs
share/gforth/${PKGVERSION}/vt100.fs
share/gforth/${PKGVERSION}/vt100key.fs
share/gforth/${PKGVERSION}/wordinfo.fs
share/gforth/${PKGVERSION}/wordsets.fs
+share/gforth/${PKGVERSION}/xwords.fs
share/gforth/site-forth/siteinit.fs
-@pkgdir share/gforth/${PKGVERSION}/arch/sparc
-@pkgdir share/gforth/${PKGVERSION}/arch/shboom
-@pkgdir share/gforth/${PKGVERSION}/arch/sharc
-@pkgdir share/gforth/${PKGVERSION}/arch/power
-@pkgdir share/gforth/${PKGVERSION}/arch/misc
-@pkgdir share/gforth/${PKGVERSION}/arch/m68k
-@pkgdir share/gforth/${PKGVERSION}/arch/ia64
-@pkgdir share/gforth/${PKGVERSION}/arch/hppa
-@pkgdir share/gforth/${PKGVERSION}/arch/h8
-@pkgdir share/gforth/${PKGVERSION}/arch/generic
-@pkgdir share/gforth/${PKGVERSION}/arch/c165
-@pkgdir share/gforth/${PKGVERSION}/arch/avr
-@pkgdir share/gforth/${PKGVERSION}/arch/8086
-@pkgdir share/gforth/${PKGVERSION}/arch/6502
-@pkgdir share/gforth/${PKGVERSION}/arch/4stack
diff --git a/lang/gforth/distinfo b/lang/gforth/distinfo
index f2a3132614d..804529f9e3d 100644
--- a/lang/gforth/distinfo
+++ b/lang/gforth/distinfo
@@ -1,9 +1,6 @@
-$NetBSD: distinfo,v 1.5 2006/01/02 02:21:30 ben Exp $
+$NetBSD: distinfo,v 1.6 2009/08/14 22:52:20 asau Exp $
-SHA1 (gforth-0.6.2.tar.gz) = 926faeac7ccc00e86a74954dc7c693b19f13e616
-RMD160 (gforth-0.6.2.tar.gz) = 692aa412e59954f87a7b44027901248f8939e9ee
-Size (gforth-0.6.2.tar.gz) = 1925536 bytes
-SHA1 (patch-aa) = 50bef56bbb5a6f2fe664d370d35d39d72d0982bf
-SHA1 (patch-ab) = a80fd7553acce1168931171b9c100eb25e2fa19a
-SHA1 (patch-ac) = d9155ee2d7f06b3aafeaa5fc2719948deb1c9c7e
-SHA1 (patch-ad) = 16f9d13fc9ddfda3d45df627f4b46942225a5c1d
+SHA1 (gforth-0.7.0.tar.gz) = 5bb357268cba683f2a8c63d2a4bcab8f41cb0086
+RMD160 (gforth-0.7.0.tar.gz) = df0cef8cff25eddf670315c5497fc5634226968c
+Size (gforth-0.7.0.tar.gz) = 2277918 bytes
+SHA1 (patch-aa) = 88811b03619a597d202105c89b659576a9fd34b2
diff --git a/lang/gforth/patches/patch-aa b/lang/gforth/patches/patch-aa
index fa11b480bd5..1eb41156d23 100644
--- a/lang/gforth/patches/patch-aa
+++ b/lang/gforth/patches/patch-aa
@@ -1,32 +1,23 @@
-$NetBSD: patch-aa,v 1.3 2003/12/05 00:26:38 uebayasi Exp $
+$NetBSD: patch-aa,v 1.4 2009/08/14 22:52:21 asau Exp $
---- Makefile.in.orig Mon Aug 25 16:57:49 2003
-+++ Makefile.in
-@@ -51,7 +51,7 @@ osclass = @OSCLASS@
- # ------------- Utility programs
+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
+@@ -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)
- SHELL = /bin/sh
--RM = rm
-+RM = rm -f
- RMTREE = rm -rf
- CP = cp -p
- MV = mv
-@@ -60,6 +60,7 @@ INSTALL = @INSTALL@
- INSTALL_PROGRAM = @INSTALL_PROGRAM@
- INSTALL_DATA = @INSTALL_DATA@
- INSTALL_INFO = @INSTALL_INFO@
-+INSTALL_SCRIPT = @INSTALL_SCRIPT@
- LN_S = @LN_S@
- GCC = @CC@
- CC = $(GCC)
-@@ -528,8 +529,8 @@ install: gforth$(EXE) $(FORTH_SRC) $(ker
- (cd $(bindir) && $(LN_S) gforth-fast-$(VERSION)$(EXE) gforth-fast$(EXE))
- $(INSTALL_PROGRAM) -s gforth-itc$(EXE) $(bindir)/gforth-itc-$(VERSION)$(EXE)
- (cd $(bindir) && $(LN_S) gforth-itc-$(VERSION)$(EXE) gforth-itc$(EXE))
-- $(INSTALL_PROGRAM) gforthmi $(bindir)/gforthmi-$(VERSION)
-- $(INSTALL_PROGRAM) vmgen $(bindir)/vmgen-$(VERSION)
-+ $(INSTALL_SCRIPT) gforthmi $(bindir)/gforthmi-$(VERSION)
-+ $(INSTALL_SCRIPT) vmgen $(bindir)/vmgen-$(VERSION)
- $(INSTALL_PROGRAM) gforth-ditc $(libdir)/gforth/$(VERSION)
- (cd $(bindir) && $(LN_S) gforthmi-$(VERSION) gforthmi)
- (cd $(bindir) && $(LN_S) vmgen-$(VERSION) vmgen)
+ # 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
diff --git a/lang/gforth/patches/patch-ab b/lang/gforth/patches/patch-ab
deleted file mode 100644
index 93e6ad9b660..00000000000
--- a/lang/gforth/patches/patch-ab
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2000/11/13 23:58:12 hubertf Exp $
-
---- arch/m68k/machine.h.orig Sat Sep 23 20:22:05 2000
-+++ arch/m68k/machine.h
-@@ -44,7 +44,16 @@
- */
- #if defined(apollo)
- # define FLUSH_ICACHE(addr,size) cache_$clear()
--#elif defined(NeXT)
-+#elif defined(__NetBSD__)
-+# define FLUSH_ICACHE(addr,size) do { \
-+ register void *addr_ asm("a1") = (addr); \
-+ register int size_ asm("d1") = (size); \
-+ register int cmd_ asm("d0") = 0x80000004; \
-+ asm volatile(" trap #12" \
-+ : "=a" (addr_), "=d" (size_), "=d" (cmd_) \
-+ : "0" (addr_), "1" (size_), "2" (cmd_) : "a0"); \
-+ } while (0)
-+#elif defined(NeXT) || defined(sun)
- # define FLUSH_ICACHE(addr,size) asm("trap #2");
- #elif defined(hpux)
- # include <sys/cache.h>
diff --git a/lang/gforth/patches/patch-ac b/lang/gforth/patches/patch-ac
deleted file mode 100644
index a87beb66554..00000000000
--- a/lang/gforth/patches/patch-ac
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2000/04/11 06:57:50 itohy Exp $
-
---- sokoban.fs.orig Tue May 5 02:04:25 1998
-+++ sokoban.fs Mon Apr 10 22:35:30 2000
-@@ -119,7 +119,7 @@
- S" &* " S" .&$" r@ play-rule
- IF r> soko +! 1 rocks +! -1 score +! EXIT THEN
- S" &$." S" .@*" r@ play-rule
-- IF r> soko +! 1 rocks +! -1 score +! EXIT THEN
-+ IF r> soko +! -1 rocks +! 1 score +! EXIT THEN
- -1 moves +! r> drop ;
-
- 1 move: soko-right
diff --git a/lang/gforth/patches/patch-ad b/lang/gforth/patches/patch-ad
deleted file mode 100644
index 49f3d20c903..00000000000
--- a/lang/gforth/patches/patch-ad
+++ /dev/null
@@ -1,23 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2006/01/02 02:21:30 ben Exp $
-
---- configure.orig Mon Aug 25 01:03:42 2003
-+++ configure
-@@ -3316,7 +3316,8 @@ ac_export_dynamic=no
- fi
- rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
- fi
--test $ac_export_dynamic = yes|| LDFLAGS=$OLDLDFLAGS
-+#test $ac_export_dynamic = yes|| LDFLAGS=$OLDLDFLAGS
-+LDFLAGS=$OLDLDFLAGS
- echo "$as_me:$LINENO: result: $ac_export_dynamic" >&5
- echo "${ECHO_T}$ac_export_dynamic" >&6
-
-@@ -10853,6 +10854,8 @@ do
- mv conftest.tail conftest.undefs
- done
- rm -f conftest.undefs
-+
-+test $ac_export_dynamic = yes && LDFLAGS="$LDFLAGS -export-dynamic"
-
- cat >>$CONFIG_STATUS <<\_ACEOF
- # Let's still pretend it is `configure' which instantiates (i.e., don't