Date: Sun, 28 Jul 2024 13:15:49 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 2f6674b90ca8 - main - comms/qrq: Prevent superfluous man dir creation Message-ID: <202407281315.46SDFnsJ022564@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=2f6674b90ca832f4a69b0f79a8d55ca1d870f63f commit 2f6674b90ca832f4a69b0f79a8d55ca1d870f63f Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-07-27 23:07:24 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-07-28 13:15:15 +0000 comms/qrq: Prevent superfluous man dir creation --- comms/qrq/files/patch-Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/comms/qrq/files/patch-Makefile b/comms/qrq/files/patch-Makefile index fe787d72f2ef..fb1ec5280b29 100644 --- a/comms/qrq/files/patch-Makefile +++ b/comms/qrq/files/patch-Makefile @@ -1,6 +1,6 @@ --- Makefile.orig 2022-01-22 09:18:24 UTC +++ Makefile -@@ -2,13 +2,15 @@ +@@ -2,13 +2,15 @@ DESTDIR?=/usr VERSION?=0.3.4 DESTDIR?=/usr @@ -17,7 +17,7 @@ # set to YES if you compile with MINGW32 USE_WIN32=NO -@@ -27,8 +29,8 @@ endif +@@ -27,8 +29,8 @@ ifeq ($(USE_WIN32), YES) ifeq ($(USE_WIN32), YES) CC=i686-w64-mingw32-gcc-posix @@ -28,7 +28,7 @@ endif INSTALL ?= install -@@ -38,7 +40,7 @@ INSTALL ?= install +@@ -38,7 +40,7 @@ BUILD_INFO=" Date: $(shell date +%Y-%m-%dT%H:%M:%S%z)\ BUILD_INFO=" Date: $(shell date +%Y-%m-%dT%H:%M:%S%z)\n git branch/commit: $(shell if [ x${CI_COMMIT_REF_NAME} != x ]; then echo ${CI_COMMIT_REF_NAME} ; elif [ -e .git ] || [ -e ../.git ]; then git symbolic-ref --short HEAD ; else echo not built from git repository ; fi) / $(shell if [ x${CI_COMMIT_SHA} != x ]; then echo ${CI_COMMIT_SHA}; elif [ -e .git ] || [ -e ../.git ] ; then git rev-parse --verify HEAD ; else echo - ; fi )\n by $(USER)@$(shell hostname -f)\n OS: $(shell uname -s -r -p)\n Compiler: $(shell $(CC) --version | head -1)" @@ -37,7 +37,7 @@ ifeq ($(USE_CA), YES) CC=clang -@@ -68,14 +70,14 @@ else ifeq ($(USE_WIN32), YES) +@@ -68,14 +70,14 @@ else OBJECTS=qrq.o qrq.res lib/libncursesw.a else OBJECTS=qrq.o oss.o @@ -54,7 +54,7 @@ .c.o: $(CC) -Wall $(CPPFLAGS) $(CFLAGS) -c $< -@@ -109,28 +111,28 @@ uninstall: +@@ -109,28 +111,27 @@ install: qrq else install: qrq @@ -70,7 +70,6 @@ - ${INSTALL} -m 0644 qrqrc $(DESTDIR)/share/qrq/ - ${INSTALL} -m 0644 toplist $(DESTDIR)/share/qrq/ + ${INSTALL} -d -v $(DESTDIR)${PREFIX}/share/qrq/ -+ ${INSTALL} -d -v $(DESTDIR)${PREFIX}/man/man1/ + ${INSTALL} -d -v $(DESTDIR)${PREFIX}/bin/ + ${INSTALL} -s -m 0755 qrq $(DESTDIR)${PREFIX}/bin/ + ${INSTALL} -m 0755 qrqscore $(DESTDIR)${PREFIX}/bin/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407281315.46SDFnsJ022564>