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:
parent
cacc75b1bd
commit
1afe62d262
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=314665
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user