#30914: dialog: add libdialog subport to install library and headers ---------------------------+------------------------------------------------ Reporter: adam@… | Owner: jwa@… Type: defect | Status: new Priority: Low | Milestone: Component: ports | Version: 2.0.1 Keywords: haspatch | Port: dialog ---------------------------+------------------------------------------------ Changes (by ryandesign@…): * keywords: => haspatch Comment: The makefile isn't set up to do dynamic libraries so I'll leave that for another day. We'll make do with a static library for now. Here's a patch to add a libdialog subport which installs the libdialog library, library manpage, and headers. It also adds "installs_libs no" to the main port, and changes the main port's description, and adds a description for the subport. These descriptions could still be changed further, but at minimum I thought it was important that they differ from one another, and that it be clear to the user what the difference is between dialog and libdialog. The patch doesn't result in as efficient ports as might be possible with a bit more tweaking. Both dialog and libdialog will end up building both the dialog program and the libdialog library. They just differ in which parts they end up installing. This is wasteful of build time. But it doesn't take that long to build (only a minute on my 4-year-old Mac, with the universal variant). And if the user is on a system for which we have a buildbot (currently OS X 10.6 x86_64), then there is no overhead, since they'll be downloading a pre-built binary. So I think the patch is ok to commit as is and not spend further time and effort dissecting and patching the makefile. -- Ticket URL: <https://trac.macports.org/ticket/30914#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS