diff --git a/x11/dbus/Makefile b/x11/dbus/Makefile index ec01e79aff5..44a27748c55 100644 --- a/x11/dbus/Makefile +++ b/x11/dbus/Makefile @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.20 2008/12/09 14:14:45 jasper Exp $ +# $OpenBSD: Makefile,v 1.21 2009/01/06 10:16:52 ajacoutot Exp $ COMMENT= message bus system DISTNAME= dbus-1.2.6 +PKGNAME= ${DISTNAME}p0 SHARED_LIBS+= dbus-1 7.0 CATEGORIES= x11 diff --git a/x11/dbus/patches/patch-configure b/x11/dbus/patches/patch-configure new file mode 100644 index 00000000000..05e4186ed23 --- /dev/null +++ b/x11/dbus/patches/patch-configure @@ -0,0 +1,26 @@ +$OpenBSD: patch-configure,v 1.1 2009/01/06 10:16:52 ajacoutot Exp $ + +Do not use -fPIE, it gives empty unresolved symbols on powerpc. + +--- configure.orig Mon Jan 5 11:51:16 2009 ++++ configure Mon Jan 5 11:51:24 2009 +@@ -20974,19 +20974,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 +- + if test "x$enable_ansi" = "xyes"; then + case " $CFLAGS " in + *[\ \ ]-ansi[\ \ ]*) ;;