FreeBSD non-x86 archs, due to a lack of an appropriate implementation of
AtomicCounter.
While here, remove obsolete CONFLICTS lines.
Note that not having this port build blocks devel/qt4, devel/qt5, all the
libreoffice variants, and a handful of others.
USES=localbase:ldflags can be used to set LDFLAGS. Normally LDFLAGS
appears too early on the command line causing some ports to link with
their own libraries in LOCALBASE (if installed) instead of WRKSRC.
Also make use of _USES_POST so -L${LOCALBASE}/lib is added as late as
possible after anything a port Makefile might set. Use _USES_POST
instead of .include in libedit.mk and libarchive.mk so things like
'USES=libedit localbase:ldflags' work correctly.
Fix some issues with LIBS in some ports.
Switch ports that don't support LIBS to localbase:ldflags.
PR: 212987
Exp-run by: antoine
Approved by: portmgr (antoine)
- Clean up the Makefile.
- Follow some upstream recommendations (--with-data-packaging=archive,
--disable-renaming, -DICU_NO_USER_DATA_OVERRIDE).
- Patch makefiles to install static libraries with INSTALL_DATA so they
aren't stripped.
- Patch config/mh-bsd-gcc to sync with config/mh-linux-gcc.
- Fix endianness detection in ICU. The code wanted to use BYTE_ORDER
defined in machine/endian.h, but this isn't visible because ICU is
compiled with _XOPEN_SOURCE. Patch the code to use _BYTE_ORDER instead.
- Compile ICU with C++11 compiler to enable move constructors.
- Patch ICU to fix a problem with atomics in the case of a C++11 compiler
without C++11 header <atomic> (like Clang on FreeBSD 9).
- Bump all ports that depend on it due to library version change.
- Add USES=compiler:c++0x to some ports that pick up -std=c++0x from ICU
pkgconfig files.
- Add USES=compiler:c++11-lib to graphics/libcdr01 because it also needs
a C++11 runtime library now. Add this to all ports that depend on it
so their executables load the right libstdc++.so on FreeBSD 9.
PR: 205120
Exp-run by: antoine
Approved by: portmgr (antoine)
- Add CPE and libedit support [1]
- Use @preunexec instead of the deprecated @unexec in pkg-plist [1]
- Regenerate patches with make makepatch
PR: 211387 [1]
Submitted by: luca.pizzamiglio@gmail.com [1]
my attempt to remove redundant libedit.so from dependencies for server.
However, it was incomplete because BUILD_DEPENDS was left for configure.
Now firebird25-server does not directly require devel/libedit any more.
The -server port had to be bumped because libedit was listed as a
BUILD_DEPENDS but libedit is linked dynamically so it has to be a
LIB_DEPENDS. The error was masked by the fact the client is usually
present which ensures libedit.so is available.
While here, remove obsolete CONFLICT* definitions and unmask a bunch
of installation commands.
The firebird 2.5.3 SQL server was re-released, and the previous distfile
was removed from sourceforge, thus breaking the build. Move to the latest
distfile to fix the fetch phase.
- Move files/pkg-install.in to pkg-install
- Add new warning message when it is building as root
- Remove obsolete patch files
- Fix installation of fbintl.conf to ${PREFIX}/etc/firebird [1].
PR: 176191 [1]
Submitted by: Jose Jachuf <jjachuf __ __gmail.com>
It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build
it brings bison as a run dependency in case it is set the following way:
USES= bison:run
it brings bison both as a run and build dependency in case it the set the following way:
USES= bison:both
While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.