diff options
author | Jeremy Messenger <mezz@FreeBSD.org> | 2013-03-19 16:27:59 +0000 |
---|---|---|
committer | Jeremy Messenger <mezz@FreeBSD.org> | 2013-03-19 16:27:59 +0000 |
commit | 1afe62d26257ea762b9ef7a2a164d1515d4089b0 (patch) | |
tree | ef8d4ac0eade94facb8032c2bdb1d089877860d9 | |
parent | - Update to 4.5.1 (diff) |
Add an error check on if cairo is installed without GLIB (GObject) support.
Reported by: Larry Baird <lab@gta.com>
Notes
Notes:
svn path=/head/; revision=314665
-rw-r--r-- | x11-toolkits/pango/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-toolkits/pango/Makefile b/x11-toolkits/pango/Makefile index d22134d2b2e8..61e842c7d743 100644 --- a/x11-toolkits/pango/Makefile +++ b/x11-toolkits/pango/Makefile @@ -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 |