summaryrefslogtreecommitdiff
path: root/misc/fd/patches/patch-aa
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2006-12-06 15:36:31 +0000
committertaca <taca@pkgsrc.org>2006-12-06 15:36:31 +0000
commitbca6505bdbb376781f63a46c4a37611f1fe1db96 (patch)
tree5d7e383d2817d809e87d4709f938760da13cf84e /misc/fd/patches/patch-aa
parentb19921094c3b451e0bd17a1733279004ff583b59 (diff)
downloadpkgsrc-bca6505bdbb376781f63a46c4a37611f1fe1db96.tar.gz
Update FD utility to 2.09a.
FD 2.09a has many improvement for functionality and portability from previous 1.03u. And it has a built-in Bourne-shell compatible shell and also runs stand-alone shell under the name of 'fdsh', too. And fd-small PKG_OPTION will build smaller and FD 1.x compatible binary. Fixed PR pkg/33067.
Diffstat (limited to 'misc/fd/patches/patch-aa')
-rw-r--r--misc/fd/patches/patch-aa41
1 files changed, 32 insertions, 9 deletions
diff --git a/misc/fd/patches/patch-aa b/misc/fd/patches/patch-aa
index 81abafd530a..a7fa5bb8c31 100644
--- a/misc/fd/patches/patch-aa
+++ b/misc/fd/patches/patch-aa
@@ -1,13 +1,36 @@
-$NetBSD: patch-aa,v 1.5 2001/12/30 13:46:04 wiz Exp $
+$NetBSD: patch-aa,v 1.6 2006/12/06 15:36:32 taca Exp $
---- Makefile.in.orig Tue Dec 18 00:00:00 2001
-+++ Makefile.in Wed Dec 19 13:02:55 2001
-@@ -4,7 +4,7 @@
+--- Makefile.orig 2006-10-31 00:00:00.000000000 +0900
++++ Makefile
+@@ -2,10 +2,10 @@
+ # Makefile for fd
+ #
- TITLE = FD-
- VERSION = __VERSION__
+-VERSION = 2
++VERSION ?= 2
+ VERMAJ = $(VERSION)
-PREFIX = /usr/local
+-CONFDIR = /etc
+PREFIX ?= /usr/local
- MANSEC = 1
- TOPDIR = $(PREFIX)
- BINDIR = $(TOPDIR)/bin
++CONFDIR ?= /etc
+ BUILD =
+ SHELL = /bin/sh
+ MAKE = make
+@@ -16,6 +16,7 @@ DICTSRC =
+
+ DEFCFLAGS = -DPREFIX='"'$(PREFIX)'"' \
+ -DCONFDIR='"'$(CONFDIR)'"' \
++ -DUSEMANLANG -DUSEDATADIR \
+ -DDICTSRC='"''$(DICTSRC)''"' \
+ -DFD=$(VERMAJ) \
+ -DCCCOMMAND='"'$(CC)'"' \
+@@ -91,7 +92,8 @@ mkmfsed: mkmfsed.c fd.h machine.h config
+ config.h: config.hin
+ cp config.hin config.h
+
+-install catman catman-b compman compman-b \
++install install-sh install-bsh install-everything \
++catman catman-b compman compman-b \
+ jcatman jcatman-b jcompman jcompman-b: Makefile.tmp
+ $(MAKE) BUILD=$(BUILD) -f Makefile.tmp $@
+