From bca6505bdbb376781f63a46c4a37611f1fe1db96 Mon Sep 17 00:00:00 2001 From: taca Date: Wed, 6 Dec 2006 15:36:31 +0000 Subject: 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. --- misc/fd/patches/patch-aa | 41 ++++++++++++++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 9 deletions(-) (limited to 'misc/fd/patches/patch-aa') 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 $@ + -- cgit v1.2.3