ports/sysutils/bareos16-server/files/patch-src-plugins-filed_Makefile.in
Jose Alonso Cardenas Marquez 3bd8555e8a - Copy bareos-* ports to bareso16-*. bareos-* ports will be update to 17.x
- Rename bin/bat to bin/bareos-bat. It avoids a problem with textproc/bat port
- Few other modifications
2018-05-18 05:05:00 +00:00

21 lines
971 B
Text

--- src/plugins/filed/Makefile.in 2017-03-12 19:49:48.441405000 -0500
+++ src/plugins/filed/Makefile.in 2017-03-12 19:51:04.400881000 -0500
@@ -93,7 +93,8 @@
install: all
$(MKDIR) $(DESTDIR)$(plugindir)
- $(MKDIR) ${DESTDIR}${confdir}/bareos-dir.d/
+ $(MKDIR) ${DESTDIR}${confdir}/bareos-dir.d/fileset
+ $(MKDIR) ${DESTDIR}${confdir}/bareos-dir.d/job
$(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) bpipe-fd.la $(DESTDIR)$(plugindir)
$(RMF) $(DESTDIR)$(plugindir)/bpipe-fd.la
for plugin in $(BUILD_PLUGINS); do \
@@ -110,7 +111,7 @@
$(CP) *.py *.py.template $(DESTDIR)$(plugindir); \
for i in `find python-ldap-conf.d/ \( -name "*.conf" -o -name "*.conf.example" \) -print | cut -d'/' -f2-`; do \
$(MKDIR) `dirname ${DESTDIR}${confdir}/$$i`; \
- $(INSTALL_CONFIG) python-ldap-conf.d/$$i ${DESTDIR}${confdir}/$$i; \
+ $(INSTALL_CONFIG) python-ldap-conf.d/$$i ${DESTDIR}${confdir}/`echo $$i | sed -e 's|example|sample|g'`; \
done; \
fi; \
done