1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
Commit Graph

3963 Commits

Author SHA1 Message Date
Alberto Villa
0ea687f79f - Convert USES=ninja:verbose into NINJA_VERBOSE make.conf(5) switch.
Approved by:	portmgr (bapt)
2014-01-07 17:55:13 +00:00
Baptiste Daroussin
91e0982833 Add new uses ninja[:verbose]
This allows to use the ninja build system.
USES= cmake ninja
Will make cmake generate ninja files and use ninja.
2014-01-07 08:18:58 +00:00
Baptiste Daroussin
f85a8bf444 Add an internal variable to decide if DESTDIR should ve define in MAKE_ENV or MAKE_ARGS 2014-01-07 08:17:17 +00:00
Baptiste Daroussin
fd3075530d pkgng expect all non ascii code and '%' to be urlencoded in the comment
Reported by:	antoine
Tested by:	antoine
2014-01-06 23:34:29 +00:00
Max Brazhnikov
7d5e6b666c In preparation for Qt 5 ports:
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 :)
2014-01-06 16:16:52 +00:00
Antoine Brodin
3e57d15fbe - Remove USE_FAM, it has been replaced by USES=fam
- Add a developer error if it is set

Approved by:	portmgr (bapt)
2014-01-05 13:33:37 +00:00
Baptiste Daroussin
c2359aa2f6 Reinvokes portaudit a second time in case a problem has been reported. So if a refetch (or another temporary problem) caused the error it will succeed on a second attempt, while a correctly detected vulnerability will be detected a second time.
PR:		ports/168479
Submitted by:	Michael Gmelin <freebsd@grem.de>
2014-01-05 01:16:34 +00:00
Baptiste Daroussin
69b34815f7 Add the debian cdn as a first attempt for debian mirrors 2014-01-05 00:08:02 +00:00
Antoine Brodin
9081694510 Add new USES=fam that will replace USE_FAM=yes
The conversion is easy:
USE_FAM=yes -> USES=fam
USE_FAM=yes and WANT_FAM_SYSTEM=fam -> USES=fam:fam
USE_FAM=yes and WANT_FAM_SYSTEM=gamin -> USES=fam:gamin

Approved by:	portmgr (bapt)
2014-01-04 23:36:50 +00:00
Rene Ladan
6151ec7beb Disconnect lang/gcc34 from bsd.gcc.mk, it is not used by any port anymore.
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)
2014-01-04 15:49:15 +00:00
Baptiste Daroussin
56bc288a07 Add the forgotten targets to _STAGE_SUSEQ 2014-01-04 00:28:42 +00:00
Baptiste Daroussin
b420248356 Properly add targets to the sequence they belong to, that now makes them predictable 2014-01-04 00:26:03 +00:00
Baptiste Daroussin
ba951253f8 Add the end-user targets to .PHONY 2014-01-04 00:05:01 +00:00
Baptiste Daroussin
11e8713e2b Mark all targets defines in _SEQ and .ORDER has .PHONY which they all should be
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
2014-01-04 00:02:08 +00:00
Baptiste Daroussin
6905529b63 Add charsetfix-post-patch to _PATCH_SEQ 2014-01-03 23:45:50 +00:00
Baptiste Daroussin
48682c41de Add pathfix-pre-path to the _PATCH_SEQ and do not anymore make it a dependency of pre-patch
That makes applying the pathfix target predictable
2014-01-03 23:43:34 +00:00
Baptiste Daroussin
1b4b1006f8 Mark the -message targets as PHONY 2014-01-03 23:22:48 +00:00
Baptiste Daroussin
44868c3189 extract-message target definition was moved by mistake 2014-01-03 23:21:23 +00:00
Baptiste Daroussin
cafecb3515 Fix typos
Reported by:	kwm
2014-01-03 23:18:53 +00:00
Baptiste Daroussin
599a920e4a Remove 2 more target fallback 2014-01-03 23:12:57 +00:00
Baptiste Daroussin
b30d2c8526 Remove more now useless fallback targets 2014-01-03 23:05:37 +00:00
Baptiste Daroussin
7b3bd1cc0d Rework ordering and definition of targets.
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
2014-01-03 23:01:01 +00:00
Adam Weinberger
b1a67a2144 Make sure the MASTER_SITE_SOURCEFORGE is a +=, not a =, so that
it is still possible to choose a particular mirror in make.conf.
2014-01-03 14:23:01 +00:00
Adam Weinberger
b903e86a39 Remove FETCH_ARGS from github stuff in bsd.sites.mk. 2014-01-03 14:08:56 +00:00
Rene Ladan
df98d075e9 Ensure correct ownership of the licenses directory to avoid "leftovers" [1]
from that ports that modify the user/group.

