freebsd-ports/japanese/grep/files/patch-ab
Steve Price db2e1b2d39 * Modified patches to support CFLAGS/PREFIX properly
PR:		15242
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
1999-12-23 16:28:55 +00:00

28 lines
774 B
Plaintext

--- Makefile.in.orig Fri Dec 3 21:46:09 1999
+++ Makefile.in Fri Dec 3 21:47:39 1999
@@ -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,9 +97,9 @@
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
+ $(LN) -s $(binprefix)grep $(bindir)/$(binprefix)fgrep
$(INSTALL_DATA) $(srcdir)/grep.man $(mandir)/grep.$(manext)
check: