1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/converters
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
..
aish
ascii2binary
asr10 Remove all space characters from Makefile assignments. 2014-06-08 19:51:27 +00:00
base64
bibtexconv Remove all space characters from Makefile assignments. 2014-06-08 19:51:27 +00:00
bsdconv
btoa
chmview
cl-babel Remove indefinite articles from COMMENT where I'm maintainer. 2014-06-08 13:14:42 +00:00
cl-babel-clisp Remove indefinite articles from COMMENT where I'm maintainer. 2014-06-08 13:14:42 +00:00
cl-babel-sbcl Remove indefinite articles from COMMENT where I'm maintainer. 2014-06-08 13:14:42 +00:00
cmios9
cocot
convmv
dosunix
drg2sbg
dumpasn1
enca
fconv
fix-mime-charset Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
fondu Remove indefinite articles and trailing periods from COMMENT, plus 2014-06-09 11:21:52 +00:00
fpc-iconvenc
fribidi Remove indefinite articles and trailing periods from COMMENT, plus 2014-06-09 11:21:52 +00:00
gbase
gbsdconv
hs-aeson
hs-dataenc
hs-json
htx
i18ntools
ical2html
iconv
iconv-extra
iconv-rfc1345
igbinary converters/igbinary: Add pecl- prefix for consistency 2014-06-05 10:36:17 +00:00
ish
libb64
libiconv
libticonv
libutf-8
lua-iconv
mimelib - Switch to USES=libtool, drop .la files 2014-06-04 13:22:25 +00:00
mmencode
mpack
mule-ucs
nomyso
o3read
osm2mp
osm2pgsql
p5-Boulder
p5-bsdconv Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Convert-ASCII-Armour
p5-Convert-ASN1
p5-Convert-Bencode
p5-Convert-Bencode_XS Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Convert-BER
p5-Convert-Binary-C Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Convert-BinHex
p5-Convert-IBM390 Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Convert-Morse
p5-Convert-NLS_DATE_FORMAT
p5-Convert-PEM
p5-Convert-Recode
p5-Convert-TNEF
p5-Convert-UU
p5-Convert-UUlib Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Cpanel-JSON-XS Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Cstools
p5-Data-AMF
p5-Encode Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Encode-compat
p5-Encode-Detect Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Encode-Detect-CJK
p5-Encode-DoubleEncodedUTF8
p5-Encode-IMAPUTF7
p5-Encode-JIS2K Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Encode-Locale
p5-Encode-Punycode
p5-Encoding-BER
p5-Encoding-FixLatin
p5-Format-Human-Bytes
p5-JSON
p5-JSON1
p5-JSON-Any
p5-JSON-DWIW Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-JSON-MaybeXS
p5-JSON-PP
p5-JSON-Tiny
p5-JSON-XS Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-JSON-XS-VersionOneAndTwo
p5-MIME-Base32
p5-MIME-Base64 Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-MIME-Base64-URLSafe
p5-Net-IDN-Nameprep
p5-Number-Nary
p5-Number-RecordLocator
p5-PerlIO-via-Unidecode Remove indefinite articles and trailing periods from COMMENT, plus 2014-06-09 11:21:52 +00:00
p5-plutil
p5-Sereal
p5-Sereal-Decoder Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Sereal-Encoder Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Storable-AMF Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-String-Multibyte
p5-String-SetUTF8 Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Text-Bidi Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Text-Iconv Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Text-Unidecode
p5-Unicode-IMAPUtf7
p5-Unicode-Map Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Unicode-Map8 Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Unicode-MapUTF8
p5-Unicode-RecursiveDowngrade
p5-Unicode-String Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Unicode-Stringprep
p5-Unicode-UTF8simple
p5-URI-UTF8-Punycode Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-WAP-wbxml
p5-XML-WBXML Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
pdf2djvu Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
pear-Services_JSON
pecl-fribidi Remove indefinite articles and trailing periods from COMMENT, plus 2014-06-09 11:21:52 +00:00
php5-bsdconv
php5-iconv
php5-mbstring
php5-recode
php53-iconv
php53-mbstring
php53-recode
php55-iconv
php55-mbstring
php55-recode
psiconv
py-bencode - Update plaso to 1.1.0 2014-06-07 08:43:31 +00:00
py-bsdconv
py-iconv
py-pisa - Remove easy_install dependency 2014-06-08 09:17:44 +00:00
py-unidecode
py-zfec - Remove easy_install dependency 2014-06-08 09:35:52 +00:00
R-cran-rjson
R-cran-RJSONIO
rcctools Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
recode Change mastersite to github. 2014-06-04 12:29:30 +00:00
ruby-dump.rb
ruby-iconv
rubygem-bsdconv
shftool
showkey
ta2as
tnef
trans
tuc
unix2dos
uudeview
uudx
uulib
vda2fbd Remove indefinite articles and trailing periods from COMMENT, plus 2014-06-09 11:21:52 +00:00
wkhtmltopdf
xdeview
ytnef
zbase32
Makefile - Update plaso to 1.1.0 2014-06-07 08:43:31 +00:00