Problems with libtool and graphics/opendx; was: To all port maintainers: libtool

Montgomery-Smith, Stephen stephen at missouri.edu
Sat May 10 20:23:51 UTC 2014


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.


More information about the freebsd-ports mailing list