diff options
author | kris <kris@FreeBSD.org> | 2002-06-16 17:49:01 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-06-16 17:49:01 +0800 |
commit | 0c38feac8abef4304ba8f2716bfef560276cf0d5 (patch) | |
tree | cc2a57f628360d6e4610116ce3e5d02d7c9370ca /devel/xmake | |
parent | 81eb4da96c4d194ac69f6c20de34e07fc5780ffa (diff) | |
download | freebsd-ports-gnome-0c38feac8abef4304ba8f2716bfef560276cf0d5.tar.gz freebsd-ports-gnome-0c38feac8abef4304ba8f2716bfef560276cf0d5.tar.zst freebsd-ports-gnome-0c38feac8abef4304ba8f2716bfef560276cf0d5.zip |
Fix build on current.
Submitted by: ru
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) |