git: d449cc2bb709 - main - devel/xmake: Sanitize MANPREFIX
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 31 Jan 2024 12:59:45 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d449cc2bb709c0789bc8d8d2fe9cd6c0098dde9b
commit d449cc2bb709c0789bc8d8d2fe9cd6c0098dde9b
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-31 11:47:53 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-31 12:58:31 +0000
devel/xmake: Sanitize MANPREFIX
The previous commit brought back MANPREFIX.
Reported by: antoine
---
devel/xmake/files/patch-Makefile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
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
@@ -5,16 +5,16 @@
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
-
+