svn commit: r551331 - head/devel/dbus

Mateusz Piotrowski 0mp at FreeBSD.org
Sat Oct 3 17:02:18 UTC 2020


Author: 0mp
Date: Sat Oct  3 17:02:18 2020
New Revision: 551331
URL: https://svnweb.freebsd.org/changeset/ports/551331

Log:
  devel/dbus: Do not pollute build products when TMPDIR is not /tmp
  
  If you have a TMPDIR in your environment that points to an existing
  directory other than /tmp (e.g., TMPDIR=/bigfilesystem/tmp), when you build
  devel/dbus, a couple files get built with that value.
  
  When the package is installed on a target system that may not have the
  non-default TMPDIR used at build time, then you will get run-time errors.
  Such as:
  
    % dbus-launch sh
    Failed to start message bus: Failed to bind socket "/bigfilesystem/tmp/dbus-1nT4MYueXb": No such file or directory
    EOF in dbus-launch reading address from bus daemon
  
  PR:		238548
  Submitted by:	John Hein <jcfyecrayz at liamekaens.com>

Modified:
  head/devel/dbus/Makefile

Modified: head/devel/dbus/Makefile
==============================================================================
--- head/devel/dbus/Makefile	Sat Oct  3 16:45:44 2020	(r551330)
+++ head/devel/dbus/Makefile	Sat Oct  3 17:02:18 2020	(r551331)
@@ -3,7 +3,7 @@
 
 PORTNAME=	dbus
 DISTVERSION=	1.12.20
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel gnome
 MASTER_SITES=	http://dbus.freedesktop.org/releases/dbus/
 
@@ -26,6 +26,7 @@ CONFIGURE_ARGS=	--disable-apparmor \
 		--disable-doxygen-docs \
 		--disable-selinux \
 		--disable-systemd \
+		--with-session-socket-dir=/tmp \
 		--with-test-socket-dir=${WRKDIR}
 
 INSTALL_TARGET=	install-strip


More information about the svn-ports-head mailing list