${OPT}_${TYPE}_DEPENDS_OFF=<something> will automatically add:
${TYPE_DEPENDS}+=<something> in case OPT is 'off'
${OPT}_${FLAG}_OFF=<something> will automatically add:
${FLAG}+=<something> in case OPT is 'off'
With hat: portmgr
Sponsored by: Absolight
This allow to pass DESTDIR through configure --prefix to ports that are
not destdir aware
Obtained from: OpenBSD ports tree (discussed in Malta with Marc Espie)
* Add WEBUI to the standard option descriptions
* Use PHP only if WebUI option selected
* Specify proper php database driver depending on database selected
between mysql, pgsql, or sqlite
* Port revision bumped because it fixes bug depending on options selected
Due to bitrot caused by staging work, this patch had to be rewritten
from scratch. I believe the intent has been maintained.
PR: ports/184503
Submitted by: Christopher Davis
Approved by: maintainer (Chifeng)
Rewritten b: marino@
of SSP_UNSAFE [1]
- take advantage of rmdir -p to remove nested instances of KMODDIR if
empty. Some ports have KMODDIR=dir1/dir2
Submitted by: antoine [1]
Approved by: portmgr (bapt)
CDN redirection is not working well with IPv6 (it either times out or fails
with 'No address record'), so back out the commit until there's time to
investigate this issue.
Now that FETCH_ARGS accepts redirections by default, we can use only the
official CDNs used by KDE and Qt, and they care of choosing an appropriate
mirror.
We didn't keep our lists very up-to-date, nor did we correctly prioritize
the entries there anyway.
With hat: kde@, acknowledged by makc@.
This is a workaround to fix eclipse port download:
=> <distfile> doesn't seem to exist in /distfiles/.
eval: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/: not found
*** [do-fetch] Error code 2
ports to Mk/bsd.octave.mk. Also add LD_CXX="${CXX}" DL_LD="${CXX}" to
MAKE_ARGS, as this fixes the build of several octave-forve-* ports by
setting these variables properly in ${PREFIX}/bin/mkoctfile.
All the cs.pu.edu.tw addresses, http and ftp, have been down for at
least three weeks. It doesn't appear to be a transient outage.
Affects gcc, x, kde, openbsd, sourceware MASTER_SITES
Undefined STAGEDIR if already set from make.conf
Raise an error if set from command line (which cannot be undefined)
PR: ports/182972
Submitted by: "Scot W. Hetzel" <swhetzel@gmail.com>
- Convert LIB_DEPENDS to new style
- Use options helpers
- Change DIST_SUBDIR (imitate upstream, as we do it already for KDE SC)
devel/kdevelop-kde4:
- Remove useless LATEST_LINK
- Drop deprecated sharedmime from USE_KDE4, the port is already switched
to USES=shared-mime-info
Submitted by: pizzamig <luca.pizzamiglio at gmail.com> via maillist [1]
compat.linux.osrelease is set to 2.6.16. This enables running newer
libc versions wanting e.g. Linux 3.4.X. It was mostly a leftover
from the Fedora Core 4 support in the FreeBSD 7.X days. [1]
- While here shorten the IGNORE message of another check.
Submitted by: cognet [1]
New syntax:
# Depend on postgresql-client
USES= pgsql
# Depend on postgresql-client at least 9.2
USES= pgsql:9.2+
#Depend on postgresql-server at least 9.0
USES= pgsql:9.0+
WANT_PGSQL= server
Postgresql now supports DEFAULT_VERSIONS, and please note that the
version syntax now includes dots(!); i.e. before it was 90, now 9.0
Reviewed by: ade, silence from pgsql@
by adding a prefix or suffix to them.
Files listed in UNIQUE_PREFIX_FILES will receive the prefix
set via UNIQUE_PREFIX. The same applies to UNIQUE_SUFFIX_FILES,
but with the chosen UNIQUE_SUFFIX. UNIQUE_PREFIX and
UNIQUE_SUFFIX are set to PKGNAMEPREFIX and PKGNAMESUFFIX by
default.
The uniquefiles USES enables ports to name files in special
ways, e.g. by outlining that the port does not support X11
(-nox11). A binary named bin/foo thus can be easily renamed
to bin/foo-featureA via
USES= uniquefiles
UNIQUE_SUFFIX= -featureA
UNIQUE_SUFFIX_FILES= bin/foo
The uniquefiles USES automatically adjusts the plist at
installation time. There is no need to consider the prefix
or suffix in the pkg-plist file itself. If the original name
of the renamed file is bin/foo, this exact name should be put
into pkg-plist.
The dirs argument to USES=uniquefiles will cause certain
standard directories, such as DOCSDIR or EXAMPLESDIR to be
prepended with the UNIQUE_PREFIX. The change to the directories
will hapen prior to configuring or building the port, so that
the port Makefile as well as the port's build logic are aware
of the changed name.
Since the uniquefiles USES effectively manipulates the port's
installation and file layout, it will only be available for
stagedir-aware ports. Ports with NO_STAGE=yes will be unable
to use the uniquefiles USES.
Reviewed by: portmgr@
Approved by: portmgr@
Goal is to slowly port any lua software to lua 5.2 and then remove lua 5.1 along with bsd.lua.mk
Make version flexible and settable via DEFAULT_VERSIONS to prepare the futur days of lua
a) http://cpan.metacpan.org
b) http://www.cpan.org
- Prefer to try HTTP protocol first.
While I'm here: change order of new sites. Let metacpan go first.
PR: ports/185149
Submitted by: Kurt Jaeger <fbsd-ports@opsec.eu>
Mk/Uses/qmake.mk:
- Add support for out-of-source builds
- Add support for Qt 5 ports
- Respect WITH_DEBUG
Mk/bsd.qt.mk:
- Massive rework for Qt 5 ports
- Remove '-phonon' from global configure args, thus allow qt4-designer and
qt4-qtconfig to be built without Phonon support [1]
devel/qmake4:
- Improve mkspecs for gcc (mainly sync with linux version) and clang
devel/qt4-corelib:
- Convert to USES=iconv
- Remove ancient patch
devel/qt4-designer:
- Remove reference to WRKSRC from installed pkgconfig files [2]
- Don't build Qt Designer plugin for Phonon from outdated Qt sources.
Separate port for plugin will be committed later
devel/qt4-assistant-adp, devel/qt4-libqtassistantclient:
- Convert to USES=qmake
Clean up Qt4 ports:
- Update comments
- Update description; use common description
- Consistently use QT_INCDIR, QT_LIBDIR, etc.
- Use options helpers
- Convert to new LIB_DEPENDS syntax
- Update DESKTOP_ENTRIES to avoid conflicts with Qt 5 ports
- Rename/move several ports for unification with Qt 5 ports
PR: ports/184620 [1]
Reported by: Kevin Zheng <kevinz5000@gmail.com>
PR: ports/181141 [2]
Reported by: thierry
PR: ports/185101
Exp-run by: bdrewery
This is mostly solely avilla's work in area51, kudos to him! And a couple
commits from myself, so you know who's collecting pointyhats :)
This also removes the g77 option of USE_FORTRAN, and USE_GCC now always
implies a dependency on binutils.
Reviewed by: bapt
Approved by: maintainer (gerald)
If one day we are no adding a target actually correspond to an actual file, simply adding
the name of the target to the NOTPHONY will make it work as expected
Move ordering of targets to the very end of bsd.port.post.mk and make it define dynamically
Now all targets should be defined prior to the end of bsd.port.post.mk to allow .ORDER to control
the sequence of the targets properly.
From now all structural targets should also be defined in one of the _SEQ variable.
Extra bonus only the really defined targets are set in the final order sequence meaning that we do
not need anymore to create a ${DO_NADA} fallback target anymore, which improves performance and
simplify debugging.
Exp-run: bdrewery
With hat: portmgr
The main reason for it to not be allowed was to avoid infinite redirection loop
it appears that fetch(1) anyway limit the number of redirections to 5 on 8.3 and 9.1
20 on 9.2 and 10+ meaning we have no good reasons anymore to continue forbidding
following redirections.
Thanks to Michael Gmelin for having investigation
Reported by: many
The GCC mirror site list had gotten stale. A few sites have been down
for months. A few more sites may have rearranged their directory tree
because the distfiles are no longer under "releases" folder (that
folder had been removed and it's part of the MASTER_SITE_SUBDIR so the
fetch fails even though the distfile is actually on the server).
The broken mirrors were removed. The <http://gcc.gnu.org/mirrors.html>
file was checked for new mirrors, all of which are http://-based. These
were put above ftp://-based mirrors in priority. Moreover, the
MASTER_SITE_SOURCEWARE variable was manually expanded excluding the
notoriously slow Austrian mirror (gd.tuwien.ac.at) and distributing
the remaining three sites leaving the first at the top of the list as
it always has been.
Those are respectively appended to CFLAGS and CXXFLAGS on the matching arches
That avoid having to include .pre.mk just for selecting where to add CFLAGS