diff --git a/devel/xmake/files/patch-Makefile b/devel/xmake/files/patch-Makefile index 51776e3c150c..ff2a507472f3 100644 --- a/devel/xmake/files/patch-Makefile +++ b/devel/xmake/files/patch-Makefile @@ -1,20 +1,20 @@ --- Makefile.orig 2002-12-11 20:51:25 UTC +++ Makefile @@ -6,7 +6,7 @@ IBDIR= $(PREFIX)/bin EXE= xmake PREFIX ?= /usr/local IBDIR= $(PREFIX)/bin -IMDIR= $(PREFIX)/man/man1 -+IMDIR= $(MANPREFIX)/share/man/man1 ++IMDIR= $(PREFIX)/share/man/man1 BSD_INSTALL_PROGRAM ?= install -c -s -m 755 BSD_INSTALL_MAN ?= install -c -m 644 - + @@ -19,6 +19,6 @@ install: all rm -f $(OBJS) $(EXE) - + install: all - $(BSD_INSTALL_PROGRAM) $(EXE) $(IBDIR)/$(EXE) - $(BSD_INSTALL_MAN) ${.CURDIR}/xmake.1 $(IMDIR)/xmake.1 + $(BSD_INSTALL_PROGRAM) $(EXE) $(DESTDIR)$(IBDIR)/$(EXE) + $(BSD_INSTALL_MAN) ${.CURDIR}/xmake.1 $(DESTDIR)$(IMDIR)/xmake.1 - +