- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS. Also remove references to
PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
required additional patches.
Somewhat simplified a linker command line looks like:
${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}
where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us. If possible -L and -l flags need to be
added to LIBS to make sure they appear after any -L and -l flags set by
upstream. Many ports currently add -L${LOCALBASE}/lib to LDFLAGS but this
may appear too early on the command line causing installed libraries to
be linked in instead of freshly built ones.
Additional changes:
benchmarks/netio: Replace WITH_IPV6 with an IPV6 option.
comms/gnokii: Replace some patches with USES=pathfix. Also remove -fPIC.
graphics/gimageview: USES=libtool and install desktop file in DESKTOPDIR.
graphics/visionworkbench: Remove FreeBSD 7 support.
multimedia/libmovtar: New LIB_DEPENDS syntax.
multimedia/opencinematools: Use standard do-build.
net/siproxd: USES=libtool:keepla (port actually needs .la files for plugins)
net-mgmt/nagios: Remove -fPIC.
net-mgmt/nagios4: Remove -fPIC.
print/cups-base: Only add -lssp_nonshared on i386 and OSVERSION < 1000036.
security/p11-kit: Replace PTHREAD_LIBS in CONFIGURE_ENV with
ac_cv_func_pthread_mutexattr_init=no in CONFIGURE_ARGS. This skips a test
in configure that falsely detects pthread_mutexattr_init in our libc.
sysutils/dar: Fix iconv detection.
x11/rxvt-unicode: Remove -lstdc++ and patch configure to remove a FreeBSD
hack and use $CXX as linker as on other platforms.
PR: 190592
Exp-run by: antoine
Approved by: portmgr (antoine)
While here:
- Trim headers
- Convert some USE_GNOME=pkgconfig to USES=pkgconfig
- Add some missing pkgconf dependencies
- Convert some USE_GNOME=gnomehack to USES=pathfix
X11 (though now it also runs in plain console without X, in FreeBSD,
and in OpenSolaris).
Main features:
- mp3, ogg vorbis, flac, ape, wv, wav, m4a, mpc, cd audio (and many more)
- sid, nsf and lots of other popular chiptune formats
- ID3v1, ID3v2.2, ID3v2.3, ID3v2.4, APEv2, xing/info tags support
- character set detection for non-unicode id3 tags - supports cp1251 and
iso8859-1
- unicode tags are fully supported as well (both utf8 and ucs2)
- cuesheet (.cue files) support, with charset detection (utf8/cp1251/iso8859-1)
- tracker modules like mod, s3m, it, xm, etc
- HVSC song length database support for sid
- minimize to tray, with scrollwheel volume control
- drag and drop, both inside of playlist, and from filemanagers and such
- control playback from command line
- plugin support; bundled with lots of plugins, such as global hotkeys and
last.fm scrobbler; sdk is included
- duration calculation is as precise as possible for vbr mp3 files (with and
without xing/info tags)
WWW: http://deadbeef.sourceforge.net/
PR: 143670
Submitted by: zloidemon <g.veniamin@googlemail.com>