git: ff3de9092ecb - main - devel/p5-Glib-Object-Introspection: Clean up
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Mar 2024 14:11:26 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ff3de9092ecbd2883152d67d1f1f8d0d866901ea
commit ff3de9092ecbd2883152d67d1f1f8d0d866901ea
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-09 13:47:05 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-09 14:05:38 +0000
devel/p5-Glib-Object-Introspection: Clean up
glib20 is already brought in via USE_GNOME=introspection
---
devel/p5-Glib-Object-Introspection/Makefile | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/devel/p5-Glib-Object-Introspection/Makefile b/devel/p5-Glib-Object-Introspection/Makefile
index 4a843fe80e37..f3d84205b876 100644
--- a/devel/p5-Glib-Object-Introspection/Makefile
+++ b/devel/p5-Glib-Object-Introspection/Makefile
@@ -11,7 +11,6 @@ WWW= https://metacpan.org/release/Glib-Object-Introspection
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE
-# t/vfunc-ref-counting.t requires gobject-introspection 1.35.5+
BUILD_DEPENDS= p5-ExtUtils-Depends>=0.300:devel/p5-ExtUtils-Depends \
p5-ExtUtils-PkgConfig>=1:devel/p5-ExtUtils-PkgConfig \
${RUN_DEPENDS}
@@ -25,10 +24,8 @@ USE_PERL5= configure
OPTIONS_DEFINE= TEST
-# Glib::Object::Introspection requires cairo and glib20 to build
-# test libraries during build phase, therefore we add them to BUILD_DEPENDS.
-TEST_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/cairo.pc:graphics/cairo \
- ${LOCALBASE}/libdata/pkgconfig/glib-2.0.pc:devel/glib20
+# It requires cairo to build test libraries during build phase
+TEST_BUILD_DEPENDS= cairo>=0:graphics/cairo
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Glib/Object/Introspection/Introspection.so