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
commit70f591c364f182b1b612aa84bd7dcea0321467c2 (patch)
treedb4a9328aaa16e69e643456d7175d6ab7e1fb2e0 /sysutils
parent89137f46cfa576eb8bbad42b75cf48c2d78fe603 (diff)
downloadpkgsrc-70f591c364f182b1b612aa84bd7dcea0321467c2.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"