pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/dbus



Module Name:    pkgsrc
Committed By:   hauke
Date:           Fri Aug 15 15:49:12 UTC 2025

Modified Files:
        pkgsrc/sysutils/dbus: Makefile

Log Message:
Work around 'ld: error: undefined symbol: environ' breakage on FreeBSD

See e.g. <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268518>


To generate a diff of this commit:
cvs rdiff -u -r1.142 -r1.143 pkgsrc/sysutils/dbus/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/dbus/Makefile
diff -u pkgsrc/sysutils/dbus/Makefile:1.142 pkgsrc/sysutils/dbus/Makefile:1.143
--- pkgsrc/sysutils/dbus/Makefile:1.142 Thu Aug  7 09:33:05 2025
+++ pkgsrc/sysutils/dbus/Makefile       Fri Aug 15 15:49:12 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.142 2025/08/07 09:33:05 jperkin Exp $
+# $NetBSD: Makefile,v 1.143 2025/08/15 15:49:12 hauke Exp $
 
 DISTNAME=      dbus-1.16.2
 PKGREVISION=   1
@@ -70,12 +70,13 @@ PKG_HOME.${DBUS_USER}=      ${VARBASE}/run/db
 FILES_SUBST+=          DBUS_USER=${DBUS_USER}
 FILES_SUBST+=          DBUS_GROUP=${DBUS_GROUP}
 
-BUILDLINK_TRANSFORM+=  rm:-Wl,--gc-sections
+BUILDLINK_TRANSFORM.FreeBSD+=  rm:-Wl,--no-undefined
+BUILDLINK_TRANSFORM+=          rm:-Wl,--gc-sections
 .if !empty(_PKGSRC_MKPIE:M[Nn][Oo])
 # Package tries to use these if gcc accepts them, but that doesn't
 # mean that we universally can *run* the executables
-BUILDLINK_TRANSFORM+=  rm:-fPIE
-BUILDLINK_TRANSFORM+=  rm:-pie
+BUILDLINK_TRANSFORM+=          rm:-fPIE
+BUILDLINK_TRANSFORM+=          rm:-pie
 .endif
 
 .include "options.mk"



Home | Main Index | Thread Index | Old Index