Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Oct 2020 17:02:18 +0000 (UTC)
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r551331 - head/devel/dbus
Message-ID:  <202010031702.093H2IAJ069385@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010031702.093H2IAJ069385>