The overly general sed(1) substitution applied in the patch-libtool target of bsd.port.mk breaks the build process of several packages. Two examples of such packages are iODBC (http://www.iodbc.org/) and ORBit-C++ (http://orbitcpp.sourceforge.net). These packages ship with an autoconf 2.13-generated configure script which contain the following line: ltmain="$ac_aux_dir/ltmain.sh" The value of ${ltmain} is later tested for file existence in order to determine whether to build the libtool script: if test -f "$ltmain"; then <<create libtool>> fi If these packages are wrapped in a port with USE_LIBTOOL defined, the patch-libtool target in bsd.port.mk munges the line where ${ltmain} is defined to become: ltmain="--disable-ltlibs /usr/local/share/libtool/ltmain.sh" This of course fails the "test -f", with the result that libtool is never created and the port build breaks. The attached patch restricts the scope of the sed(1) substitution to lines starting with "ltmain=".
State Changed From-To: open->closed The problem was resolved in rev.1.410 of bsd.port.mk. Thank you for submission!