Upgrade OpenEXR and ilmbase to 2.2.0.
GCC 4.2 in FreeBSD 8.X/9.X base is now too old to compile OpenEXR, so
GCC-based systems will upgrade to the default ports compiler (GCC 4.7
currently.)
Add two patches to OpenEXR to permit building it in a live system with
the older OpenEXR version installed. Bug report filed to upstream Github
at https://github.com/openexr/openexr/issues/130
Couple OpenEXR more tightly to ilmbase and require its exact .so
version.
Add UPDATING note, and bump PORTREVISION of all dependent ports.
Proto-STAGE hugin-devel, and mark it IGNORE because hugin is newer.
Approved by: portmgr (implicit for bumping PORTREVISION on unstaged ports)
Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. Categories G-I.
CR: D201
Approved by: portmgr (bapt)
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)
Update the default version of GCC used in the Ports Collection from
GCC 4.6.4 to GCC 4.7.3. This entails updating the lang/gcc port as
well as changing the default in Mk/bsd.default-versions.mk.
Part II, Bump PORTREVISIONs.
PR: 182136
Supported by: Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports)
Tested by: bdrewery (two -exp runs)
Replace the manual construction of ${LOCALBASE}/lib/${CC}, which is not
appropriate for clang and fragile for GCC, by ${LDFLAGS}.
This is not only more robust, ${LDFLAGS} will also provide -Wl,-rpath
when necessary.
Plus extend an existing CONFIGURE_ENV instead of overwriting it.
With these changes, the configure problem that made the build fail
goes away. On FreeBSD 10.x and above there still are C++ errors
later in the build, so leave the port BROKEN.
Approved by: swills (maintainer)
With help from: redports.org, mat, decke
Convert all USE_FORTRAN=yes to "USES=fortran, USE_GCC=yes". In most cases
USE_GCC=yes has been omitted though.
Remove USE_FORTRAN handling from bsd.port.mk and bsd.gcc.mk.
Minor cleanups in some ports like USE_GMAKE, NOPORTDOCS,...
Exp-run: bdrewery
Approved by: portmgr (bdrewery)
Mark broken: Fails to configure
checking whether to build module CORE... no (missing BOOST
BOOST_PROGRAM_OPTIONS THREADS)
checking whether to build module MATH... no (missing CORE)
checking whether to build module IMAGE... no (missing MATH)
checking whether to build module FILEIO... no (missing IMAGE)
checking whether to build module VW... no (missing IMAGE MATH CORE)
configure: error: cannot build the Vision Workbench core modules!
===> Script "configure" failed unexpectedly.
Reported by: pkg-fallout since august 2013
With hat: portmgr
graphics/ilmbase
- Update to 2.0.1
- Change master sites to SAVANNAH
- Change maintainer email to @FreeBSD.org
- Remove conflict with non existent Port
- USES pathfix pkgconfig
- Add executable
- Add DOCS Option
- Support STAGEDIR and add OPTIONS_SUB
- Use pathfix instead of simple patches
- Adjust patches
- Change WWW
graphics/OpenEXR
- Update to 2.0.1
- Change master sites to SAVANNAH
- Change maintainer email to @FreeBSD.org
- Use the new format for LIB_DEPENDS
- USES gmake pathfix pkgconfig
- Add DOCS and EXAMPLES Options
- Support STAGEDIR and add OPTIONS_SUB
- Change REINPLACE_CMD
- Add extra patch for EXAMPLES
- Remove obsolete patches
- Bump dependent ports' revisions
Approved by: pawel / wg (mentors)
Update to libmpc version 1.0.1 which brings the following fixes:
- Switched to automake 1.11.6, see CVE-2012-3386.
- #14669: Fixed extraction of CC from gmp.h.
- Fixed case of intermediate zero real or imaginary part in mpc_fma,
found by hydra with GMP_CHECK_RANDOMIZE=1346362345.
This is on top of the following changes from version 1.0
- Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
invariant sections) for the documentation.
- 100% of all lines are covered by tests
- Renamed functions
. mpc_mul_2exp to mpc_mul_2ui
. mpc_div_2exp to mpc_div_2ui
- 0^0, which returned (NaN,NaN) previously, now returns (1,+0).
- Removed compatibility with K&R compilers, which was untestable due
to lack of such compilers.
- New functions
. mpc_log10
. mpc_mul_2si, mpc_div_2si
- Speed-ups
. mpc_fma
- Bug fixes
. mpc_div and mpc_norm now return a value indicating the effective
rounding direction, as the other functions.
. mpc_mul, mpc_sqr and mpc_norm now return correct results even if
there are over- or underflows during the computation.
. mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
infinite part and equals output variable is corrected.
. mpc_fr_sub: Wrong return value for imaginary part is corrected.
Convert to the new LIB_DEPENDS standard and remove hard-coded
.so versions from a couple of dependent ports.
Bump PORTREVISIONS of all dependent ports.
PR: 183141
Approved by: portmgr (bdrewery)
Rework patch-boost-1.52 to make it actually work with boost 1.52
Mark as job safe
PR: ports/175753
Submitted by: O. Hartmann" <ohartman@zedat.fu-berlin.de>
Approved by: swills (maintainer)
- Mark BROKEN: does not compile
In file included from
/work/a/ports/graphics/visionworkbench/work/VisionWorkbench-2.2.0/src/vw/FileIO/GdalIO.h:14:0,
from DiskImageResourceGDAL.cc:25:
/usr/local/include/gdal_priv.h:245:71: error: declaration of C function
'void* GDALOpenInternal(GDALOpenInfo&, const char* const*)' conflicts with
/usr/local/include/gdal_priv.h:242:14: error: previous declaration 'void*
GDALOpenInternal(const char*, GDALAccess, const char* const*)' here
/usr/local/include/gdal_priv.h:255:108: error: declaration of C function
'void* GDALOpenInternal(const char*, GDALAccess, const char* const*)' conflicts
with
/usr/local/include/gdal_priv.h:244:14: error: previous declaration 'void*
GDALOpenInternal(GDALOpenInfo&, const char* const*)' here
/usr/local/include/gdal_priv.h:257:82: error: declaration of C function
'void* GDALOpenInternal(GDALOpenInfo&, const char* const*)' conflicts with
/usr/local/include/gdal_priv.h:255:25: error: previous declaration 'void*
GDALOpenInternal(const char*, GDALAccess, const char* const*)' here
*** Error code 1
Reported by: pointyhat
Request USE_FORTRAN=yes instead of USE_GCC=4.5+ so that all ports having
this dependency are in sync. [1]
Sort the LICENSE_* entries to appease portlint.
Approved by: maintainer (swills) [1]