freebsd-ports/archivers
Tijl Coosemans 9f8b4bcde3 Support LIBS like LDFLAGS.
- 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)
2014-06-11 14:49:59 +00:00
..
9e Update maintainer email address 2014-01-29 09:17:41 +00:00
advancecomp - Update from 1.18 to 1.19 2014-03-12 13:00:43 +00:00
amigadepacker Convert USE_BZIP2=yes to USES=tar:bzip2 2014-03-14 10:15:52 +00:00
arc - Add CONFLICTS 2014-05-27 12:06:54 +00:00
arj . Add LICENSE 2013-10-31 23:27:20 +00:00
ark KDE/FreeBSD team presents KDE SC 4.12.5 and KDE Workspace 4.11.9! 2014-05-10 19:43:14 +00:00
bicom Convert archivers to USES=zip 2014-03-07 15:35:40 +00:00
bzip Resurrect archivers/bzip and assign maintainer 2014-06-11 09:49:14 +00:00
bzip2 Fix properties on pkg-plist 2014-01-21 22:55:59 +00:00
cabextract Support stage 2013-12-26 16:34:35 +00:00
dact Support stage 2014-03-24 23:17:20 +00:00
deb2targz Support staging 2013-10-22 20:45:54 +00:00
deco Support stage 2014-03-25 15:11:29 +00:00
deutex Support stage 2014-01-05 00:15:00 +00:00
dpkg Update to version 1.17.9 2014-05-06 20:44:17 +00:00
dzip Convert archivers to USES=zip 2014-03-07 15:35:40 +00:00
ecm Quiesce mkdir 2014-03-18 14:26:57 +00:00
epkg Support stage 2013-12-26 16:19:08 +00:00
fastjar - fix sanity in CAT archivers 2014-06-01 07:59:15 +00:00
file-roller Remove indefinite articles and trailing periods from COMMENT, plus 2014-06-09 11:21:52 +00:00
fpc-bzip2 Stage support 2014-01-28 00:16:57 +00:00
fpc-paszlib Stage support 2014-01-28 00:16:57 +00:00
fpc-unzip Stage support 2014-01-28 00:16:57 +00:00
freetar Support stage 2013-12-10 20:44:05 +00:00
freeze Remove trailing whitespaces from category archivers 2014-02-21 13:34:56 +00:00
gcpio USE_BZIP2 -> USES+=tar:bzip2 2014-03-13 16:11:14 +00:00
grzip - fix sanity in CAT archivers 2014-06-01 07:59:15 +00:00
gtar Update to 1.27.1. Bug fixes: 2014-05-12 21:31:01 +00:00
gzip Fix properties on pkg-plist 2014-01-21 22:55:59 +00:00
gzrecover Quiesce mkdir 2014-03-18 14:26:57 +00:00
ha - Add/update license when possible 2014-05-20 06:06:35 +00:00
hffzip Support stage. 2013-09-25 02:22:52 +00:00
hlextract Convert archivers to USES=zip 2014-03-07 15:35:40 +00:00
hpack.non-usa.only Support stage by cheating on PREFIX 2014-01-04 23:51:31 +00:00
hs-tar - fix sanity in CAT archivers 2014-06-01 07:59:15 +00:00
hs-zip-archive - fix sanity in CAT archivers 2014-06-01 07:59:15 +00:00
hs-zlib - fix sanity in CAT archivers 2014-06-01 07:59:15 +00:00
hs-zlib-bindings - fix sanity in CAT archivers 2014-06-01 07:59:15 +00:00
hs-zlib-conduit - fix sanity in CAT archivers 2014-06-01 07:59:15 +00:00
hs-zlib-enum - Reroll and update bootstrap Haskell compilers to GHC 7.6.3 on 8.x and 2014-03-29 00:52:54 +00:00
javatar Support STAGE 2014-03-31 14:37:43 +00:00
jzip.org Convert archivers to USES=zip 2014-03-07 15:35:40 +00:00
jzlib Convert archivers to USES=zip 2014-03-07 15:35:40 +00:00
kzip - Reassign lioux' ports to the heap 2014-02-14 16:51:44 +00:00
laszip archivers/laszip: allow staging 2013-11-09 11:31:36 +00:00
lbrate Support stage 2014-01-04 23:35:15 +00:00
lbzip2 Support stage 2013-12-26 14:34:42 +00:00
lcab Support stage. 2013-09-25 02:56:20 +00:00
lha - use STAGEDIR 2013-10-27 22:29:46 +00:00
lha-ac Remove trailing whitespaces from category archivers 2014-02-21 13:34:56 +00:00
libarc Support stage. 2013-09-25 02:59:32 +00:00
libarchive The FreeBSD x11@ and graphics team proudly presents 2014-04-16 18:28:47 +00:00
libcabinet Fix install on HEAD and 10.0. 2014-02-21 21:22:17 +00:00
libcomprex Remove libtool patching. 2014-05-05 10:46:25 +00:00
libdynamite - Drop .la files, no dependees require them 2014-06-10 20:57:03 +00:00
liblzxcomp - Add liblzxcomp_p.a to orphans whitelist 2014-05-20 15:14:13 +00:00
libmspack Convert from USE_AUTOTOOLS=libtool to uses=libtool 2014-04-28 13:12:26 +00:00
liborange - Drop .la files, no dependees require them 2014-06-05 19:49:16 +00:00
libpar2 - Switch to USES=libtool, drop .la files 2014-06-05 13:04:49 +00:00
librtfcomp When linking a library libA with a library libB using libtool, if libB.la 2014-04-23 13:25:16 +00:00
libunrar Support stage 2013-12-26 14:36:02 +00:00
libunrar4 Support stage 2013-12-26 14:36:58 +00:00
libzip Convert archivers/libzip to USES=libtool. Bump PORTREVISION on all 2014-05-05 22:50:59 +00:00
linux-f10-ucl Add staging support for linux-f10 ports (category archivers) 2013-10-04 21:05:03 +00:00
linux-f10-upx Add staging support for linux-f10 ports (category archivers) 2013-10-04 21:05:03 +00:00
lrzip - Switch to USES=libtool, drop .la files 2014-06-04 17:37:51 +00:00
lz4 Support stage 2013-12-26 14:37:37 +00:00
lzip Adopt this port. 2014-03-02 01:40:36 +00:00
lzlib Support stage 2013-12-26 16:06:13 +00:00
lzma - fix sanity in CAT archivers 2014-06-01 07:59:15 +00:00
lzmalib Support stage 2013-12-26 14:42:14 +00:00
lzo2 When linking a library libA with a library libB using libtool, if libB.la 2014-04-23 13:25:16 +00:00
lzop Support staging. 2013-10-23 21:20:18 +00:00
macutils Support stage 2014-01-05 00:10:19 +00:00
makeself Remove trailing whitespaces from category archivers 2014-02-21 13:34:56 +00:00
mar Quiesce mkdir 2014-03-18 14:26:57 +00:00
mate-file-archiver For several MATE related ports: 2014-05-18 21:05:53 +00:00
minizip Enable the libminizip library which will be used by multimedia/vlc: 2014-06-02 20:38:38 +00:00
mscompress - fix sanity in CAT archivers 2014-06-01 07:59:15 +00:00
mtf Support staging 2013-12-26 15:03:41 +00:00
nomarch Support stage 2013-12-26 14:54:21 +00:00
nulib Support stage. 2013-09-25 03:24:11 +00:00
nwreckdum - Remove Author line 2014-05-03 18:21:43 +00:00
ocaml-bz2 Stage support 2014-03-26 20:18:38 +00:00
ocaml-zip - Remove Author line 2014-05-02 09:41:34 +00:00
p5-Archive-Any - Support STAGEDIR 2013-09-28 17:12:12 +00:00
p5-Archive-Any-Lite - Update to 0.09 2014-04-26 18:09:39 +00:00
p5-Archive-Any-Plugin-Rar Support stage 2014-01-04 18:51:39 +00:00
p5-Archive-Extract - Remove outdated PERL_LEVEL check 2014-03-06 18:51:17 +00:00
p5-Archive-Extract-Libarchive Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Archive-Peek Support stage 2014-01-04 22:54:00 +00:00
p5-Archive-Rar - Support STAGEDIR 2013-09-28 17:12:21 +00:00
p5-Archive-SimpleExtractor - Support STAGEDIR 2013-09-28 17:12:25 +00:00
p5-Archive-Tar - Update to 1.96 2013-10-31 11:53:29 +00:00
p5-Archive-Zip - Update to 1.37 2014-02-07 15:08:17 +00:00
p5-Compress-Bzip2 Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Compress-LZF Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Compress-LZO Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Compress-LZW - Update to 0.03 2014-02-07 16:26:42 +00:00
p5-Compress-Raw-Bzip2 Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Compress-Raw-Lzma Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Compress-Raw-Zlib Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Compress-Snappy Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-IO-Compress - Update to 2.064 2014-02-04 13:15:16 +00:00
p5-IO-Compress-Lzf - Update to 2.064 2014-02-04 13:15:20 +00:00
p5-IO-Compress-Lzma - Update to 2.064 2014-02-04 13:15:24 +00:00
p5-IO-Compress-Lzop - Update to 2.064 2014-02-04 13:15:28 +00:00
p5-IO-Zlib Support stage 2014-01-04 18:50:26 +00:00
p5-Mac-Macbinary Support stage. 2013-09-25 12:30:08 +00:00
p5-PerlIO-gzip Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-PerlIO-via-Bzip2 Support stage. 2013-09-25 12:42:49 +00:00
p5-POE-Filter-Bzip2 - Support STAGEDIR 2013-09-28 17:12:34 +00:00
p5-POE-Filter-LZF - Support STAGEDIR 2013-09-28 17:12:38 +00:00
p5-POE-Filter-LZO - Support STAGEDIR 2013-09-28 17:12:42 +00:00
p5-POE-Filter-LZW - Support STAGEDIR 2013-09-28 17:12:47 +00:00
p5-POE-Filter-Zlib - Fix various distinfo errors 2014-05-31 16:37:58 +00:00
p7zip - fix sanity in CAT archivers 2014-06-01 07:59:15 +00:00
p7zip-codec-rar - Modernize and simplify the archivers/p7zip port's Makefile by getting rid 2014-01-02 00:20:19 +00:00
packddir Quote ${CC} and similar variables in MAKE_ARGS. 2014-05-20 19:32:39 +00:00
paq Convert archivers to USES=zip 2014-03-07 15:35:40 +00:00
par Support stage 2014-01-05 00:13:03 +00:00
par2cmdline - Always copy documentation to stage dir 2013-11-07 10:23:09 +00:00
par2cmdline-tbb - Update devel/tbb to 4.2.2 2013-12-11 07:53:16 +00:00
parchive - Remove NO_STAGE as these have been tested to be safe 2013-09-25 00:54:08 +00:00
pbzip2 Support stage 2014-01-03 18:26:48 +00:00
pear-File_Archive - fix badly converted PORT_OPTIONS 2014-04-19 11:13:18 +00:00
pear-Horde_Compress Horde package update: 2014-05-23 23:14:17 +00:00
pear-Horde_Compress_Fast Stage support for non-IGNORED pear classes 2013-11-25 17:59:58 +00:00
pear-PHP_Archiv Stage support for non-IGNORED pear classes 2013-11-25 17:59:58 +00:00
pecl-lzf Convert all :U to :tu and :L to :tl 2014-05-05 09:45:36 +00:00
pecl-phk Support stage 2014-01-04 23:48:45 +00:00
pecl-rar - Update to 3.0.2 2013-12-07 09:01:11 +00:00
php-horde_lz4 Update php-horde_lz4 to 1.0.2 2014-02-09 14:00:38 +00:00
php5-bz2 Stagify. 2013-10-30 13:32:02 +00:00
php5-phar Stagify. 2013-10-30 13:32:02 +00:00
php5-zip Stagify. 2013-10-30 13:32:02 +00:00
php5-zlib Stagify. 2013-10-30 13:32:02 +00:00
php53-bz2 - convert php53 ports to STAGE 2013-11-01 23:49:56 +00:00
php53-phar - convert php53 ports to STAGE 2013-11-01 23:49:56 +00:00
php53-zip - convert php53 ports to STAGE 2013-11-01 23:49:56 +00:00
php53-zlib - convert php53 ports to STAGE 2013-11-01 23:49:56 +00:00
php55-bz2 Stagify. 2013-10-30 13:32:02 +00:00
php55-phar Stagify. 2013-10-30 13:32:02 +00:00
php55-zip Stagify. 2013-10-30 13:32:02 +00:00
php55-zlib Stagify. 2013-10-30 13:32:02 +00:00
pigz Update to 2.3.1 and stage'ify. 2013-12-02 04:34:58 +00:00
pixz - fix sanity in CAT archivers 2014-06-01 07:59:15 +00:00
plzip Support stage 2013-12-26 16:27:35 +00:00
ppmd Quiesce mkdir 2014-03-18 14:26:57 +00:00
ppmd-7z - fix sanity in CAT archivers 2014-06-01 07:59:15 +00:00
ppunpack Support stage. 2013-09-25 12:45:36 +00:00
pxz Give up maintainership on pxz, return to ports@ 2014-01-19 11:43:22 +00:00
py-liblzma Update my ports to be compliant with new USES framework and fix other issues. 2014-04-24 20:11:01 +00:00
py-librtfcomp - Fix PLIST: use NONEXISTENT instead of empty string [1] 2014-03-18 16:16:53 +00:00
py-lzma - Remove easy_install dependency 2014-06-08 09:08:38 +00:00
qpress - Use /usr/bin/unzip for zip files extraction (part 2) 2014-06-06 15:26:41 +00:00
quazip - Add a patch to fix build, when a previous version is installed 2014-03-30 03:10:03 +00:00
rar Support stage 2014-01-04 18:31:34 +00:00
rox-archive - fix sanity in CAT archivers 2014-06-01 07:59:15 +00:00
rpm Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
rpm2cpio Drop archivers/xz dependency: included in base system on all supported releases 2014-01-12 21:16:05 +00:00
rpm4 Replace lang/lua with the new lang/lua51 2014-05-26 15:28:28 +00:00
rpm5 Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
ruby-lha 2 more ports: convert to USES+= zip 2014-05-29 20:18:17 +00:00
ruby-zip Support stage 2014-01-05 00:21:37 +00:00
rubygem-archive-tar-minitar - Add stage support 2013-10-30 02:20:20 +00:00
rubygem-archive-zip Support stage 2014-01-05 00:24:08 +00:00
rubygem-bzip2 - Fix build with Ruby 2.0 2013-12-13 01:22:30 +00:00
rubygem-libarchive Convert to USES=dos2unix 2014-05-11 23:33:00 +00:00
rubygem-minitar - Add stage support 2013-10-30 02:20:20 +00:00
rubygem-rubyzip - Update to 1.1.0 2013-11-30 18:29:25 +00:00
rubygem-rubyzip2 Support stage 2014-01-05 00:26:40 +00:00
rvm replace USE_GCC=yes by compiler:c++11-lang, in fact that port doesn't need modern c++ 2013-10-08 20:48:34 +00:00
rzip - Add LICENSE 2013-11-15 09:41:40 +00:00
sectar - Remove NO_STAGE as these have been tested to be safe 2013-09-25 00:54:08 +00:00
sharutils . Update to 4.14 2014-03-13 12:43:19 +00:00
snappy Upgrade snappy to 1.1.1, and bump all related PORTREVISION to chase shared library version. 2014-06-03 14:34:06 +00:00
snappy-java Simplification and cleanup of the port 2014-04-04 12:58:01 +00:00
squeeze - Switch to USES=libtool, drop .la files 2014-06-05 18:20:15 +00:00
squsq - Support STAGEDIR 2013-10-16 11:27:24 +00:00
stuffit Support stage 2013-12-10 20:33:16 +00:00
szip - Support STAGEDIR 2013-10-16 11:27:24 +00:00
tardy archivers/xz is in base for all versions and has been removed from the ports tree 2014-01-13 07:23:43 +00:00
tclmkziplib 2 more ports: convert to USES+= zip 2014-05-29 17:48:12 +00:00
thunar-archive-plugin - fix sanity in CAT archivers 2014-06-01 07:59:15 +00:00
torrentzip Support stage 2014-01-04 23:38:19 +00:00
ucl Drop libtool patch and .la library. 2014-05-05 21:54:32 +00:00
unace Reset maintainer, maintainer no longer wishes to maintain those ports 2014-05-29 23:18:42 +00:00
unadf - fix sanity in CAT archivers 2014-06-01 07:59:15 +00:00
unalz Convert to USES=dos2unix 2013-11-18 13:45:44 +00:00
unarj - Support STAGEDIR 2013-10-23 21:02:25 +00:00
undms Support stage. 2013-09-25 13:16:50 +00:00
unfoo - fix sanity in CAT archivers 2014-06-01 07:59:15 +00:00
unlzx Quiesce mkdir 2014-03-18 14:26:57 +00:00
unmakeself Support stage. 2013-09-25 13:26:03 +00:00
unmass Use dos2unix USES macro. 2013-12-18 11:53:20 +00:00
unrar - Update to 5.01 (5.0.14) 2014-02-28 15:15:14 +00:00
unrar-iconv - Update to unrar 5.01 (5.0.14) 2014-02-28 15:15:19 +00:00
unshield - Use USES=libtool 2014-06-03 12:44:13 +00:00
untar Support staging. 2013-11-15 09:29:35 +00:00
unzip Now that this port is staged and DOCS defined we can stop testing for DOCS in 2014-02-12 19:23:05 +00:00
unzip-iconv Bring back masterdir 2013-12-26 16:50:13 +00:00
unzoo Fix @@${MKDIR} -> @${MKDIR} 2014-03-18 14:41:08 +00:00
upx - fix sanity in CAT archivers 2014-06-01 07:59:15 +00:00
wzip Support stage 2014-01-05 00:03:49 +00:00
xar - Add missing USES=libtool 2014-06-10 20:50:45 +00:00
xarchive Support stage 2014-03-02 21:20:04 +00:00
xarchiver - fix sanity in CAT archivers 2014-06-01 07:59:15 +00:00
xdms - fix sanity in CAT archivers 2014-06-01 07:59:15 +00:00
xmill Convert archivers to USES=zip 2014-03-07 15:35:40 +00:00
xpk Convert from USE_AUTOTOOLS=libtool to uses=libtool 2014-04-28 13:12:26 +00:00
zip - fix sanity in CAT archivers 2014-06-01 07:59:15 +00:00
zip-ada Convert archivers to USES=zip 2014-03-07 15:35:40 +00:00
zipmix Convert archivers to USES=zip 2014-03-07 15:35:40 +00:00
zipper Stage support 2014-02-11 17:59:57 +00:00
zoo - Support staging 2014-02-12 21:23:24 +00:00
zopfli Convert archivers to USES=zip 2014-03-07 15:35:40 +00:00
zutils - Update from 1.1 to 1.2 2014-02-22 13:46:33 +00:00
Makefile Resurrect archivers/bzip and assign maintainer 2014-06-11 09:49:14 +00:00