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: nros
Date: Thu Jan 20 16:38:21 UTC 2022
Modified Files:
pkgsrc/sysutils/dbus: Makefile
Log Message:
Fix dbus PIE build
Only remove -fPIE and -pie when PKGSRC_MKPIE is no.
The buildlink transforms make the tools become non-pie.
This causes the PIE checks to fail.
To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 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.126 pkgsrc/sysutils/dbus/Makefile:1.127
--- pkgsrc/sysutils/dbus/Makefile:1.126 Sun Nov 7 19:14:15 2021
+++ pkgsrc/sysutils/dbus/Makefile Thu Jan 20 16:38:21 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.126 2021/11/07 19:14:15 khorben Exp $
+# $NetBSD: Makefile,v 1.127 2022/01/20 16:38:21 nros Exp $
DISTNAME= dbus-1.12.20
PKGREVISION= 2
@@ -92,10 +92,12 @@ FILES_SUBST+= DBUS_USER=${DBUS_USER}
FILES_SUBST+= DBUS_GROUP=${DBUS_GROUP}
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
+.endif
BUILDLINK_TRANSFORM.OpenBSD+= rm:-lrt
Home |
Main Index |
Thread Index |
Old Index