svn commit: r314665 - head/x11-toolkits/pango
Jeremy Messenger
mezz at FreeBSD.org
Tue Mar 19 16:28:00 UTC 2013
Author: mezz
Date: Tue Mar 19 16:27:59 2013
New Revision: 314665
URL: http://svnweb.freebsd.org/changeset/ports/314665
Log:
Add an error check on if cairo is installed without GLIB (GObject) support.
Reported by: Larry Baird <lab at gta.com>
Modified:
head/x11-toolkits/pango/Makefile
Modified: head/x11-toolkits/pango/Makefile
==============================================================================
--- head/x11-toolkits/pango/Makefile Tue Mar 19 16:26:27 2013 (r314664)
+++ head/x11-toolkits/pango/Makefile Tue Mar 19 16:27:59 2013 (r314665)
@@ -53,6 +53,12 @@ CONFIGURE_ARGS+= --with-x=no
PLIST_SUB+= X11="@comment "
.endif
+pre-configure:
+.if !exists(${LOCALBASE}/libdata/pkgconfig/cairo-gobject.pc)
+ @${ECHO_CMD} "${PKGNAME}: Needs cairo with GLIB (GObject) support enabled."
+ @${FALSE}
+.endif
+
.include <bsd.port.mk>
.endif
More information about the svn-ports-head
mailing list