diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2015-11-24 04:08:55 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2015-11-24 04:08:55 +0000 |
commit | 8af40027a956f5793e467a881e9420bb8b9b65eb (patch) | |
tree | 01c388bfee3eb0079bb5e83bd568b4aba352eccf /x11-toolkits/gtk20/Makefile | |
parent | e4b71897376a5233949fa8610dcbe902fcc132a9 (diff) | |
download | ports-8af40027a956f5793e467a881e9420bb8b9b65eb.tar.gz ports-8af40027a956f5793e467a881e9420bb8b9b65eb.zip |
Notes
Diffstat (limited to 'x11-toolkits/gtk20/Makefile')
-rw-r--r-- | x11-toolkits/gtk20/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile index e2c42bd8c16a..9e5f6d624246 100644 --- a/x11-toolkits/gtk20/Makefile +++ b/x11-toolkits/gtk20/Makefile @@ -47,8 +47,6 @@ CUPS_CONFIGURE_ON= --enable-cups=auto CUPS_CONFIGURE_OFF= --disable-cups DEBUG_CONFIGURE_ON= --enable-debug=yes -.include <bsd.port.options.mk> - PLIST_SUB+= LIBGAILVER=18.0.1 LIBGVER=0.2400.28 post-patch: @@ -58,10 +56,11 @@ post-patch: ${WRKSRC}/gtk/Makefile.in pre-configure: -.if !exists(${LOCALBASE}/libdata/pkgconfig/cairo-xlib.pc) - @${ECHO_CMD} "${PKGNAME}: Needs cairo with X11 support enabled." - @${FALSE} -.endif +# .if !exists() evaluates too early before cairo has a chance to be installed + @if ! pkg-config --exists cairo-xlib; then \ + ${ECHO_MSG} "${PKGNAME}: Needs cairo with X11 support enabled."; \ + ${FALSE}; \ + fi post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-2.0/modules |