Installing .la files for textproc/redland...
Chuck Swiger
cswiger at mac.com
Thu Jul 21 00:53:30 GMT 2005
Hi, all--
A port which depends on textproc/redland would like to use .la files.
How can I convince the port make stuff to not ignore .la files?
I looked through /usr/ports/Mk/bsd.autotools.mk, and found this:
# LIBTOOLFLAGS=<value>
# - Arguments passed to libtool during configure step
# Currently defaults to "--disable-ltlibs", but this will be going
# away when libtool .la files are brought back
...so I dutifully added:
LIBTOOLFLAGS= --enable-ltlibs
...to textproc/redland/Makefile. This causes the .la files to be built under
${WORKSRC}, but libtool still decides not to install them:
[ .... ]
creating rdfproc
gmake[2]: Entering directory `/usr/ports/textproc/redland/work/redland-1.0.2/utils'
test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin"
/bin/sh /usr/local/bin/libtool15 --mode=install install -c -s -o root -g
wheel -m 555 'redland-db-upgrade' '/usr/local/bin/redland-db-upgrade'
libtool15: install: warning: `../librdf/librdf.la' has not been installed in
`/usr/local/lib'
libtool15: install: warning:
`/usr/ports/textproc/redland/work/redland-1.0.2/rasqal/librasqal.la' has not
been installed in `/usr/local/lib'
install -c -o root -g wheel -m 555 -s .libs/redland-db-upgrade
/usr/local/bin/redland-db-upgrade
/bin/sh /usr/local/bin/libtool15 --mode=install install -c -s -o root -g
wheel -m 555 'rdfproc' '/usr/local/bin/rdfproc'
libtool15: install: warning: `../librdf/librdf.la' has not been installed in
`/usr/local/lib'
libtool15: install: warning:
`/usr/ports/textproc/redland/work/redland-1.0.2/rasqal/librasqal.la' has not
been installed in `/usr/local/lib'
install -c -o root -g wheel -m 555 -s .libs/rdfproc /usr/local/bin/rdfproc
test -z "/usr/local/man/man1" || mkdir -p -- "/usr/local/man/man1"
--
-Chuck
More information about the freebsd-ports
mailing list