From cfe2b1d7cc265464f29ba090d93c61c247295075 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Sun, 16 Jun 2002 09:49:01 +0000 Subject: Fix build on current. Submitted by: ru --- devel/xmake/files/patch-aa | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'devel/xmake/files/patch-aa') diff --git a/devel/xmake/files/patch-aa b/devel/xmake/files/patch-aa index 3c2403d4fab2..afebcf56e027 100644 --- a/devel/xmake/files/patch-aa +++ b/devel/xmake/files/patch-aa @@ -1,6 +1,6 @@ ---- Makefile.orig Sun Jul 26 16:11:40 1998 -+++ Makefile Sun Jul 26 16:14:35 1998 -@@ -1,11 +1,11 @@ +--- Makefile.orig Wed Oct 22 19:35:01 1997 ++++ Makefile Tue Jun 4 14:14:40 2002 +@@ -1,12 +1,12 @@ SRCS= include.c list.c main.c subs.c var.c wild.c OBJS= include.o list.o main.o subs.o var.o wild.o @@ -10,13 +10,14 @@ EXE= xmake -IBDIR= /usr/local/bin -IMDIR= /usr/local/man/man1 +-CC= cc +PREFIX?= /usr/local +IBDIR= $(PREFIX)/bin +IMDIR= $(PREFIX)/man/man1 --CC= cc all: $(EXE) -@@ -16,6 +17,6 @@ + +@@ -16,6 +16,6 @@ clean: rm -f $(OBJS) $(EXE) @@ -24,5 +25,5 @@ - install -c -s -m 755 $(EXE) $(IBDIR)/$(EXE) - +install: -+ install -c -s -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) $(EXE) $(IBDIR) -+ install -c -o $(MANOWN) -g $(MANGRP) -m $(MANMODE) xmake.1 $(IMDIR) ++ $(BSD_INSTALL_PROGRAM) $(EXE) $(IBDIR) ++ $(BSD_INSTALL_MAN) xmake.1 $(IMDIR) -- cgit v1.2.3