Date: Mon, 27 Apr 2026 11:22:05 +0000 From: Gleb Popov <arrowd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: b99eda2fb7e4 - main - x11-toolkits/gtk20: Depend on cairo in a canonical way Message-ID: <69ef46dd.1e389.2b88e106@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=b99eda2fb7e4d4efd8cc263d0095f887b0eded29 commit b99eda2fb7e4d4efd8cc263d0095f887b0eded29 Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2026-04-26 14:42:51 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2026-04-27 11:21:43 +0000 x11-toolkits/gtk20: Depend on cairo in a canonical way PR: 294800 --- x11-toolkits/gtk20/Makefile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile index 33d6299d54d8..b13aba01ad47 100644 --- a/x11-toolkits/gtk20/Makefile +++ b/x11-toolkits/gtk20/Makefile @@ -19,6 +19,7 @@ PORTSCOUT= limitw:0,even CPE_VENDOR= gnome +BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/cairo-xlib.pc:graphics/cairo RUN_DEPENDS+= update-mime-database:misc/shared-mime-info \ ${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme @@ -52,13 +53,6 @@ post-patch: @${REINPLACE_CMD} -e 's|file,cups|file,cups,lpr|' \ ${WRKSRC}/gtk/Makefile.in -pre-configure: -# .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 @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-2.0/${GTK2_VERSION}/engineshome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69ef46dd.1e389.2b88e106>
