aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11/tkXwin/Makefile2
-rw-r--r--x11/tkXwin/files/patch-config-ltconfig11
2 files changed, 12 insertions, 1 deletions
diff --git a/x11/tkXwin/Makefile b/x11/tkXwin/Makefile
index 3dfd8bb25c03..c5dc871e53cc 100644
--- a/x11/tkXwin/Makefile
+++ b/x11/tkXwin/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= tcl${SHORT_TK_VER}:${PORTSDIR}/lang/tcl${SHORT_TK_VER} \
GNU_CONFIGURE= yes
USE_X_PREFIX= yes
-INSTALLS_SHLIB= yes
+USE_LDCONFIG= yes
CONFIGURE_ARGS= --with-tcl=${LOCALBASE}/lib/tcl${TK_VER} \
--with-tclinclude=${LOCALBASE}/include/tcl${TK_VER} \
diff --git a/x11/tkXwin/files/patch-config-ltconfig b/x11/tkXwin/files/patch-config-ltconfig
new file mode 100644
index 000000000000..707833a6379e
--- /dev/null
+++ b/x11/tkXwin/files/patch-config-ltconfig
@@ -0,0 +1,11 @@
+--- config/ltconfig.orig Mon Feb 25 08:42:15 2002
++++ config/ltconfig Sat Feb 10 15:38:23 2007
+@@ -1115,7 +1115,7 @@
+ ;;
+
+ freebsd*)
+- objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo elf`
+ version_type=freebsd-$objformat
+ case $version_type in
+ freebsd-elf*)