Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2005 20:53:09 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        freebsd-ports <freebsd-ports@FreeBSD.org>
Subject:   Installing .la files for textproc/redland...
Message-ID:  <42DEF1F5.9040306@mac.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42DEF1F5.9040306>