#45263: gobject_introspection portgroup --------------------------+---------------------- Reporter: ryandesign@… | Owner: devans@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.99 Keywords: haspatch | Port: --------------------------+---------------------- Instead of adding the same configure and build arguments and build and library dependencies to each port that uses gobject introspection, what would you think about using a portgroup? This would simplify the ports and avoid the current problem of forgetting to add code needed for systems or scenarios you didn't test. With this portgroup, you would add {{{ PortGroup gobject_introspection 1.0 }}} near the top of the portgroup, then add {{{ gobject_introspection yes }}} after dependencies are set. You would no longer need to manually add `port:gobject-introspection` to `depends_lib`, add `--enable-introspection` to `configure.args`, write a `pre-build` block adding `CC` to `build.args`, nor write a `platform darwin 8` block adding `port:gmake` to `depends_build` and setting `build.cmd`. See attached proposed portgroup and sample port modifications. -- Ticket URL: <https://trac.macports.org/ticket/45263> MacPorts <http://www.macports.org/> Ports system for OS X