id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,port 14317,xercesc does not include libxerces-c.a,ryandesign,ryandesign,"The xercesc port (I checked 2.7.0_1 and 2.8.0_0) includes the shared library (libxerces-c.dylib) but not the static library (libxerces-c.a). Ports should strive to build both shared and static libraries if possible, and in particular, I need libxerces-c.a to build a portfile for enigma. The enigma build instructions include instructions on building libxerces-c.a. This is what they say to do: {{{ 6(a) Then I had to do the following important step, which create a static link library, as the MacOSX version of the xerces-c 2.7 build does not do that. Put the following in an executable file in the $XERCESCROOT/src/xercesc directory, cd to that directory and run it. #!/bin/sh make -n XML_LIB_DIR=$XERCESCROOT/lib/dummy | grep 'c++ .*\.dylib' | tr \ \\n | grep '\.o$' | ( cd ../../obj ; xargs ar rcs $XERCESCROOT/lib/libxerces-c.a ) Then sudo cp $XERCESCROOT/lib/libxerces-c.a /usr/local/lib/ sudo ranlib /usr/local/lib/libxerces-c.a }}} This may not be the best way to do it in a MacPorts portfile, so just take it as a reference. Maybe runConfigure's `-s` option would be helpful.",defect,closed,Normal,,ports,1.6.0,fixed,,chris.ridd@…,