Revision
100854
Author
jeremyhu@macports.org
Date
2012-12-29 22:28:38 -0800 (Sat, 29 Dec 2012)

Log Message

evince: Fix build with current automake

Modified Paths

Diff

Modified: trunk/dports/gnome/evince/Portfile (100853 => 100854)


--- trunk/dports/gnome/evince/Portfile	2012-12-30 06:24:01 UTC (rev 100853)
+++ trunk/dports/gnome/evince/Portfile	2012-12-30 06:28:38 UTC (rev 100854)
@@ -59,6 +59,11 @@
 configure.ldflags-append -lstdc++
 configure.cflags-append -D__DARWIN_UNIX03=1
 
+post-patch {
+    # Update for newer autoconf/automake
+    reinplace "/AM_PROG_CC_STDC/d" ${worksrcpath}/configure.ac
+}
+
 variant djvu description {Builds against port:djvulibre} {
     configure.args-delete --disable-djvu
     configure.args-append --enable-djvu