On Sat, 10 May 2014 20:22:39 +0000 Montgomery-Smith, Stephen wrote:
> I am trying to get the libtool changes to work with the port
> graphics/opendx. I made the changes:
>
> Index: Makefile
> ===================================================================
> --- Makefile (revision 353598)
> +++ Makefile (working copy)
> @@ -16,10 +16,11 @@
> cdf:${PORTSDIR}/science/cdf
>
> USE_XORG= xinerama xext xpm xmu sm ice
> -USES= bison motif gmake
> +USES= bison motif gmake libtool
> USE_GCC= any
> USE_GL= yes
> -USE_AUTOTOOLS= libtool
> +GNU_CONFIGURE= yes
> +#USE_AUTOTOOLS= libtool
> USE_LDCONFIG= yes
> CFLAGS+= ${PTHREAD_CFLAGS}
> CONFIGURE_ENV= ARCH=freebsd
>
> Then when I do "make install" I got
> pkg-static:
> lstat(/usr/ports/graphics/opendx/work/stage/usr/local/dx/lib_freebsd/libDX.la):
> No such file or directory
> pkg-static:
> lstat(/usr/ports/graphics/opendx/work/stage/usr/local/dx/lib_freebsd/libDX.so):
> No such file or directory
> pkg-static:
> lstat(/usr/ports/graphics/opendx/work/stage/usr/local/dx/lib_freebsd/libDX.so.4):
> No such file or directory
> etc.
>
> When I do "find . -name "libDX.*"", I get
> ./work/dx-4.4.4/src/exec/.libs/libDX.lai
> ./work/dx-4.4.4/src/exec/.libs/libDX.a
> ./work/dx-4.4.4/src/exec/.libs/libDX.la
> ./work/dx-4.4.4/src/exec/libDX.la
> ./work/stage/usr/local/dx/lib_freebsd/libDX.a
> suggesting that the "*.so" files were never created.
>
> Did I miss something?
>
> The modifiers :keepla and :oldver don't seem to help.
If you go to the work directory and run "./configure --help" the output
contains this:
--enable-shared[=PKGS]
build shared libraries [default=no]
--enable-static[=PKGS]
build static libraries [default=yes]
This means shared libraries aren't built by default, but you can enable
them by adding "CONFIGURE_ARGS=--enable-shared" to the port Makefile.
You'll have to make some changes to pkg-plist but running "make check-plist'
will help you with that.
You can also delete files/patch-ltmain.sh. USES=libtool handles that now.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"