diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2016-07-26 05:46:22 +0800 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2016-07-26 05:46:22 +0800 |
commit | 9057d20bd5072ec061d43ce0799a8a3e0b02aaf5 (patch) | |
tree | f62f94d7eb1a909e2d6d491358110845074befa3 /x11-toolkits | |
parent | d1767d6d0e2a97aa2982c3b8eb5af003d1555aa9 (diff) | |
download | freebsd-ports-9057d20bd5072ec061d43ce0799a8a3e0b02aaf5.tar.gz freebsd-ports-9057d20bd5072ec061d43ce0799a8a3e0b02aaf5.tar.zst freebsd-ports-9057d20bd5072ec061d43ce0799a8a3e0b02aaf5.zip |
Apply r402343 to other gnome@ ports restoring r297047 behavior
- Invoke pkg-config(1) instead of checking manually
- Convert to ECHO_MSG which can be silenced
PR: 166279
Approved by: portmgr blanket
MFH: 2016Q3
Notes
Notes:
svn path=/head/; revision=419069
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/pango/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/x11-toolkits/pango/Makefile b/x11-toolkits/pango/Makefile index 419a27095c00..58360fee0070 100644 --- a/x11-toolkits/pango/Makefile +++ b/x11-toolkits/pango/Makefile @@ -55,10 +55,11 @@ 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 +# .if !exists() evaluates too early before cairo has a chance to be installed + @if ! pkg-config --exists cairo-gobject; then \ + ${ECHO_MSG} "${PKGNAME}: Needs cairo with GLIB (GObject) support enabled."; \ + ${FALSE}; \ + fi .include <bsd.port.mk> |