summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorhe <he>2009-01-09 21:54:15 +0000
committerhe <he>2009-01-09 21:54:15 +0000
commit3e9ef863421c1a42b76e45ea43e023b4a5e0df8f (patch)
treedb4a9328aaa16e69e643456d7175d6ab7e1fb2e0 /sysutils
parentb8a945cec130e2bed7e361b5da88a8b943097cb5 (diff)
downloadpkgsrc-3e9ef863421c1a42b76e45ea43e023b4a5e0df8f.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"