Skip to content

Commit

Permalink
Replace USE_AUTOTOOLS=libltdl with an ordinary LIB_DEPENDS in all ports.
Browse files Browse the repository at this point in the history
There are only 60 such ports so there doesn't need to be a separate
keyword or USES for this.

Approved by:	portmgr (bapt)
  • Loading branch information
TijlCoosemans committed Sep 17, 2014
1 parent a983621 commit 15c4a5e
Show file tree
Hide file tree
Showing 60 changed files with 124 additions and 97 deletions.
2 changes: 1 addition & 1 deletion accessibility/speech-dispatcher/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions audio/dvda-author/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion audio/glame/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions audio/libcanberra/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion audio/libmp3splt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions audio/mp3splt-gtk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions audio/mp3splt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion audio/mpg123/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion audio/pulseaudio/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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}" \
Expand Down
4 changes: 3 additions & 1 deletion audio/sox/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion comms/hamlib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion devel/lasi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down
4 changes: 3 additions & 1 deletion emulators/tme/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions games/freeciv/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion graphics/ImageMagick/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
3 changes: 2 additions & 1 deletion graphics/bugle/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion graphics/gnash/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions graphics/graphviz/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ 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 \
libexpat.so:${PORTSDIR}/textproc/expat2 \
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
Expand Down
3 changes: 2 additions & 1 deletion graphics/libgphoto2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down
4 changes: 2 additions & 2 deletions java/sablevm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
4 changes: 2 additions & 2 deletions lang/gforth/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
5 changes: 3 additions & 2 deletions lang/guile/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lang/guile2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions lang/php5/Makefile.ext
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 2 additions & 3 deletions lang/php53/Makefile.ext
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 2 additions & 3 deletions lang/php55/Makefile.ext
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 2 additions & 3 deletions lang/php56/Makefile.ext
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading

0 comments on commit 15c4a5e

Please sign in to comment.