[MacPorts] #65710: graphene @1.10.8_0+universal: graphene-1.0.pc differs and cannot be merged
MacPorts
noreply at macports.org
Tue Feb 7 09:01:43 UTC 2023
#65710: graphene @1.10.8_0+universal: graphene-1.0.pc differs and cannot be merged
-----------------------+---------------------------------
Reporter: thetrial | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: elcapitan legacy-os
Port: graphene |
-----------------------+---------------------------------
Comment (by kencu):
here is one way to enable the tests in graphene to work:
{{{
% git diff
diff --git a/graphics/graphene/Portfile b/graphics/graphene/Portfile
index c0b220c329b..7112e88c7f4 100644
--- a/graphics/graphene/Portfile
+++ b/graphics/graphene/Portfile
@@ -48,6 +48,16 @@ configure.args-append \
-Dtests=false \
-Dinstalled_tests=false
+test.run yes
+test.target test
+pre-configure {
+ system -W ${worksrcpath} "${prefix}/bin/meson subprojects update
--reset"
+
+}
+configure.args-replace -Dtests=false -Dtests=true \
+ -Dinstalled_tests=false -Dinstalled_tests=true
+
+
# the original motivation for this somewhat unusual pattern of
supported_archs being set
# was here: https://github.com/macports/macports-
ports/pull/2095#issuecomment-401559487
}}}
for a PR, that would have to wrapped up in the test variant block, of
course. But with that, at least you can run the tests when building as
i386...
--
Ticket URL: <https://trac.macports.org/ticket/65710#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list