I just ran into an issue build the jpeg package on OS X where it needs to have shared libraries enabled, which in turn requires having a copy of ./libtool in the build directory to build the shared libraries.
One problem is that there is no configure.ac or configure.in in the dorectory so aclocal and libtoolize. It worked when I copied the %{l_prefix}/bin/libtool script into the directory, which probably comes under the term Crude Hacks(tm). I would like to make the jpeg package depend on the libtool package, but I don't really know how to define conditionals in the top part of a SPEC file that match patterns. It's easy enough in the scripted parts to use ``case "%{l_target t}"'''. I have seen some %defines that execute shell scripts, but these seem even more of a kludge -- not to mention I would have to dig through some ancient Caldera SRPMS to remember how they work. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 ``My reading of history convinces me that most bad government results from too much government.'' --Thomas Jefferson. ______________________________________________________________________ The OpenPKG Project www.openpkg.org Developer Communication List openpkg-dev@openpkg.org