#17253: libtasn1 no longer provides libtasn1-config, let's provide one until depending packages are fixed ------------------------------+--------------------------------------------- Reporter: bugs@capelis.dj | Owner: sfiera@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: Resolution: | Keywords: Port: libtasn1 | ------------------------------+--------------------------------------------- Comment(by bugs@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