Disable PIE. Unbreaks dbus on arm (and probably other archs).
Please test and comment.
Ciao,
Kili
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/dbus/Makefile,v
retrieving revision 1.24
diff -u -p -r1.24 Makefile
--- Makefile 28 Jan 2009 19:05:23 -0000 1.24
+++ Makefile 14 Apr 2009 12:55:19 -0000
@@ -3,7 +3,7 @@
COMMENT= message bus system
DISTNAME= dbus-1.2.12
-PKGNAME= ${DISTNAME}p0
+PKGNAME= ${DISTNAME}p1
SHARED_LIBS+= dbus-1 7.0
CATEGORIES= x11
Index: patches/patch-configure_in
===================================================================
RCS file: /cvs/ports/x11/dbus/patches/patch-configure_in,v
retrieving revision 1.1
diff -u -p -r1.1 patch-configure_in
--- patches/patch-configure_in 28 Jan 2009 19:05:23 -0000 1.1
+++ patches/patch-configure_in 14 Apr 2009 12:55:19 -0000
@@ -1,7 +1,27 @@
$OpenBSD: patch-configure_in,v 1.1 2009/01/28 19:05:23 ajacoutot Exp $
---- configure.in.orig Tue Jan 27 03:51:27 2009
-+++ configure.in Tue Jan 27 03:52:10 2009
-@@ -282,10 +282,6 @@ if test "x$GCC" = "xyes"; then
+--- configure.in.orig Wed Jan 7 01:30:26 2009
++++ configure.in Tue Apr 14 12:46:30 2009
+@@ -253,19 +253,6 @@ if test "x$GCC" = "xyes"; then
+ ;;
+ esac
+
+- case " $CFLAGS " in
+- *[\ \ ]-fPIE[\ \ ]*) ;;
+- *) if cc_supports_flag -fPIE; then
+- PIE_CFLAGS="-fPIE"
+- if ld_supports_flag -z,relro; then
+- PIE_LDFLAGS="-pie -Wl,-z,relro"
+- else
+- PIE_LDFLAGS="-pie"
+- fi
+- fi
+- ;;
+- esac
+-
+ ### Disabled warnings, and compiler flag overrides
+
+ # Let's just ignore unused for now
+@@ -282,10 +269,6 @@ if test "x$GCC" = "xyes"; then
*[\ \ ]-Wno-sign-compare[\ \ ]*) ;;
*) CFLAGS="$CFLAGS -Wno-sign-compare" ;;
esac