git: fa150a27afa0 - main - net-mgmt/realmd: Fix patch to unbreak the build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Jan 2025 07:36:39 UTC
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=fa150a27afa04c4d8b369f623163384f31f9d5e8 commit fa150a27afa04c4d8b369f623163384f31f9d5e8 Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2025-01-22 07:30:30 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2025-01-22 07:36:23 +0000 net-mgmt/realmd: Fix patch to unbreak the build Reported by: diizzy Sponsored by: Future Crew, LLC --- net-mgmt/realmd/Makefile | 3 --- net-mgmt/realmd/files/patch-service_Makefile.am | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/net-mgmt/realmd/Makefile b/net-mgmt/realmd/Makefile index f293d975151f..57c1133cbe38 100644 --- a/net-mgmt/realmd/Makefile +++ b/net-mgmt/realmd/Makefile @@ -41,9 +41,6 @@ DOCS_BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc SUB_FILES= realmd-freebsd.conf SUB_LIST= SAMBA=samba${SAMBA_DEFAULT:S/.//} -post-patch: - @${REINPLACE_CMD} -e 's/INSTALL_PROGRAM/INSTALL_DATA/g' ${WRKSRC}/service/Makefile.am - pre-install: @${INSTALL_DATA} ${WRKDIR}/realmd-freebsd.conf ${WRKSRC}/service/realmd-freebsd.conf diff --git a/net-mgmt/realmd/files/patch-service_Makefile.am b/net-mgmt/realmd/files/patch-service_Makefile.am new file mode 100644 index 000000000000..456cd612fa65 --- /dev/null +++ b/net-mgmt/realmd/files/patch-service_Makefile.am @@ -0,0 +1,15 @@ +--- service/Makefile.am.orig 2025-01-22 07:21:00 UTC ++++ service/Makefile.am +@@ -131,9 +131,9 @@ install-service: + + # Install and uninstall the config for this distro + install-service: +- $(INSTALL_PROGRAM) -d $(DESTDIR)$(privatedir) +- $(INSTALL_PROGRAM) -d $(DESTDIR)$(localstatedir)/lib/realmd +- $(INSTALL_PROGRAM) -d $(DESTDIR)$(cachedir) ++ $(INSTALL_DATA) -m 755 -d $(DESTDIR)$(privatedir) ++ $(INSTALL_DATA) -m 755 -d $(DESTDIR)$(localstatedir)/lib/realmd ++ $(INSTALL_DATA) -m 755 -d $(DESTDIR)$(cachedir) + $(INSTALL_DATA) $(srcdir)/service/realmd-$(DISTRO).conf $(DESTDIR)$(privatedir)/realmd-distro.conf + uninstall-service: + rm -f $(DESTDIR)$(privatedir)/realmd-distro.conf