[BRLTTY] [patch] fix the api socket directory
William Hubbs
w.d.hubbs at gmail.com
Sat May 16 15:56:23 EDT 2009
Hi all,
I am the primary maintainer of brltty on gentoo, and we have a patch
that I would like to submit for consideration.
In configure.ac, api_socket_path is set so that when the directory is
created it is /var/lib/lib/brltty. We change this to /var/lib/brltty in
the first part of the patch.
The second part of the patch is a change to common.mk, so that the api
socket directory is installed under INSTALL_ROOT, which makes it install
correctly under portage.
The patch is attached. Is this something you would consider putting in
the main brltty tree?
Thanks,
William
-------------- next part --------------
Index: configure.ac
===================================================================
--- configure.ac (revision 4484)
+++ configure.ac (working copy)
@@ -536,7 +536,7 @@
api_dynamic_library="api-dynamic-library"
install_api_libraries="install-api-libraries"
uninstall_api_libraries="uninstall-api-libraries"
- api_socket_path="${localstatedir}/lib/BrlAPI"
+ api_socket_path="${localstatedir}/BrlAPI"
case "${host_os}"
in
Index: common.mk
===================================================================
--- common.mk (revision 4484)
+++ common.mk (working copy)
@@ -74,8 +74,9 @@
install-apihdr-directory:
$(INSTALL_DIRECTORY) $(INSTALL_APIHDR_DIRECTORY)
+INSTALL_API_SOCKET_DIRECTORY = $(INSTALL_ROOT)$(API_SOCKET_DIRECTORY)
install-apisoc-directory:
- -$(INSTALL_DIRECTORY) -m 1777 $(API_SOCKET_DIRECTORY)
+ -$(INSTALL_DIRECTORY) -m 1777 $(INSTALL_API_SOCKET_DIRECTORY)
clean::
-rm -f *.$O *.auto.h *.auto.c core implib.a
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://mielke.cc/pipermail/brltty/attachments/20090516/553ce214/attachment.bin
More information about the BRLTTY
mailing list