summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2009-01-09 21:54:15 +0000
committerhe <he@pkgsrc.org>2009-01-09 21:54:15 +0000
commita7d703651ef6b0e53e8fa3330e895f433770867b (patch)
treedb4a9328aaa16e69e643456d7175d6ab7e1fb2e0 /sysutils
parentbf1895baa73ce6629683c111c8b28e7cfb3699bc (diff)
downloadpkgsrc-a7d703651ef6b0e53e8fa3330e895f433770867b.tar.gz
Update from version 1.2.4.2nb1 to 1.2.4.2nb2.
Pkgsrc changes: o Add BUILDLINK_TRANSFORM settings which deactivate -fPIE and -pie in the compiler invocation. The configure script of this package checks to see if gcc accepts those options, and uses them if it does. However, apparently that does not mean that we universally will be able to run the resulting executables -- on NetBSD/4.0 macppc the run-time linker says "Unsupported relocation type 6 in non-PLT relocations" Tested that the dbus-daemon executable remains runnable on both i386 and that it is so now on macppc. Thanks to jmcneill@ and joerg@ for hints leading to this fix.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/dbus/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysutils/dbus/Makefile b/sysutils/dbus/Makefile
index 5ebbacfed37..cc0d36f9b41 100644
--- a/sysutils/dbus/Makefile
+++ b/sysutils/dbus/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.41 2009/01/09 21:47:32 he Exp $
+# $NetBSD: Makefile,v 1.42 2009/01/09 21:54:15 he Exp $
DISTNAME= dbus-1.2.4.2permissive
PKGNAME= dbus-1.2.4.2
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://dbus.freedesktop.org/releases/dbus/
@@ -95,6 +95,10 @@ FILES_SUBST+= DBUS_USER=${DBUS_USER}
FILES_SUBST+= DBUS_GROUP=${DBUS_GROUP}
BUILDLINK_TRANSFORM+= rm:-Wl,--gc-sections
+# 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
.include "options.mk"