1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

Add an error check on if cairo is installed without GLIB (GObject) support.

Reported by:	Larry Baird <lab@gta.com>
This commit is contained in:
Jeremy Messenger 2013-03-19 16:27:59 +00:00
parent cacc75b1bd
commit 1afe62d262
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=314665

View File

@ -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