diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-12-20 14:42:41 +0100 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-12-20 16:14:48 +0100 |
commit | b29def853d252e2db4a184a278b8b09ecc0b476c (patch) | |
tree | 2a2283a146bd8c28d8690d513968998478b29732 /x11-toolkits | |
parent | www/R-cran-servr: Update to 0.28 (diff) |
x11-toolkits/p5-Gtk2: Unbreak
- Add missing dependencies
- Pet portclippy
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/p5-Gtk2/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/x11-toolkits/p5-Gtk2/Makefile b/x11-toolkits/p5-Gtk2/Makefile index 7b64fb80d99d..c4b1196b873d 100644 --- a/x11-toolkits/p5-Gtk2/Makefile +++ b/x11-toolkits/p5-Gtk2/Makefile @@ -17,16 +17,23 @@ BUILD_DEPENDS= p5-Cairo>=1:graphics/p5-Cairo \ p5-ExtUtils-PkgConfig>=1.03:devel/p5-ExtUtils-PkgConfig \ p5-Glib>=1.280:devel/p5-Glib \ p5-Pango>=1.220:x11-toolkits/p5-Pango +LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 \ + libharfbuzz.so:print/harfbuzz RUN_DEPENDS= p5-Cairo>=1:graphics/p5-Cairo \ p5-Glib>=1.280:devel/p5-Glib \ p5-Pango>=1.220:x11-toolkits/p5-Pango USES= gmake gnome perl5 +USE_GNOME= cairo gdkpixbuf2 gtk20 pango USE_PERL5= configure -USE_GNOME= gtk20 pango CONFIGURE_ENV= FORCE_MAKE_CMD=yes +post-patch: + ${REINPLACE_CMD} -e 's|"gtk+-2.0.*|"gtk+-2.0");|g' \ + ${WRKSRC}/Makefile.PL + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Gtk2/Gtk2.so |