summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-09-17 07:38:15 +0000
committertijl <tijl@FreeBSD.org>2014-09-17 07:38:15 +0000
commitc06f97c7c46a03f3f6bb887aee3534bece5267a1 (patch)
tree320f49e86d38a480aace5bd0e27c34d6c8f75c2c
parent682bd0d0ee3984087ff6a9f3bf4b0552db04d013 (diff)
downloadFreeBSD-ports-c06f97c7c46a03f3f6bb887aee3534bece5267a1.zip
FreeBSD-ports-c06f97c7c46a03f3f6bb887aee3534bece5267a1.tar.gz
Replace USE_AUTOTOOLS=libltdl with an ordinary LIB_DEPENDS in all ports.
There are only 60 such ports so there doesn't need to be a separate keyword or USES for this. Approved by: portmgr (bapt)
-rw-r--r--accessibility/speech-dispatcher/Makefile2
-rw-r--r--audio/dvda-author/Makefile10
-rw-r--r--audio/glame/Makefile2
-rw-r--r--audio/libcanberra/Makefile4
-rw-r--r--audio/libmp3splt/Makefile3
-rw-r--r--audio/mp3splt-gtk/Makefile4
-rw-r--r--audio/mp3splt/Makefile6
-rw-r--r--audio/mpg123/Makefile3
-rw-r--r--audio/pulseaudio/Makefile2
-rw-r--r--audio/sox/Makefile4
-rw-r--r--comms/hamlib/Makefile3
-rw-r--r--devel/lasi/Makefile3
-rw-r--r--emulators/tme/Makefile4
-rw-r--r--games/freeciv/Makefile4
-rw-r--r--graphics/ImageMagick/Makefile3
-rw-r--r--graphics/bugle/Makefile3
-rw-r--r--graphics/gnash/Makefile2
-rw-r--r--graphics/graphviz/Makefile4
-rw-r--r--graphics/libgphoto2/Makefile3
-rw-r--r--java/sablevm/Makefile4
-rw-r--r--lang/gforth/Makefile4
-rw-r--r--lang/guile/Makefile5
-rw-r--r--lang/guile2/Makefile2
-rw-r--r--lang/php5/Makefile.ext5
-rw-r--r--lang/php53/Makefile.ext5
-rw-r--r--lang/php55/Makefile.ext5
-rw-r--r--lang/php56/Makefile.ext5
-rw-r--r--lang/pure/Makefile4
-rw-r--r--math/plplot/Makefile2
-rw-r--r--multimedia/camserv/Makefile5
-rw-r--r--multimedia/xbmc/Makefile3
-rw-r--r--net-im/ayttm/Makefile2
-rw-r--r--net-mgmt/collectd/Makefile4
-rw-r--r--net-mgmt/collectd5/Makefile4
-rw-r--r--net-mgmt/icinga/Makefile5
-rw-r--r--net-mgmt/nagios/Makefile5
-rw-r--r--net-mgmt/nagios4/Makefile5
-rw-r--r--net-mgmt/yaf/Makefile2
-rw-r--r--net-p2p/gnunet-gtk/Makefile2
-rw-r--r--net-p2p/gnunet/Makefile2
-rw-r--r--net/asterisk/Makefile4
-rw-r--r--net/asterisk11/Makefile4
-rw-r--r--net/freeradius2/Makefile5
-rw-r--r--net/gnu-dico/Makefile3
-rw-r--r--net/gnu-radius/Makefile3
-rw-r--r--net/libnetdude/Makefile4
-rw-r--r--net/netdude/Makefile4
-rw-r--r--net/openldap24-server/Makefile2
-rw-r--r--security/clamav/Makefile4
-rw-r--r--security/courier-authlib/Makefile3
-rw-r--r--security/libp11/Makefile3
-rw-r--r--security/libprelude/Makefile4
-rw-r--r--security/libpreludedb/Makefile4
-rw-r--r--security/openct/Makefile3
-rw-r--r--security/xca/Makefile3
-rw-r--r--security/xmlsec1/Makefile3
-rw-r--r--sysutils/heartbeat/Makefile5
-rw-r--r--textproc/libextractor/Makefile3
-rw-r--r--textproc/redland/Makefile4
-rw-r--r--textproc/scim-openvanilla/Makefile4
60 files changed, 124 insertions, 97 deletions
diff --git a/accessibility/speech-dispatcher/Makefile b/accessibility/speech-dispatcher/Makefile
index 55f7e8e..2449529 100644
--- a/accessibility/speech-dispatcher/Makefile
+++ b/accessibility/speech-dispatcher/Makefile
@@ -13,10 +13,10 @@ LICENSE= GPLv2 LGPL21
LICENSE_COMB= multi
LIB_DEPENDS= libdotconf.so:${PORTSDIR}/devel/dotconf \
+ libltdl.so:${PORTSDIR}/devel/libltdl \
libsndfile.so:${PORTSDIR}/audio/libsndfile
# gnomehier is required because of share/sounds directory.
-USE_AUTOTOOLS= libltdl
USE_GNOME= glib20 gnomehier intltool
USES= gettext gmake pathfix pkgconfig libtool
GNU_CONFIGURE= yes
diff --git a/audio/dvda-author/Makefile b/audio/dvda-author/Makefile
index 6e0cee3..423f5fe 100644
--- a/audio/dvda-author/Makefile
+++ b/audio/dvda-author/Makefile
@@ -13,16 +13,16 @@ MAINTAINER= martin.dieringer@gmx.de
COMMENT= Author and playback unencrypted and uncompressed Audio-DVDs
LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac \
- libogg.so:${PORTSDIR}/audio/libogg \
- libsox.so:${PORTSDIR}/audio/sox \
- libsamplerate.so:${PORTSDIR}/audio/libsamplerate \
- libpng15.so:${PORTSDIR}/graphics/png
+ libogg.so:${PORTSDIR}/audio/libogg \
+ libsox.so:${PORTSDIR}/audio/sox \
+ libsamplerate.so:${PORTSDIR}/audio/libsamplerate \
+ libltdl.so:${PORTSDIR}/devel/libltdl \
+ libpng15.so:${PORTSDIR}/graphics/png
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
LDFLAGS+= -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/FLAC
-USE_AUTOTOOLS= libltdl
USES= tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-flac=${LOCALBASE}/lib/libFLAC.so \
diff --git a/audio/glame/Makefile b/audio/glame/Makefile
index e1602f4..1fc560e 100644
--- a/audio/glame/Makefile
+++ b/audio/glame/Makefile
@@ -14,9 +14,9 @@ BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
LIB_DEPENDS= libmp3lame.so:${PORTSDIR}/audio/lame \
libmad.so:${PORTSDIR}/audio/libmad \
libvorbis.so:${PORTSDIR}/audio/libvorbis \
+ libltdl.so:${PORTSDIR}/devel/libltdl \
libguile.so:${PORTSDIR}/lang/guile
-USE_AUTOTOOLS= libltdl
GNU_CONFIGURE= yes
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
USES= gettext gmake pathfix pkgconfig libtool makeinfo
diff --git a/audio/libcanberra/Makefile b/audio/libcanberra/Makefile
index 6fd649c..19cba31 100644
--- a/audio/libcanberra/Makefile
+++ b/audio/libcanberra/Makefile
@@ -14,13 +14,13 @@ COMMENT= Implementation of the Freedesktop sound theme spec
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LGPL
-LIB_DEPENDS= libvorbisfile.so:${PORTSDIR}/audio/libvorbis
+LIB_DEPENDS= libvorbisfile.so:${PORTSDIR}/audio/libvorbis \
+ libltdl.so:${PORTSDIR}/devel/libltdl
USES= gmake libtool pathfix pkgconfig
USE_GNOME= gnomeprefix gtk20 gconf2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-USE_AUTOTOOLS= libltdl
CONFIGURE_ARGS= --disable-lynx --disable-tdb --disable-alsa
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/audio/libmp3splt/Makefile b/audio/libmp3splt/Makefile
index 986fa80..49df9cc 100644
--- a/audio/libmp3splt/Makefile
+++ b/audio/libmp3splt/Makefile
@@ -12,11 +12,12 @@ COMMENT= Library for splitting of various audio files
LICENSE= GPLv2
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-cutter --disable-doxygen_doc
USES= libtool pathfix pkgconfig
USE_LDCONFIG= yes
-USE_AUTOTOOLS= libltdl
OPTIONS_MULTI= plugin
OPTIONS_MULTI_plugin= MAD VORBIS
diff --git a/audio/mp3splt-gtk/Makefile b/audio/mp3splt-gtk/Makefile
index 8fa79fa..143509a 100644
--- a/audio/mp3splt-gtk/Makefile
+++ b/audio/mp3splt-gtk/Makefile
@@ -16,10 +16,10 @@ LIB_DEPENDS= libmp3splt.so:${PORTSDIR}/audio/libmp3splt \
libmad.so:${PORTSDIR}/audio/libmad \
libogg.so:${PORTSDIR}/audio/libogg \
libvorbis.so:${PORTSDIR}/audio/libvorbis \
- libid3tag.so:${PORTSDIR}/audio/libid3tag
+ libid3tag.so:${PORTSDIR}/audio/libid3tag \
+ libltdl.so:${PORTSDIR}/devel/libltdl
INSTALLS_OMF= yes
-USE_AUTOTOOLS= libltdl
USE_GSTREAMER= yes
USE_GNOME= gnomedocutils gtk20
GNU_CONFIGURE= yes
diff --git a/audio/mp3splt/Makefile b/audio/mp3splt/Makefile
index 55e5d42..3ece642 100644
--- a/audio/mp3splt/Makefile
+++ b/audio/mp3splt/Makefile
@@ -11,10 +11,10 @@ COMMENT= Utility to split MP3 and Ogg files (via CUE sheets)
LICENSE= GPLv2
-LIB_DEPENDS= libmp3splt.so:${PORTSDIR}/audio/libmp3splt
+LIB_DEPENDS= libmp3splt.so:${PORTSDIR}/audio/libmp3splt \
+ libltdl.so:${PORTSDIR}/devel/libltdl
-USES= pkgconfig:build
-USE_AUTOTOOLS= libltdl
+USES= pkgconfig:build
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-oggsplt_symlink
CONFIGURE_ENV+= PKG_CONFIG_PATH=${LOCALBASE}/lib/pkgconfig
diff --git a/audio/mpg123/Makefile b/audio/mpg123/Makefile
index 002598b..cde136be 100644
--- a/audio/mpg123/Makefile
+++ b/audio/mpg123/Makefile
@@ -12,8 +12,9 @@ COMMENT= Command-line player for MPEG Layer 1, 2, and 3 audio files
LICENSE= LGPL21
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl
+
USES= tar:bzip2 gmake libtool:keepla pathfix
-USE_AUTOTOOLS= libltdl
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
diff --git a/audio/pulseaudio/Makefile b/audio/pulseaudio/Makefile
index 1aa0873..f467ebb 100644
--- a/audio/pulseaudio/Makefile
+++ b/audio/pulseaudio/Makefile
@@ -20,6 +20,7 @@ LIB_DEPENDS= libsamplerate.so:${PORTSDIR}/audio/libsamplerate \
libsndfile.so:${PORTSDIR}/audio/libsndfile \
libspeexdsp.so:${PORTSDIR}/audio/speex \
libdbus-1.so:${PORTSDIR}/devel/dbus \
+ libltdl.so:${PORTSDIR}/devel/libltdl \
libgdbm.so:${PORTSDIR}/databases/gdbm \
libck-connector.so:${PORTSDIR}/sysutils/consolekit
@@ -28,7 +29,6 @@ USE_XORG= x11 sm xtst ice
USE_LDCONFIG= yes
USES= execinfo gettext gmake libtool pathfix pkgconfig
GNU_CONFIGURE= yes
-USE_AUTOTOOLS= libltdl
MAKE_JOBS_UNSAFE=yes
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
diff --git a/audio/sox/Makefile b/audio/sox/Makefile
index 81ca6601d..b47b581 100644
--- a/audio/sox/Makefile
+++ b/audio/sox/Makefile
@@ -13,12 +13,14 @@ COMMENT= SOund eXchange - universal sound sample translator
LICENSE= LGPL21 GPLv2
LICENSE_COMB= dual
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl
+
CONFLICTS= play-[0-9]*
GNU_CONFIGURE= yes
USES= pkgconfig libtool
USE_LDCONFIG= yes
-USE_AUTOTOOLS= aclocal autoconf automake libltdl
+USE_AUTOTOOLS= aclocal autoconf automake
OPTIONS_DEFINE= ALSA AO AMRNB AMRWB FFMPEG FLAC GSM ID3TAG LADSPA LAME \
MAD PNG PULSEAUDIO SNDFILE VORBIS WAVPACK
diff --git a/comms/hamlib/Makefile b/comms/hamlib/Makefile
index 115f359..1c96f2a 100644
--- a/comms/hamlib/Makefile
+++ b/comms/hamlib/Makefile
@@ -13,11 +13,12 @@ COMMENT= Shared libraries for Amateur Radio Equipment Control Applications
LICENSE= LGPL20
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl
USES= perl5 libtool:keepla pkgconfig pathfix tcl
USE_GNOME= libxml2
USE_PYTHON= yes
-USE_AUTOTOOLS= autoconf libltdl
+USE_AUTOTOOLS= autoconf
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
diff --git a/devel/lasi/Makefile b/devel/lasi/Makefile
index 4deed54..9e8eef6 100644
--- a/devel/lasi/Makefile
+++ b/devel/lasi/Makefile
@@ -12,11 +12,12 @@ DISTNAME= libLASi-${PORTVERSION}
MAINTAINER= lme@FreeBSD.org
COMMENT= C++ stream output interface for creating Postscript documents
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl
+
OPTIONS_DEFINE= DOCS EXAMPLES
USES= cmake pkgconfig
USE_GNOME= pango
-USE_AUTOTOOLS= libltdl
PKG_CONFIG_PATH= ${PREFIX}/libdata/pkgconfig
CONFIGURE_ENV+= PKG_CONFIG_PATH=${PKG_CONFIG_PATH}
diff --git a/emulators/tme/Makefile b/emulators/tme/Makefile
index bd0634d..8cb07ed 100644
--- a/emulators/tme/Makefile
+++ b/emulators/tme/Makefile
@@ -13,8 +13,10 @@ COMMENT= Emulator for Sun 2/120, 3/150, and SPARCstation 2 machines
LICENSE= BSD4CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl
+
USES= compiler gettext gmake iconv libtool perl5 pkgconfig
-USE_AUTOTOOLS= libltdl libtoolize aclocal autoconf autoheader automake
+USE_AUTOTOOLS= libtoolize aclocal autoconf autoheader automake
AUTOMAKE_ARGS= -a -c -f
USE_GNOME= gdkpixbuf2 gtk20
USE_LDCONFIG= yes
diff --git a/games/freeciv/Makefile b/games/freeciv/Makefile
index 371d785..4417fae 100644
--- a/games/freeciv/Makefile
+++ b/games/freeciv/Makefile
@@ -11,11 +11,11 @@ MAINTAINER= johans@FreeBSD.org
COMMENT= Free turn-based multiplayer strategy
RUN_DEPENDS= hicolor-icon-theme>=0:${PORTSDIR}/misc/hicolor-icon-theme
-LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl \
+ libcurl.so:${PORTSDIR}/ftp/curl
USES= gettext gmake iconv libtool pkgconfig tar:bzip2 python
USE_SQLITE= yes
-USE_AUTOTOOLS= libltdl
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile
index 45974f0..bc80a28 100644
--- a/graphics/ImageMagick/Makefile
+++ b/graphics/ImageMagick/Makefile
@@ -34,10 +34,11 @@ COMMENT= Image processing tools
#LICENSE= APACHE20
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl
+
# This port uses .la files, keep libtool:keepla! (magick/module.c)
USES= gmake libtool:keepla pathfix perl5 pkgconfig shebangfix tar:xz
SHEBANG_FILES= www/source/examples.pl
-USE_AUTOTOOLS= libltdl
GNU_CONFIGURE= yes
CONFIGURE_ENV= MAKE=${MAKE_CMD}
CONFIGURE_ARGS= --without-dps \
diff --git a/graphics/bugle/Makefile b/graphics/bugle/Makefile
index 6846ef6..fa9ec2e 100644
--- a/graphics/bugle/Makefile
+++ b/graphics/bugle/Makefile
@@ -12,10 +12,11 @@ COMMENT= Debugging library for OpenGL
LICENSE= GPLv2
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl
+
USES= libtool pathfix perl5
USE_GL= gl
USE_GCC= yes
-USE_AUTOTOOLS= libltdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-ltdl-install=no
INSTALL_TARGET= install-strip
diff --git a/graphics/gnash/Makefile b/graphics/gnash/Makefile
index a53a42b..f0d8924 100644
--- a/graphics/gnash/Makefile
+++ b/graphics/gnash/Makefile
@@ -11,6 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= GNU Flash movie player
LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs \
+ libltdl.so:${PORTSDIR}/devel/libltdl \
libjpeg.so:${PORTSDIR}/graphics/jpeg \
libcurl.so:${PORTSDIR}/ftp/curl \
libgif.so:${PORTSDIR}/graphics/giflib \
@@ -20,7 +21,6 @@ LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs \
CONFLICTS= gnash-devel-[0-9]*
USES= tar:bzip2 pkgconfig gmake libtool
-USE_AUTOTOOLS= libltdl
GNU_CONFIGURE= yes
WANT_SDL= yes
USE_GCC= any
diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile
index fbcdb15..a790cba 100644
--- a/graphics/graphviz/Makefile
+++ b/graphics/graphviz/Makefile
@@ -10,7 +10,8 @@ MASTER_SITES= http://www.graphviz.org/pub/graphviz/ARCHIVE/
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Graph Visualization Software from AT&T and Bell Labs
-LIB_DEPENDS+= libjpeg.so:${PORTSDIR}/graphics/jpeg \
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl \
+ libjpeg.so:${PORTSDIR}/graphics/jpeg \
libpng15.so:${PORTSDIR}/graphics/png \
libfreetype.so:${PORTSDIR}/print/freetype2 \
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
@@ -18,7 +19,6 @@ LIB_DEPENDS+= libjpeg.so:${PORTSDIR}/graphics/jpeg \
libgd.so:${PORTSDIR}/${GD_PORT}
USES= gmake bison libtool:oldver pkgconfig pathfix shebangfix
-USE_AUTOTOOLS= libltdl
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/graphics/libgphoto2/Makefile b/graphics/libgphoto2/Makefile
index 7d59b94..faf0814 100644
--- a/graphics/libgphoto2/Makefile
+++ b/graphics/libgphoto2/Makefile
@@ -11,9 +11,10 @@ COMMENT= Universal digital camera control library
LICENSE= LGPL21
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl
+
USES= gmake iconv libtool pkgconfig tar:bzip2
USE_CSTD= gnu89
-USE_AUTOTOOLS= libltdl
GNU_CONFIGURE= yes
CONFIGURE_ENV= LTDLINCL="-I${LOCALBASE}/include" \
LIBLTDL="-L${LOCALBASE}/lib -lltdl" \
diff --git a/java/sablevm/Makefile b/java/sablevm/Makefile
index 8ffb0df..10ea4f6 100644
--- a/java/sablevm/Makefile
+++ b/java/sablevm/Makefile
@@ -12,13 +12,13 @@ COMMENT= Java VM created by McGill University's Sable Research Group
LICENSE= LGPL21
LIB_DEPENDS= libpopt.so:${PORTSDIR}/devel/popt \
- libffi.so:${PORTSDIR}/devel/libffi
+ libffi.so:${PORTSDIR}/devel/libffi \
+ libltdl.so:${PORTSDIR}/devel/libltdl
RUN_DEPENDS= fastjar:${PORTSDIR}/archivers/fastjar
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= gettext gmake iconv libtool pkgconfig
-USE_AUTOTOOLS= libltdl
USE_LDCONFIG= yes
CONFIGURE_ARGS= --includedir=${PREFIX}/include/${PORTNAME}
diff --git a/lang/gforth/Makefile b/lang/gforth/Makefile
index bcbdc16..026c549 100644
--- a/lang/gforth/Makefile
+++ b/lang/gforth/Makefile
@@ -11,7 +11,8 @@ MASTER_SITES= http://www.complang.tuwien.ac.at/forth/gforth/ \
MAINTAINER= johans@FreeBSD.org
COMMENT= Fast and portable Forth system
-LIB_DEPENDS= libffi.so.6:${PORTSDIR}/devel/libffi
+LIB_DEPENDS= libffi.so.6:${PORTSDIR}/devel/libffi \
+ libltdl.so:${PORTSDIR}/devel/libltdl
BUILD_DEPENDS= ${LOCALBASE}/include/avcall.h:${PORTSDIR}/devel/ffcall
GNU_CONFIGURE= yes
@@ -20,7 +21,6 @@ LIBS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= GFORTHHIST=${WRKSRC}
MAKE_ENV+= GFORTHHIST=${WRKSRC}
USES= gmake libtool:build makeinfo
-USE_AUTOTOOLS= libltdl
USE_GCC= any
USE_LDCONFIG= ${PREFIX}/lib/gforth/${PORTVERSION}/libcc-named
ALL_TARGET= kernel/version.fs more info
diff --git a/lang/guile/Makefile b/lang/guile/Makefile
index 6f38504..ca211b7 100644
--- a/lang/guile/Makefile
+++ b/lang/guile/Makefile
@@ -14,12 +14,13 @@ COMMENT= GNU Ubiquitous Intelligent Language for Extension
LICENSE= LGPL21
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl \
+ libgmp.so:${PORTSDIR}/math/gmp
CONFLICTS_INSTALL= guile2-[0-9]*
USES= gmake libtool makeinfo ncurses pathfix
-USE_AUTOTOOLS= autoheader libltdl
+USE_AUTOTOOLS= autoheader
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CFLAGS+= -fwrapv
diff --git a/lang/guile2/Makefile b/lang/guile2/Makefile
index 872cea3..9b9ad66 100644
--- a/lang/guile2/Makefile
+++ b/lang/guile2/Makefile
@@ -16,13 +16,13 @@ COMMENT= GNU Ubiquitous Intelligent Language for Extension
LICENSE= LGPL21
LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \
+ libltdl.so:${PORTSDIR}/devel/libltdl \
libunistring.so:${PORTSDIR}/devel/libunistring \
libffi.so.6:${PORTSDIR}/devel/libffi
CONFLICTS_INSTALL= guile-[0-9]*
USES= charsetfix gmake libtool ncurses pathfix pkgconfig readline
-USE_AUTOTOOLS= libltdl
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/lang/php5/Makefile.ext b/lang/php5/Makefile.ext
index e03a540..2bd34ba 100644
--- a/lang/php5/Makefile.ext
+++ b/lang/php5/Makefile.ext
@@ -178,11 +178,10 @@ PHP_HEADER_DIRS=libmbfl libmbfl/filters libmbfl/mbfl libmbfl/nls
.endif
.if ${PHP_MODNAME} == "mcrypt"
-LIB_DEPENDS+= libmcrypt.so:${PORTSDIR}/security/libmcrypt
+LIB_DEPENDS+= libltdl.so:${PORTSDIR}/devel/libltdl \
+ libmcrypt.so:${PORTSDIR}/security/libmcrypt
CONFIGURE_ARGS+=--with-mcrypt=${LOCALBASE}
-
-USE_AUTOTOOLS= libltdl
.endif
.if ${PHP_MODNAME} == "mssql"
diff --git a/lang/php53/Makefile.ext b/lang/php53/Makefile.ext
index 15f8431..cf9a18e 100644
--- a/lang/php53/Makefile.ext
+++ b/lang/php53/Makefile.ext
@@ -174,11 +174,10 @@ PHP_HEADER_DIRS=libmbfl libmbfl/filters libmbfl/mbfl libmbfl/nls
.endif
.if ${PHP_MODNAME} == "mcrypt"
-LIB_DEPENDS+= libmcrypt.so.8:${PORTSDIR}/security/libmcrypt
+LIB_DEPENDS+= libltdl.so:${PORTSDIR}/devel/libltdl \
+ libmcrypt.so.8:${PORTSDIR}/security/libmcrypt
CONFIGURE_ARGS+=--with-mcrypt=${LOCALBASE}
-
-USE_AUTOTOOLS= libltdl
.endif
.if ${PHP_MODNAME} == "mssql"
diff --git a/lang/php55/Makefile.ext b/lang/php55/Makefile.ext
index d9d5344..8d40771 100644
--- a/lang/php55/Makefile.ext
+++ b/lang/php55/Makefile.ext
@@ -178,11 +178,10 @@ PHP_HEADER_DIRS=libmbfl libmbfl/filters libmbfl/mbfl libmbfl/nls
.endif
.if ${PHP_MODNAME} == "mcrypt"
-LIB_DEPENDS+= libmcrypt.so:${PORTSDIR}/security/libmcrypt
+LIB_DEPENDS+= libltdl.so:${PORTSDIR}/devel/libltdl \
+ libmcrypt.so:${PORTSDIR}/security/libmcrypt
CONFIGURE_ARGS+=--with-mcrypt=${LOCALBASE}
-
-USE_AUTOTOOLS= libltdl
.endif
.if ${PHP_MODNAME} == "mssql"
diff --git a/lang/php56/Makefile.ext b/lang/php56/Makefile.ext
index 24b03b8..a6e6175 100644
--- a/lang/php56/Makefile.ext
+++ b/lang/php56/Makefile.ext
@@ -178,11 +178,10 @@ PHP_HEADER_DIRS=libmbfl libmbfl/filters libmbfl/mbfl libmbfl/nls
.endif
.if ${PHP_MODNAME} == "mcrypt"
-LIB_DEPENDS+= libmcrypt.so:${PORTSDIR}/security/libmcrypt
+LIB_DEPENDS+= libltdl.so:${PORTSDIR}/devel/libltdl \
+ libmcrypt.so:${PORTSDIR}/security/libmcrypt
CONFIGURE_ARGS+=--with-mcrypt=${LOCALBASE}
-
-USE_AUTOTOOLS= libltdl
.endif
.if ${PHP_MODNAME} == "mssql"
diff --git a/lang/pure/Makefile b/lang/pure/Makefile
index 72dfb24..25fcb80c 100644
--- a/lang/pure/Makefile
+++ b/lang/pure/Makefile
@@ -17,7 +17,8 @@ LICENSE_COMB= dual
LLVM_VERSION= 32
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl \
+ libgmp.so:${PORTSDIR}/math/gmp \
libmpfr.so:${PORTSDIR}/math/mpfr
BUILD_DEPENDS= llvm-config${LLVM_VERSION}:${PORTSDIR}/devel/llvm${LLVM_VERSION}
RUN_DEPENDS:= ${BUILD_DEPENDS}
@@ -25,7 +26,6 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
SUB_FILES= pkg-message
USES= gmake iconv pathfix pkgconfig
-USE_AUTOTOOLS= libltdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libgmp-prefix=${LOCALBASE} --enable-release \
--with-tool-prefix=${LOCALBASE}/llvm${LLVM_VERSION}/bin
diff --git a/math/plplot/Makefile b/math/plplot/Makefile
index aaeb3dd..58e7fcd 100644
--- a/math/plplot/Makefile
+++ b/math/plplot/Makefile
@@ -15,6 +15,7 @@ LICENSE= LGPL21 # (or later)
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \
${FREEFONT_DIR}/FreeMono.ttf:${PORTSDIR}/x11-fonts/freefont-ttf
LIB_DEPENDS= libLASi.so:${PORTSDIR}/devel/lasi \
+ libltdl.so:${PORTSDIR}/devel/libltdl \
libqhull.so:${PORTSDIR}/math/qhull5 \
libfreetype.so:${PORTSDIR}/print/freetype2
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
@@ -34,7 +35,6 @@ CMAKE_ARGS= -DENABLE_java:BOOL=OFF -DENABLE_octave:BOOL=OFF \
-DPL_FREETYPE_FONT_PATH:PATH="${FREEFONT_DIR}" \
-DPLD_plmeta:BOOL=OFF
CFLAGS+= -D_IS_BUILDING_PLPLOT_PORT_
-USE_AUTOTOOLS= libltdl
USE_LDCONFIG= yes
FREEFONT_DIR= ${LOCALBASE}/lib/X11/fonts/freefont-ttf
diff --git a/multimedia/camserv/Makefile b/multimedia/camserv/Makefile
index 9a3e809..1946bd8 100644
--- a/multimedia/camserv/Makefile
+++ b/multimedia/camserv/Makefile
@@ -13,10 +13,11 @@ COMMENT= Free program to do streaming video via the web
LICENSE= GPLv2 # (or later)
-LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl \
+ libjpeg.so:${PORTSDIR}/graphics/jpeg
USES= libtool
-USE_AUTOTOOLS= autoconf libltdl
+USE_AUTOTOOLS= autoconf
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
diff --git a/multimedia/xbmc/Makefile b/multimedia/xbmc/Makefile
index ad4d34f..2a7e34a 100644
--- a/multimedia/xbmc/Makefile
+++ b/multimedia/xbmc/Makefile
@@ -34,6 +34,7 @@ LIB_DEPENDS= libass.so:${PORTSDIR}/multimedia/libass \
liblzo2.so:${PORTSDIR}/archivers/lzo2 \
libjasper.so:${PORTSDIR}/graphics/jasper \
libjpeg.so:${PORTSDIR}/graphics/jpeg \
+ libltdl.so:${PORTSDIR}/devel/libltdl \
libmad.so:${PORTSDIR}/audio/libmad \
libmodplug.so:${PORTSDIR}/audio/libmodplug \
libmpeg2.so:${PORTSDIR}/multimedia/libmpeg2 \
@@ -52,7 +53,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \
xdpyinfo:${PORTSDIR}/x11/xdpyinfo
USES= gmake iconv:wchar_t libtool:build pkgconfig python:2
-USE_AUTOTOOLS= autoconf:env automake:env libltdl
+USE_AUTOTOOLS= autoconf:env automake:env
GNU_CONFIGURE= yes
USE_XORG= xt xmu xtst
USE_GL= glu
diff --git a/net-im/ayttm/Makefile b/net-im/ayttm/Makefile
index 67d5e2f..8fd3b79 100644
--- a/net-im/ayttm/Makefile
+++ b/net-im/ayttm/Makefile
@@ -14,6 +14,7 @@ LICENSE= GPLv2 # (or later)
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libaudiofile.so:${PORTSDIR}/audio/libaudiofile \
+ libltdl.so:${PORTSDIR}/devel/libltdl \
libjasper.so:${PORTSDIR}/graphics/jasper \
libgpgme.so:${PORTSDIR}/security/gpgme \
libenchant.so:${PORTSDIR}/textproc/enchant
@@ -26,7 +27,6 @@ USES= gettext gmake iconv libtool pkgconfig shebangfix tar:bzip2
USE_XORG= xpm xscrnsaver
USE_GNOME= gtk20
USE_OPENSSL= yes
-USE_AUTOTOOLS= libltdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-oscar --disable-workwizu --enable-smtp --enable-lj \
--disable-arts
diff --git a/net-mgmt/collectd/Makefile b/net-mgmt/collectd/Makefile
index ac9f5c3..49281aa 100644
--- a/net-mgmt/collectd/Makefile
+++ b/net-mgmt/collectd/Makefile
@@ -12,9 +12,11 @@ COMMENT= Systems & network statistics collection daemon
LICENSE= GPLv2
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl
+
USES= gmake libtool
GNU_CONFIGURE= yes
-USE_AUTOTOOLS= autoconf autoheader automake libltdl
+USE_AUTOTOOLS= autoconf autoheader automake
WANT_GNOME= yes
OPTIONS_DEFINE= CGI BIND DEBUG GCRYPT LIBVIRT
diff --git a/net-mgmt/collectd5/Makefile b/net-mgmt/collectd5/Makefile
index 625f44d..b22f2c9 100644
--- a/net-mgmt/collectd5/Makefile
+++ b/net-mgmt/collectd5/Makefile
@@ -14,9 +14,11 @@ COMMENT= Systems & network statistics collection daemon
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl
+
USES= gmake pkgconfig tar:bzip2 libtool
GNU_CONFIGURE= yes
-USE_AUTOTOOLS= aclocal autoconf autoheader automake libltdl libtoolize
+USE_AUTOTOOLS= aclocal autoconf autoheader automake libtoolize
# Only autoconf stage and sigrok plugin need GLIB:
BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/glib-2.0.pc:${PORTSDIR}/devel/glib20
diff --git a/net-mgmt/icinga/Makefile b/net-mgmt/icinga/Makefile
index e01e029..e05b8d4 100644
--- a/net-mgmt/icinga/Makefile
+++ b/net-mgmt/icinga/Makefile
@@ -12,10 +12,11 @@ COMMENT= Enterprise grade open source monitoring system based on Nagios
LICENSE= GPLv2
-LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl \
+ libgd.so:${PORTSDIR}/graphics/gd
USES= iconv gmake
-USE_AUTOTOOLS= autoconf libltdl
+USE_AUTOTOOLS= autoconf
USE_RC_SUBR= icinga
GNU_CONFIGURE= yes
diff --git a/net-mgmt/nagios/Makefile b/net-mgmt/nagios/Makefile
index 5b3e433..f790e02 100644
--- a/net-mgmt/nagios/Makefile
+++ b/net-mgmt/nagios/Makefile
@@ -12,13 +12,14 @@ COMMENT= Powerful network monitoring system
LICENSE= GPLv2
-LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl \
+ libgd.so:${PORTSDIR}/graphics/gd
PORTSCOUT= limit:^3.
USES= iconv perl5 uidfix
USE_PERL5= build
-USE_AUTOTOOLS= autoconf libltdl
+USE_AUTOTOOLS= autoconf
USE_PHP= yes
USE_RC_SUBR= nagios
diff --git a/net-mgmt/nagios4/Makefile b/net-mgmt/nagios4/Makefile
index 2499124..ad490ca 100644
--- a/net-mgmt/nagios4/Makefile
+++ b/net-mgmt/nagios4/Makefile
@@ -13,11 +13,12 @@ COMMENT= Powerful network monitoring system
LICENSE= GPLv2
-LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl \
+ libgd.so:${PORTSDIR}/graphics/gd
USES= gmake iconv perl5 uidfix
USE_PERL5= build
-USE_AUTOTOOLS= autoconf libltdl
+USE_AUTOTOOLS= autoconf
USE_PHP= xml
USE_RC_SUBR= nagios
diff --git a/net-mgmt/yaf/Makefile b/net-mgmt/yaf/Makefile
index fbd5693..5cc4742 100644
--- a/net-mgmt/yaf/Makefile
+++ b/net-mgmt/yaf/Makefile
@@ -13,12 +13,12 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfixbuf.so:${PORTSDIR}/net/libfixbuf \
+ libltdl.so:${PORTSDIR}/devel/libltdl \
libpcre.so:${PORTSDIR}/devel/pcre
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= libtool pathfix perl5 pkgconfig
-USE_AUTOTOOLS= libltdl
USE_GNOME= glib20
USE_LDCONFIG= yes
CONFIGURE_ARGS= --disable-doxygen-doc --enable-applabel --enable-plugins
diff --git a/net-p2p/gnunet-gtk/Makefile b/net-p2p/gnunet-gtk/Makefile
index 512278a..173ee4d 100644
--- a/net-p2p/gnunet-gtk/Makefile
+++ b/net-p2p/gnunet-gtk/Makefile
@@ -12,13 +12,13 @@ COMMENT= GTK interface to GNUnet
LICENSE= GPLv3
LIB_DEPENDS= libgladeui-1.so:${PORTSDIR}/devel/glade3 \
+ libltdl.so:${PORTSDIR}/devel/libltdl \
libqrencode.so:${PORTSDIR}/graphics/libqrencode \
libgnunetutil.so:${PORTSDIR}/net-p2p/gnunet \
libunique-1.0.so:${PORTSDIR}/x11-toolkits/unique
USES= gmake iconv libtool pathfix pkgconfig
USE_GNOME= gtk20
-USE_AUTOTOOLS= libltdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-gtktest \
--with-gtk-version=2 \
diff --git a/net-p2p/gnunet/Makefile b/net-p2p/gnunet/Makefile
index 72244a7..0a14b49 100644
--- a/net-p2p/gnunet/Makefile
+++ b/net-p2p/gnunet/Makefile
@@ -14,6 +14,7 @@ LICENSE= GPLv3
LIB_DEPENDS= libogg.so:${PORTSDIR}/audio/libogg \
libopus.so:${PORTSDIR}/audio/opus \
libpulse.so:${PORTSDIR}/audio/pulseaudio \
+ libltdl.so:${PORTSDIR}/devel/libltdl \
libunistring.so:${PORTSDIR}/devel/libunistring \
libidn.so:${PORTSDIR}/dns/libidn \
libglpk.so:${PORTSDIR}/math/glpk \
@@ -25,7 +26,6 @@ LIB_DEPENDS= libogg.so:${PORTSDIR}/audio/libogg \
USES= gmake iconv libtool pathfix pkgconfig
USE_GNOME= glib20
USE_GSTREAMER1= yes
-USE_AUTOTOOLS= libltdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-silent-rules \
--with-extractor=${LOCALBASE} \
diff --git a/net/asterisk/Makefile b/net/asterisk/Makefile
index d66119e..bacb5ac 100644
--- a/net/asterisk/Makefile
+++ b/net/asterisk/Makefile
@@ -77,8 +77,8 @@ DAHDI_LIB_DEPENDS= libpri.so:${PORTSDIR}/misc/libpri \
libopenr2.so:${PORTSDIR}/misc/openr2
ODBC_CONFIGURE_WITH= unixodbc
ODBC_CONFIGURE_ON= --with-ltdl
-ODBC_USE= AUTOTOOLS=libltdl
-ODBC_LIB_DEPENDS= libodbc.so:${PORTSDIR}/databases/unixODBC
+ODBC_LIB_DEPENDS= libodbc.so:${PORTSDIR}/databases/unixODBC \
+ libltdl.so:${PORTSDIR}/devel/libltdl
FREETDS_CONFIGURE_ON= --with-tds=${LOCALBASE}
FREETDS_CONFIGURE_OFF= --without-tds
FREETDS_LIB_DEPENDS= libtds.so:${PORTSDIR}/databases/freetds
diff --git a/net/asterisk11/Makefile b/net/asterisk11/Makefile
index 8660874..e018b26 100644
--- a/net/asterisk11/Makefile
+++ b/net/asterisk11/Makefile
@@ -73,8 +73,8 @@ DAHDI_LIB_DEPENDS= libpri.so:${PORTSDIR}/misc/libpri \
libopenr2.so:${PORTSDIR}/misc/openr2
ODBC_CONFIGURE_WITH= unixodbc
ODBC_CONFIGURE_ON= --with-ltdl
-ODBC_USE= AUTOTOOLS=libltdl
-ODBC_LIB_DEPENDS= libodbc.so:${PORTSDIR}/databases/unixODBC
+ODBC_LIB_DEPENDS= libodbc.so:${PORTSDIR}/databases/unixODBC \
+ libltdl.so:${PORTSDIR}/devel/libltdl
FREETDS_CONFIGURE_ON= --with-tds=${LOCALBASE}
FREETDS_CONFIGURE_OFF= --without-tds
FREETDS_LIB_DEPENDS= libtds.so:${PORTSDIR}/databases/freetds
diff --git a/net/freeradius2/Makefile b/net/freeradius2/Makefile
index 5698f41..1e5ef3d 100644
--- a/net/freeradius2/Makefile
+++ b/net/freeradius2/Makefile
@@ -17,7 +17,8 @@ COMMENT= Free RADIUS server implementation
LICENSE= GPLv2
-LIB_DEPENDS= libgdbm.so:${PORTSDIR}/databases/gdbm
+LIB_DEPENDS= libgdbm.so:${PORTSDIR}/databases/gdbm \
+ libltdl.so:${PORTSDIR}/devel/libltdl
LOGDIR?= /var/log
KRB5_CONFIG?= /usr/bin/krb5-config --libs
@@ -29,7 +30,7 @@ USE_RC_SUBR= radiusd
USES= gmake libtool shebangfix tar:bzip2
SHEBANG_FILES= scripts/radsqlrelay src/modules/rlm_counter/rad_counter
-USE_AUTOTOOLS= libltdl libtoolize aclocal autoconf autoheader
+USE_AUTOTOOLS= libtoolize aclocal autoconf autoheader
USE_OPENSSL= yes
CPPFLAGS+= -I${LOCALBASE}/include
CFLAGS+= ${CPPFLAGS}
diff --git a/net/gnu-dico/Makefile b/net/gnu-dico/Makefile
index 37274c0..6ce6f34 100644
--- a/net/gnu-dico/Makefile
+++ b/net/gnu-dico/Makefile
@@ -12,9 +12,10 @@ PKGNAMEPREFIX= gnu-
MAINTAINER= goran.tal@gmail.com
COMMENT= Flexible modular implementation of DICT server
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl
+
USE_LDCONFIG= yes
USES= tar:xz gmake libtool
-USE_AUTOTOOLS= libltdl
GNU_CONFIGURE= yes
CFLAGS+= -Wno-error=return-type
diff --git a/net/gnu-radius/Makefile b/net/gnu-radius/Makefile
index 96c6262..6080525 100644
--- a/net/gnu-radius/Makefile
+++ b/net/gnu-radius/Makefile
@@ -12,13 +12,14 @@ DISTNAME= radius-${PORTVERSION}
MAINTAINER= gahr@FreeBSD.org
COMMENT= GNU RADIUS server
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl
+
CONFLICTS= freeradius-0.* openradius-0.* radiusd-cistron-1.*
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= gmake libtool
USE_RC_SUBR= radiusd
USE_SUBMAKE= yes
-USE_AUTOTOOLS= libltdl
USE_LDCONFIG= yes
PLIST_SUB= PORTVERSION=${PORTVERSION}
diff --git a/net/libnetdude/Makefile b/net/libnetdude/Makefile
index 48aa155..81e47f6 100644
--- a/net/libnetdude/Makefile
+++ b/net/libnetdude/Makefile
@@ -10,14 +10,14 @@ MASTER_SITES= SF/netdude/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Library for manipulating libpcap/tcpdump trace files
-LIB_DEPENDS= libpcapnav.so:${PORTSDIR}/net/libpcapnav
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl \
+ libpcapnav.so:${PORTSDIR}/net/libpcapnav
USES= libtool
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-gtk-doc --disable-static --with-html-dir=${DOCSDIR}
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
-USE_AUTOTOOLS= libltdl
USE_GNOME= glib12
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
diff --git a/net/netdude/Makefile b/net/netdude/Makefile
index b33f5e1..22448bc 100644
--- a/net/netdude/Makefile
+++ b/net/netdude/Makefile
@@ -10,10 +10,10 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= NETwork DUmp data Displayer and Editor for tcpdump tracefiles
-LIB_DEPENDS= libnetdude.so:${PORTSDIR}/net/libnetdude
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl \
+ libnetdude.so:${PORTSDIR}/net/libnetdude
USES= gettext iconv libtool gmake
-USE_AUTOTOOLS= libltdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-gtk-doc --with-html-dir=${DOCSDIR}
LIBS+= -L${LOCALBASE}/lib -lltdl
diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile
index 171abca..4bd756a 100644
--- a/net/openldap24-server/Makefile
+++ b/net/openldap24-server/Makefile
@@ -220,7 +220,7 @@ USE_RC_SUBR= slapd
EXTRA_PATCHES+= ${FILESDIR}/extrapatch-Makefile.in
.if ${PORT_OPTIONS:MMODULES} || ${PORT_OPTIONS:MDYNAMIC_BACKENDS} || ${PORT_OPTIONS:MSLAPI}
-USE_AUTOTOOLS+= libltdl
+LIB_DEPENDS+= libltdl.so:${PORTSDIR}/devel/libltdl
CONFIGURE_ARGS+= --enable-modules
PLIST_SUB+= MODULES=""
.else
diff --git a/security/clamav/Makefile b/security/clamav/Makefile
index af3b9a0..1c745b6 100644
--- a/security/clamav/Makefile
+++ b/security/clamav/Makefile
@@ -12,7 +12,8 @@ COMMENT= Command line virus scanner written entirely in C
LICENSE= GPLv2
-LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl \
+ libcurl.so:${PORTSDIR}/ftp/curl
OPTIONS_DEFINE= ARC ARJ LHA UNZOO UNRAR LLVM TESTS MILTER LDAP ICONV STDERR \
EXPERIMENTAL DOCS IPV6 DMG_XAR
@@ -64,7 +65,6 @@ PLIST_SUB+= DBDIR=${DBDIR:S/^\///} \
CLAMAVUSER=${CLAMAVUSER} \
CLAMAVGROUP=${CLAMAVGROUP}
PY_NO_THREAD= ${WRKDIR}/.python-has-no-threads
-USE_AUTOTOOLS= libltdl
OPTIONS_SUB= yes
CONFIGURE_ARGS= --libdir=${PREFIX}/lib \
diff --git a/security/courier-authlib/Makefile b/security/courier-authlib/Makefile
index 33edb88..9cb6cf4 100644
--- a/security/courier-authlib/Makefile
+++ b/security/courier-authlib/Makefile
@@ -31,8 +31,9 @@ OPTIONS_DEFINE+= GDBM
.else # !defined(PKGNAMESUFFIX)
+LIB_DEPENDS+= libltdl.so:${PORTSDIR}/devel/libltdl
+
USES= iconv gmake libtool perl5 tar:bzip2
-USE_AUTOTOOLS= libltdl
GNU_CONFIGURE= yes
USE_SUBMAKE= yes
diff --git a/security/libp11/Makefile b/security/libp11/Makefile
index b126036..dd38876 100644
--- a/security/libp11/Makefile
+++ b/security/libp11/Makefile
@@ -12,9 +12,10 @@ COMMENT= Small layer on top of PKCS\#11 API
LICENSE= LGPL21
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl
+
OPTIONS_DEFINE= DOCS EXAMPLES
-USE_AUTOTOOLS= libltdl
USE_OPENSSL= yes
GNU_CONFIGURE= yes
USES= libtool pkgconfig
diff --git a/security/libprelude/Makefile b/security/libprelude/Makefile
index b2ad8d3..e918404 100644
--- a/security/libprelude/Makefile
+++ b/security/libprelude/Makefile
@@ -13,7 +13,8 @@ COMMENT= Framework library for Prelude NIDS
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE.README
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl \
+ libgmp.so:${PORTSDIR}/math/gmp \
libgnutls.so:${PORTSDIR}/security/gnutls \
libgcrypt.so:${PORTSDIR}/security/libgcrypt \
libgpg-error.so:${PORTSDIR}/security/libgpg-error \
@@ -24,7 +25,6 @@ OPTIONS_DEFINE= DOCS PERL PYTHON
OPTIONS_SUB= yes
USES= charsetfix gettext gmake iconv libtool pathfix pkgconfig
-USE_AUTOTOOLS= libltdl
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-static \
diff --git a/security/libpreludedb/Makefile b/security/libpreludedb/Makefile
index 5221df2..db79eb4 100644
--- a/security/libpreludedb/Makefile
+++ b/security/libpreludedb/Makefile
@@ -12,7 +12,8 @@ COMMENT= Framework library for access to Prelude NIDS database
LICENSE= GPLv2
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl \
+ libgmp.so:${PORTSDIR}/math/gmp \
libgnutls.so:${PORTSDIR}/security/gnutls \
libgcrypt.so:${PORTSDIR}/security/libgcrypt \
libgpg-error.so:${PORTSDIR}/security/libgpg-error \
@@ -21,7 +22,6 @@ LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \
libp11-kit.so:${PORTSDIR}/security/p11-kit
USES= gettext gmake iconv libtool
-USE_AUTOTOOLS= libltdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-gtk-doc=no \
--with-html-dir=${PREFIX}/share/doc
diff --git a/security/openct/Makefile b/security/openct/Makefile
index 2dc7cea..72a606d 100644
--- a/security/openct/Makefile
+++ b/security/openct/Makefile
@@ -12,10 +12,11 @@ COMMENT= Middleware framework for smart card terminals
LICENSE= LGPL21
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl
+
OPTIONS_DEFINE= PCSC DOCS
PCSC_DESC= Enable PC/SC support
-USE_AUTOTOOLS= libltdl
GNU_CONFIGURE= yes
USES= gmake libtool pkgconfig
USE_LDCONFIG= yes
diff --git a/security/xca/Makefile b/security/xca/Makefile
index a960fce..b0c9e6e 100644
--- a/security/xca/Makefile
+++ b/security/xca/Makefile
@@ -12,9 +12,10 @@ COMMENT= Graphical certification authority
LICENSE= BSD
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl
+
USE_OPENSSL= yes
USE_QT4= gui moc_build uic_build qmake_build rcc_build linguist_build
-USE_AUTOTOOLS= libltdl
USES= desktop-file-utils gmake shared-mime-info
DESTDIRNAME= destdir
diff --git a/security/xmlsec1/Makefile b/security/xmlsec1/Makefile
index 4f9247b..eb04e68 100644
--- a/security/xmlsec1/Makefile
+++ b/security/xmlsec1/Makefile
@@ -13,6 +13,8 @@ MASTER_SITES= http://www.aleksey.com/xmlsec/download/ \
MAINTAINER= johans@FreeBSD.org
COMMENT= XML Security Library
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl
+
OPTIONS_DEFINE= DOCS GNUTLS NSS
OPTIONS_SUB= yes
GNUTLS_DESC= Enable GNUTLS support
@@ -27,7 +29,6 @@ INSTALL_TARGET= install-strip
USES= libtool:oldver pathfix pkgconfig
USE_OPENSSL= yes
USE_GNOME= libxml2 libxslt
-USE_AUTOTOOLS= libltdl
USE_LDCONFIG= yes
CFLAGS+= -I${LOCALBASE}/include
diff --git a/sysutils/heartbeat/Makefile b/sysutils/heartbeat/Makefile
index cfa12e9..bde8172 100644
--- a/sysutils/heartbeat/Makefile
+++ b/sysutils/heartbeat/Makefile
@@ -17,13 +17,14 @@ COMMENT= Subsystem for High-Availability Clustering
LICENSE= GPLv2 LGPL21
LICENSE_COMB= multi
-LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls \
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl \
+ libgnutls.so:${PORTSDIR}/security/gnutls \
libnet.so:${PORTSDIR}/net/libnet \
libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \
libxml2.so:${PORTSDIR}/textproc/libxml2
BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison
-USE_AUTOTOOLS= autoconf autoheader automake aclocal libltdl libtoolize
+USE_AUTOTOOLS= autoconf autoheader automake aclocal libtoolize
AUTOMAKE_ARGS= --add-missing --include-deps --copy
USES= gettext gmake libtool pkgconfig tar:bzip2 shebangfix
diff --git a/textproc/libextractor/Makefile b/textproc/libextractor/Makefile
index 8acc020..17a0f63 100644
--- a/textproc/libextractor/Makefile
+++ b/textproc/libextractor/Makefile
@@ -11,10 +11,11 @@ COMMENT= Library for keyword extraction
LICENSE= GPLv3 # (or later)
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl
+
USES= iconv gettext libtool makeinfo pathfix pkgconfig
USE_GNOME= gtk20
USE_PYTHON= yes
-USE_AUTOTOOLS= libltdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gtk-version=2 \
--with-ltdl=${LOCALBASE}
diff --git a/textproc/redland/Makefile b/textproc/redland/Makefile
index 09cdf3c..78c3ce7 100644
--- a/textproc/redland/Makefile
+++ b/textproc/redland/Makefile
@@ -15,10 +15,10 @@ COMMENT= High-level interface for RDF
LICENSE= APACHE20 GPLv2 GPLv3 LGPL21
LICENSE_COMB= dual
-LIB_DEPENDS= libraptor2.so:${PORTSDIR}/textproc/raptor2 \
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl \
+ libraptor2.so:${PORTSDIR}/textproc/raptor2 \
librasqal.so:${PORTSDIR}/textproc/rasqal
-USE_AUTOTOOLS= libltdl
USE_PERL5= build
USES= gmake libtool pathfix perl5 pkgconfig shebangfix
SHEBANG_FILES= scripts/touch-mtime.pl
diff --git a/textproc/scim-openvanilla/Makefile b/textproc/scim-openvanilla/Makefile
index 957265c..8507027 100644
--- a/textproc/scim-openvanilla/Makefile
+++ b/textproc/scim-openvanilla/Makefile
@@ -14,9 +14,9 @@ COMMENT= SCIM OpenVanilla input method (IM)/output filter (OF) framework
BUILD_DEPENDS= scim:${PORTSDIR}/textproc/scim \
${LOCALBASE}/include/OpenVanilla/OpenVanilla.h:${PORTSDIR}/textproc/openvanilla-framework
RUN_DEPENDS= scim:${PORTSDIR}/textproc/scim
-LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
+LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl \
+ libexpat.so:${PORTSDIR}/textproc/expat2
-USE_AUTOTOOLS= libltdl
WRKSRC= ${WRKDIR}/${DISTNAME}/Loaders/SCIM
USES= pkgconfig gettext iconv gmake libtool:keepla
GNU_CONFIGURE= yes
OpenPOWER on IntegriCloud