- 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)
after r254273
- Fix a bunch of ports to properly work after this
- Mark converters/libiconv as IGNORE for systems with iconv in libc
Reviewed by: bapt
Approved by: portmgr (bapt)
Discussed with: bapt, bsam (who both contributed ideas and code)
rely on gcc. The patch uses the new USE_GCC=any code in Mk/bsd.gcc.mk to
accomplish this.
The ports chosen were ports that blocked 2 or more ports from building with
clang. (There are several hundred other ports that still fail to build with
clang, even with this patch. This is merely one step along the way.)
Those interested in fixing these ports with clang, and have clang as their
default compiler, can simply set FORCE_BASE_CC_FOR_TESTING=yes.
For those who have gcc as their default compiler, this change is believed
to cause no change.
Hat: portmgr
Tested with: multiple runs on amd64-8-exp-bcm and 9-exp-clang, with various
combinations of patch/no-patch and flag settings.
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
Remove deprecated USE_REINPLACE.
Utilize INFO.
Fix a patch error about a html device.
PR: ports/95025
Submitted by: Atsushi SUGAWARA <peanutsjamjam@w9.dion.ne.jp>
Fix PLIST_SUB when WITHOUT_INFO is defined and OSVERSION >= 470000.
Rename for-loop iterators FILE to F, to avoid overriding FILE variable provided by bsd.port.mk.
Stop using sub make in post-install rules.
* doc.tmac (tag-list): Apply a vendor fix based on the diff
1.1.1.9 -> 1.1.1.10 of src/contrib/groff/tmac/doc.tmac.
Submitted by: horikawa
* mdoc/ja.eucJP: Add translations of volume-ds-XXX and str-Lb-libYYY.
Submitted by: Akira Ikeuchi <a_ikeuchi@mic.mitsumi.co.jp>
* mdoc/doc-common (operating-system-FreeBSD-5.1): New string variable.
* mdoc/ja.eucJP (volume-operating-system-ateol): Switch to 0 instead of 1.
Increment PORTREVISION.
Suppress warning "locale: not found" by nroff as /usr/bin/nroff does. [1]
Support ja_JP.EUC in nroff for backward compatibility.
PORTREVISION up.
Submitted by: kuriyama [1]
To format Japanese manual entries, -dlang=ja_JP.eucJP is required, e.g.
$ groff -dlang=ja_JP.eucJP -man -Tnippon ifconfig.8
To format English manual entries (if you want to use this instead of
/usr/bin/grof), -dlang=ja_JP.eucJP should not be used.
Submitted by:okazaki (MAINTAINER)
instead of copying unknown stock versions from /usr/share/tmac.
Submitted by: Yoshisato Yanagisawa <Yoshisato.Yanagisawa@is.titech.ac.jp>,
Kazuo Horikawa <horikawa@psinet.com>
at: [man-jp 3155], [man-jp 3158]
2) Read mdoc localization file not only in localized tty mode
but in all troff mode. This tweak avoids the problem that
headers and footers are not displayed for translated manual
pages when troff output device was a non typewriter-like one.
Submitted by: MORI Kouji <moriko@hh.iij4u.or.jp> at: [man-jp 2723]
Obey %%PORTDOCS%%. Increment PORTREVISION.