diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-06-16 09:49:01 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-06-16 09:49:01 +0000 |
commit | cfe2b1d7cc265464f29ba090d93c61c247295075 (patch) | |
tree | f63b40f0c982101e13989e2c373bd64c753234ef /devel/xmake | |
parent | 9794baa212e482763d81a727f0fb1c3cb9fb3787 (diff) | |
download | ports-cfe2b1d7cc265464f29ba090d93c61c247295075.tar.gz ports-cfe2b1d7cc265464f29ba090d93c61c247295075.zip |
Fix build on current.
Submitted by: ru
Notes
Notes:
svn path=/head/; revision=61351
Diffstat (limited to 'devel/xmake')
-rw-r--r-- | devel/xmake/files/patch-aa | 15 |
1 files changed, 8 insertions, 7 deletions
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) |