Revision
104877
Author
devans@macports.org
Date
2013-04-04 11:13:12 -0700 (Thu, 04 Apr 2013)

Log Message

libgnome: remove -DG_DISABLE_DEPRECATED to fix build against latest glib2.

Modified Paths

Added Paths

Diff

Modified: trunk/dports/gnome/libgnome/Portfile (104876 => 104877)


--- trunk/dports/gnome/libgnome/Portfile	2013-04-04 17:40:25 UTC (rev 104876)
+++ trunk/dports/gnome/libgnome/Portfile	2013-04-04 18:13:12 UTC (rev 104877)
@@ -42,6 +42,8 @@
             ${prefix}/etc/gconf/schemas/*.schemas"
 }
 
+patchfiles     patch-libgnome-Makefile.in.diff
+
 livecheck.type  regex
 livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
 livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}

Added: trunk/dports/gnome/libgnome/files/patch-libgnome-Makefile.in.diff (0 => 104877)


--- trunk/dports/gnome/libgnome/files/patch-libgnome-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/gnome/libgnome/files/patch-libgnome-Makefile.in.diff	2013-04-04 18:13:12 UTC (rev 104877)
@@ -0,0 +1,10 @@
+--- libgnome/Makefile.in.orig	2013-04-04 10:40:57.000000000 -0700
++++ libgnome/Makefile.in	2013-04-04 11:00:39.000000000 -0700
+@@ -305,7 +305,6 @@
+ 	-I$(srcdir)/..						\
+ 	$(WARN_CFLAGS)						\
+ 	$(LIBGNOME_CFLAGS)					\
+-	-DG_DISABLE_DEPRECATED					\
+ 	-DLIBGNOME_PREFIX=\""$(prefix)"\"			\
+ 	-DLIBGNOME_LIBDIR=\""$(libdir)"\"			\
+ 	-DLIBGNOME_DATADIR=\""$(datadir)"\"			\