[1] https://qat.redports.org/~rene@FreeBSD.org/20131227145600-2109-244247/boinc-setiathome-v7-7.00_2.log

Approved by:	portmgr (bapt)
2014-01-03 10:38:51 +00:00
Raphael Kubo da Costa
64e0e4b9f2 Use download.kde.org as the first option for MASTER_SITE_KDE.
After r338507 we can safely use download.kde.org (a CDN) by default for KDE
ports. It's most likely to be the fastest option.
2014-01-03 04:58:35 +00:00
Baptiste Daroussin
e9f1d757ca Use sourceforge CDN instead of trying ourself to maintain a list of mirrors.
PR:		ports/176290
Reported by:	Mikkel Georgsen <mikkel@georgsen.dk>
2014-01-03 00:10:51 +00:00
Baptiste Daroussin
d63eadee34 Allow to follow 302 redirection when fetching from http.
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
2014-01-03 00:02:08 +00:00
Steve Wills
03fdbd5ccf - Fix mkmf DESTDIR issue with patch from upstream
Obtained from:	http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/mkmf.rb?r1=41756&r2=41755&pathrev=41756
2014-01-02 20:46:29 +00:00
John Marino
f81a5397df Mk/bsd.sites.mk: Update GCC mirrors
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.
2014-01-02 19:16:50 +00:00
Steve Wills
9de02523dd - Add patch to bundled rdoc to fix issue which causes some ports to fail to
build

Obtained from:	f4f5b94285
2014-01-02 02:35:40 +00:00
Mathieu Arnold
c1facfeafb Replace a source of information that has disapeared[1] by another one[2]
Suggested by:	ohauer[1] eadler[2]
Approved by:	portmgr (implicit)
2013-12-30 23:06:37 +00:00
Olli Hauer
5e5f40cef5 - APACHE10 is not OSI Approved [1]
- fix AL2 in comment

[1] Regarding https://spdx.org/licenses/
[2] follow-up

Noted by mat@

PR:             ports/184785 [2]
Approved by:	portmgr (tabthorpe@) implicit
2013-12-30 22:56:00 +00:00
Olli Hauer
4fb1cfb1cd - rename AL2 to APACHE20 in Mk/bsd.licenses.db.mk
- svn move Templates/Licenses/AL2 Templates/Licenses/APACHE20
- add APACHE10 and APACHE11 to Mk/bsd.licenses.db.mk
- add entry in UPDATING
- bulk change all ports AL2 => APACHE20

- math/openfst/pkg-plist: remove share/licenses/openfst-1.3.4

PR:		ports/184785
Submitted by:	ohauer
Reviewed by:	tabthorpe
Approved by:	portmgr (tabthorpe@)
2013-12-30 20:55:18 +00:00
Koop Mast
2dba4b6fda Update to 1.2.2.
Remove vaapi from plugin list in bsd.gstreamer.mk it accidently snuck in.

