1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-24 21:01:20 +00:00
freebsd-ports/japanese/grep/files/patch-ab
Akinori MUSHA 1a78e9a334 Prefix "j" to the names of the binaries and the manpages.
As they are based on an old version of GNU grep (2.0), they should not
clash with those of the base system's.
2001-02-27 18:27:24 +00:00

30 lines
907 B
Plaintext

--- Makefile.in.orig Mon Feb 12 03:51:57 2001
+++ Makefile.in Mon Feb 12 03:59:55 2001
@@ -53,10 +53,10 @@
LIBS=@LIBS@
ALLOCA=@ALLOCA@
-CFLAGS=-O
+CFLAGS=@CFLAGS@
LDFLAGS=$(CFLAGS)
-prefix=/usr/local
+prefix=@prefix@
exec_prefix=$(prefix)
# Prefix for installed program, normally empty or `g'.
@@ -97,10 +97,10 @@
install: all
$(INSTALL_PROGRAM) grep $(bindir)/$(binprefix)grep
rm -f $(bindir)/$(binprefix)egrep
- $(LN) $(bindir)/$(binprefix)grep $(bindir)/$(binprefix)egrep
+ $(LN) -s $(binprefix)grep $(bindir)/$(binprefix)egrep
rm -f $(bindir)/$(binprefix)fgrep
- $(LN) $(bindir)/$(binprefix)grep $(bindir)/$(binprefix)fgrep
- $(INSTALL_DATA) $(srcdir)/grep.man $(mandir)/grep.$(manext)
+ $(LN) -s $(binprefix)grep $(bindir)/$(binprefix)fgrep
+ $(INSTALL_DATA) $(srcdir)/grep.man $(mandir)/$(binprefix)grep.$(manext)
check:
AWK=$(AWK) sh $(srcdir)/tests/check.sh $(srcdir)/tests