[MacPorts] #17253: libtasn1 no longer provides libtasn1-config, let's provide one until depending packages are fixed
MacPorts
noreply at macports.org
Sat Nov 15 04:23:31 PST 2008
#17253: libtasn1 no longer provides libtasn1-config, let's provide one until
depending packages are fixed
------------------------------+---------------------------------------------
Reporter: bugs at capelis.dj | Owner: sfiera at macports.org
Type: enhancement | Status: new
Priority: Normal | Milestone: Port Enhancements
Component: ports | Version:
Resolution: | Keywords:
Port: libtasn1 |
------------------------------+---------------------------------------------
Comment(by bugs at capelis.dj):
Replying to [comment:3 jmr@…]:
> Why not use pkg-config in the script? Then there's no need to jump
through hoops or hardcode values.
That sounds like exactly what should be done... as for why I didn't do it,
well, didn't really know about it. :)
{{{
#!/bin/bash
if [[ $1 == "--libs" ]]; then
echo `pkg-config --libs libtasn1`
fi
if [[ $1 == "--cflags" ]]; then
echo `pkg-config --cflags libtasn1`
fi
if [[ $1 == "--version" ]]; then
echo `pkg-config --version libtasn1`
fi
}}}
Better?
--
Ticket URL: <http://trac.macports.org/ticket/17253#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list