aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-31 11:47:53 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-31 12:58:31 +0000
commitd449cc2bb709c0789bc8d8d2fe9cd6c0098dde9b (patch)
tree10924338d1f273ace6407b25eb9713e1ebb0856c
parentef11261971a87d2b75b352ab479b651d2f2b0b50 (diff)
downloadports-d449cc2bb709c0789bc8d8d2fe9cd6c0098dde9b.tar.gz
ports-d449cc2bb709c0789bc8d8d2fe9cd6c0098dde9b.zip
devel/xmake: Sanitize MANPREFIX
The previous commit brought back MANPREFIX. Reported by: antoine
-rw-r--r--devel/xmake/files/patch-Makefile8
1 files 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
-
+