Changelog: http://lists.freedesktop.org/archives/gstreamer-devel/2013-December/045238.html
2013-12-30 12:56:11 +00:00
Baptiste Daroussin
5982d9449d Patch has been applied twice before committing
Reported by:	antoine
2013-12-28 12:03:18 +00:00
David Naylor
e288e58754 Convert Mk/bsd.cran.mk to the Uses framework.
PR:		ports/184699
Reviewed by:	bapt
Approved by:	portmgr (bdrewery), wen (maintainer, timeout > 2 weeks)
2013-12-28 10:28:40 +00:00
Koop Mast
df03c2792b Update ltverhack.
Newer libtool doesn't put double qoutes around the argument anymore.
2013-12-27 16:05:36 +00:00
Baptiste Daroussin
ef9aea6687 New CFLAGS_${ARCH} and CXXFLAGS_${ARCH}
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
2013-12-27 10:46:54 +00:00
Baptiste Daroussin
a808a813e8 Improve the warning message about the deprecation of WITHOUT_NLS
Suggested by:	imp
2013-12-26 16:25:52 +00:00
Antoine Brodin
9ff26af3d4 - Remove USE_OPENAL code
- Add a developer error to bsd.sanity.mk if it is used

Approved by:	portmgr (bapt)
2013-12-26 06:51:03 +00:00
Antoine Brodin
6bf16e7311 Add new USES=openal, which will replace USE_OPENAL
The conversion is simple:
USE_OPENAL=yes -> USES=openal
USE_OPENAL=soft -> USES=openal:soft
USE_OPENAL=al alut -> USES=openal:al,alut
and so on

Approved by:	portmgr (bapt)
2013-12-25 23:24:54 +00:00
Alexey Dokuchaev
32bb1cf264 Traditionally, most (if not all) tamperings with ${TMPPLIST} were done
silently within the ports (similar to extraction and patching phases).

Recently introduced Mk/Uses/kmod.mk does some grunt work for pkg-plist,
like @[un]exec /usr/sbin/kldxref ... stuff via ${ECHO_CMD}, which makes
build logs less neat.  Mute them and MKDIR, remove an extra whitespace,
and wrap one overly long line.

Approved by:	rene
2013-12-25 16:43:24 +00:00
Rene Ladan
d06bb3f036 - Replace USE_DOS2UNIX target by a wrapper for USES=dos2unix
- Remove comments for USE_DOS2UNIX

This makes bsd.port.mk line-ending clean.

PR:		ports/184168
Submitted by:	myself
Approved by:	portmgr (bdrewery)
Exp-runs by:	bdrewery
2013-12-24 10:22:26 +00:00
Max Brazhnikov
adc20be473 - Don't remove rpath from binaries during install [1]
- Remove outdated comment

PR:		ports/176901 [1]
Submitted by:	amdmi3, avg
Exp-run by:	bdrewery
2013-12-22 14:04:37 +00:00
Baptiste Daroussin
6a2d5db265 Stop registering recursively dependencies into package with pkgng
pkg has a naive solver but good enough to properly order the dependencies
and not get into a missed dependency
pkg register is also able to figure out by itself lib_depends magically
added during the compilation.
2013-12-20 23:05:35 +00:00
Tijl Coosemans
b8737c7c89 Add the directory with GCC runtime libraries to LDFLAGS. This lets Clang
find the right libgcc_s when it links object files produced by gfortran.
2013-12-20 16:33:59 +00:00
Niclas Zeising
0406d5b04f Try to fix font handling for xorg fonts when using staging and pkgng.
This should silence all QAT messages about leftover font files.

Bump portrevision for all affected ports.

Original idea:		bapt
2013-12-19 10:49:00 +00:00
Marcus von Appen
f002f3a384 - Remove lang/python as implicit build and run dependency from
bsd.python.mk

  Ports need to use a designated python interpreter, whether this
  is the default one chosen by the user (or provided by the system)
  and pulled in via USE_PYTHON[_BUILD|_RUN]=yes or an explicit version
  or version range pulled in via USE_PYTHON[_BUILD|_RUN]=X.Y does not
  matter.

  Ports should however not rely on 'python' at build or installation
  time, whenever possible to avoid problems with building packages for
  different python versions.

  This change tries to raise the barrier for misbehaving ports and eases
  package builds for different python versions.

Tested with:	exp-run (ports/184591)
Reviewed by:	wg@, koobs@
Supported by:	wg@
With hat on:	python@
2013-12-18 17:21:49 +00:00
Baptiste Daroussin
09753f8230 Fix user belonging to multiple groups when a package is staged
Reported by:	flo
2013-12-18 00:03:53 +00:00