1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/chinese
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
..
acroread8-zh_CN
acroread8-zh_TW
arphicttf
aterm
auto-cn-l10n
auto-tw-l10n
autoconvert
bg5pdf
bg5ps
big5con
big5width
bitchx
bsdconv-opencc
bug5
c2t
calligra-l10n-zh_CN
calligra-l10n-zh_TW
cce
cconv
celvis
chiconv
CJKUnifonts
cless
cmexfonts
cnprint
CNS11643-font
cwtex
cwtexttf
dictd-database
docproj
enscript
eterm
fcitx
fcitx-chewing
fcitx-cloudpinyin
fcitx-configtool
fcitx-googlepinyin
fcitx-libpinyin
fcitx-rime
fcitx-sunpinyin
fcitx-table-extra
fcitx-ui-light
fireflyttf
font-std
fortune
fortunetw
fqterm
FreeWnn-lib
FreeWnn-server
gb2jis
gb2ps
gcin
gimp-help-zh_CN
gugod-clean
hanzim
hc
hztty
ibus-chewing
ibus-pinyin
irssi
jis2gb
joe
kcfonts
kde4-l10n-zh_CN
kde4-l10n-zh_TW
kon2
libchewing
libgooglepinyin
libpinyin
libreoffice-zh_CN Update to libreoffice 4.2.4 2014-06-11 14:40:31 +00:00
libreoffice-zh_TW Update to libreoffice 4.2.4 2014-06-11 14:40:31 +00:00
librime
libtabe
lunar
miniChinput
moefonts-cid
moettf
msttf
muni
mutt
oicq
opencc
opendesktop-fonts
oto Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
oxim
p5-cconv
p5-Date-Chinese
p5-Encode-CNMap
p5-Encode-HanConvert
p5-Encode-HanExtra
p5-Lingua-Han-PinYin
p5-Lingua-Han-Utils
p5-Lingua-ZH-BPMFConvert
p5-Lingua-ZH-HanDetect
p5-Lingua-ZH-Keywords
p5-Lingua-ZH-Numbers
p5-Lingua-ZH-Segment
p5-Lingua-ZH-Summarize
p5-Lingua-ZH-TaBE
p5-Lingua-ZH-Toke
p5-Lingua-ZH-WordSegmenter
p5-Lingua-ZH-Wrap
p5-Text-Greeking-zh_TW
pcmanx
php-cconv
phpbb3-tw
phpbb-tw
pine4
py-cconv
qe
qt4-codecs-cn
qt4-codecs-tw
qterm
reciteword Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
scim-array
scim-fcitx
scim-pinyin
scim-tables
sunpinyin
telnet
tin
tintin++
ttf2pt1
ttfm
unrar
unzip
ve
wenju
wordpress-zh_CN
wordpress-zh_TW
xemacs21
xpdf
xsim
ydict
zhcon
Makefile
Makefile.inc