1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/japanese/grep/files/patch-ab
Masafumi Max NAKANE 1b9f492d93 Define MAN1 in the Makefile and remove the man page entry from
the PLIST.

Don't patch the dist Makefile to compress the man page.

Install the README file comes with the multibyte patch.
1998-08-31 15:37:36 +00:00

25 lines
762 B
Plaintext

--- grep-2.0/Makefile.in.orig Tue Apr 4 02:25:58 1995
+++ grep-2.0/Makefile.in Tue Apr 4 02:27:57 1995
@@ -74,7 +74,7 @@
manext=1
# How to make a hard link.
-LN=ln
+LN=ln -s
#### End of system configuration section. ####
@@ -97,10 +97,10 @@
install: all
$(INSTALL_PROGRAM) grep $(bindir)/$(binprefix)grep
rm -f $(bindir)/$(binprefix)egrep
- $(LN) $(bindir)/$(binprefix)grep $(bindir)/$(binprefix)egrep
+ cd $(bindir); $(LN) $(binprefix)grep $(binprefix)egrep
rm -f $(bindir)/$(binprefix)fgrep
- $(LN) $(bindir)/$(binprefix)grep $(bindir)/$(binprefix)fgrep
+ cd $(bindir); $(LN) $(binprefix)grep $(binprefix)fgrep
$(INSTALL_DATA) $(srcdir)/grep.man $(mandir)/grep.$(manext)
check:
AWK=$(AWK) sh $(srcdir)/tests/check.sh $(srcdir)/tests