From 17d2ff572d6c73b23350a77bce36c3fac6f6b84e Mon Sep 17 00:00:00 2001 From: chuck Date: Wed, 15 Dec 2010 02:24:23 +0000 Subject: for darwin only, remove un-needed ld flag from configure.ac --- sysutils/eggdbus/distinfo | 3 ++- sysutils/eggdbus/patches/patch-ab | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 sysutils/eggdbus/patches/patch-ab diff --git a/sysutils/eggdbus/distinfo b/sysutils/eggdbus/distinfo index 61adeaf6790..b14f5004039 100644 --- a/sysutils/eggdbus/distinfo +++ b/sysutils/eggdbus/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.2 2010/07/05 08:58:56 dsainty Exp $ +$NetBSD: distinfo,v 1.3 2010/12/15 02:24:23 chuck Exp $ SHA1 (eggdbus-0.6.tar.bz2) = 9f47d1225aafdcc5c59d177ec4c2b52d6f003ce8 RMD160 (eggdbus-0.6.tar.bz2) = a1fa28199059e7deb551b755a8a3853aa02ae0b7 Size (eggdbus-0.6.tar.bz2) = 163804 bytes SHA1 (patch-aa) = 4c803b9598f760b88b7a6b9ca53acc64377ed200 +SHA1 (patch-ab) = 5cf2948d7d1f9c06168dc92397fe1bf69279a0c1 diff --git a/sysutils/eggdbus/patches/patch-ab b/sysutils/eggdbus/patches/patch-ab new file mode 100644 index 00000000000..ac85158b731 --- /dev/null +++ b/sysutils/eggdbus/patches/patch-ab @@ -0,0 +1,19 @@ +$NetBSD: patch-ab,v 1.1 2010/12/15 02:24:23 chuck Exp $ + +--- configure.ac.orig 2010-12-14 16:04:28.000000000 -0500 ++++ configure.ac 2010-12-14 16:06:27.000000000 -0500 +@@ -120,7 +120,13 @@ + AC_SUBST(DBUS_GLIB_LIBS) + + if test "x$GCC" = "xyes"; then +- LDFLAGS="-Wl,--as-needed $LDFLAGS" ++ case "x$host_os" in ++ xdarwin* ) ++ ;; ++ * ) ++ LDFLAGS="-Wl,--as-needed $LDFLAGS" ++ ;; ++ esac + fi + + AC_OUTPUT([ -- cgit v1.2.3