Revision
145292
Author
mcalhoun@macports.org
Date
2016-01-30 18:55:04 -0800 (Sat, 30 Jan 2016)

Log Message

dbus: replace reinplace with patch file

Modified Paths

Added Paths

Diff

Modified: trunk/dports/devel/dbus/Portfile (145291 => 145292)


--- trunk/dports/devel/dbus/Portfile	2016-01-31 02:47:32 UTC (rev 145291)
+++ trunk/dports/devel/dbus/Portfile	2016-01-31 02:55:04 UTC (rev 145292)
@@ -27,8 +27,10 @@
 
 # See r59386
 # See r68276
+# poll is always broken
 patchfiles      patch-bus-system.conf.in.diff \
-                patch-dbus-dbus-sysdeps-unix.c.diff
+                patch-dbus-dbus-sysdeps-unix.c.diff \
+                patch-configure.diff
 
 # See #43203
 if { ${os.major} < 11 } {
@@ -130,8 +132,6 @@
 }
 
 post-patch {
-    reinplace {s|broken_poll="no (cross compiling)"|broken_poll=yes|} ${worksrcpath}/configure
-
     if { [tbool startupitem.create] } {
         # Disable if installed into startup directory.
         reinplace "s|</array>|</array>\\\n\\\n\\\t<key>Disabled</key>\\\n\\\t<true/>|" \

Added: trunk/dports/devel/dbus/files/patch-configure.diff (0 => 145292)


--- trunk/dports/devel/dbus/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/devel/dbus/files/patch-configure.diff	2016-01-31 02:55:04 UTC (rev 145292)
@@ -0,0 +1,11 @@
+--- configure.orig	2015-02-04 09:49:03.000000000 -0700
++++ configure	2016-01-30 19:46:48.000000000 -0700
+@@ -18761,7 +18761,7 @@
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken poll" >&5
+ $as_echo_n "checking for broken poll... " >&6; }
+ if test "$cross_compiling" = yes; then :
+-  broken_poll="no (cross compiling)"
++  broken_poll=yes
+ else
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */