mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
net-mgmt/realmd: Fix patch to unbreak the build
Reported by: diizzy Sponsored by: Future Crew, LLC
This commit is contained in:
parent
7071622422
commit
fa150a27af
2 changed files with 15 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
15
net-mgmt/realmd/files/patch-service_Makefile.am
Normal file
15
net-mgmt/realmd/files/patch-service_Makefile.am
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue