notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
non port: Mk/Uses/

Number of commits found: 24

Tue, 6 Apr 2021
[ 14:27 mat (Mathieu Arnold) ]    commit hash:5d33e045968104ac678d8b4b4ec1e8956bbf68e0  5d33e04  (Only the first 10 of 224 ports in this commit are shown above. View all ports for this commit)
framework: Remove $FreeBSD$

Where appropriate fiddle with a few other things.
Thu, 9 Jan 2020
[ 13:01 swills ] Original commit   Revision:522484
Add QA warning about useless REINPLACE_CMD

Reviewed by:	mat, bdrewery, tobik
Approved by:	mat
Differential Revision:
Thu, 8 Mar 2018
[ 09:08 gahr ] Original commit   Revision:463881
Fix pkgconfig path when used in CMAKE_INSTALL_DATAROOTDIR
Fri, 21 Oct 2016
[ 15:19 mat ] Original commit   Revision:424426
Allow more than one filename to be pathfixed.

PR:		213195
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:
[ 15:19 mat ] Original commit   Revision:424425
It feels safe to assume that if using autoreconf, you want to patch

PR:		213195
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:
[ 15:19 mat ] Original commit   Revision:424424
Add a few more paths to USES=pathfix.

PR:		213195
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:
Tue, 4 Oct 2016
[ 06:18 tcberner ] Original commit   Revision:423237

Some cmake projects use LIB_DESTINATION/pkgconfig to install the pc-files.

For example:
* deskutils/libstreamanalyzer
* sysutils/polkit-qt{,5}
* x11-toolkits/attica

By adding this, we can convert these ports to use pathfix instead of an
uncessessary patch-foo or confusing sed call.

Reviewed by:	mat
Approved by:	portmgr (mat), mat (mentor)
Differential Revision:
Fri, 30 Sep 2016
[ 17:45 tcberner ] Original commit   Revision:423006
Teach pathfix about KDE_INSTALL_LIBDIR for pkgconfig files.

Reviewed by:	rakuco, mat
Approved by:	portmgr (mat), mat (mentor)
Differential Revision:
Thu, 7 Jan 2016
[ 14:54 jhale ] Original commit   Revision:405449 (Only the first 10 of 12 ports in this commit are shown above. View all ports for this commit)
Add USES=pathfix support for CMake.  Some ports that use CMake to build
already had USES=pathfix, although it did nothing.  For those ports, I
either removed it as they were handling the pkgconfig files differently
or I removed patches and substitutions that accomplished the same thing
as pathfix.

Differential Revision:
Reviewed by:	antoine, bapt, tijl
Approved by:	portmgr (bapt)
Thu, 5 Nov 2015
[ 12:35 mat ] Original commit   Revision:400846
Change the meaning of NO_WRKSUBDIR to force a WRKDIR != WRKSRC.

Right now, NO_WRKSUBDIR means that the extraction does not produce a
subdirectory, and that everything goes straight into WRKDIR.  It is
problematic, because during the build of a port, quite a few files are
created in there, and then, a stage directory, where everything is
installed, and then a pkg directory where the package is created, and
those often conflict, or get in the way, of the building process.

With this, NO_WRKSUBDIR will extract the distfiles directly into WRKSRC
instead of WRKDIR.  In this case, WRKSRC is artificial and is based on
PKGNAME and not DISTNAME, mitigate conflicts with rc files.

PR:		204056
Submitted by:	mat
Reviewed by:	bapt
Exp-run:	antoine
Sponsored by:	Absolight
Differential Revision:
Mon, 17 Aug 2015
[ 13:31 mat ] Original commit   Revision:394503 (Only the first 10 of 17 ports in this commit are shown above. View all ports for this commit)
Rewrite the target ordering code.

The targets now have priority assigned to them, and, when the dependency
ordering magic is done at the end of, they are sorted
according to their priority.

This allows USES to add targets easily and have them run whenever they
want without touching

To add a target that runs just before post-configure run, do:

_USES_configure+=  695:my-post-configure
	do something
(Only the first 15 lines of the commit message are shown above View all of this commit message)
Sun, 28 Sep 2014
[ 16:36 tijl ] Original commit   Revision:369465 (Only the first 10 of 53 ports in this commit are shown above. View all ports for this commit)
Change the way USES is handled:
- Loop over USES twice, once to define all *_ARGS variables and once to
  include Uses/*.mk.  This allows all Uses/*.mk to examine arguments given
  to other USES entries.
- Always define *_ARGS (possibly empty) and replace commas with spaces.

Similar for _USES_POST.

Adjust all Uses/*.mk:
- defined(u_ARGS) becomes !empty(u_ARGS)
- Eliminate helper variables like _*_ARGS=${*_ARGS:C/,/ /g}
- Some Uses/*.mk used ":" as argument separator instead of ",", but no port
  used this form
- Uses/ remove unused variable VALID_ARGS and USES+=fortran which
  has no effect
- Uses/ simplify handling of the case where neither "build" nor
  "run" arguments have been specified

PR:		193931
Exp-run by:	antoine
Approved by:	portmgr (antoine)
Thu, 25 Sep 2014
[ 15:18 tijl ] Original commit   Revision:369260 (Only the first 10 of 56 ports in this commit are shown above. View all ports for this commit)
- Set CPPFLAGS and LIBS in a number of ports so configure can find libintl.h
  and  This fixes a problem where DATADIRNAME gets an incorrect
  value which causes locale files to be installed in the wrong place.
- The only configure checks that still need to be patched are related
  to intltool so move DATADIRNAME patching from USES=pathfix to

- games/klavaro: remove excessive dependencies
- japanese/libskk: add INSTALL_TARGET=install-strip
- math/libqalculate: add INSTALL_TARGET=install-strip and remove pthread
- multimedia/freetuxtv: remove excessive dependencies
- science/gramps: fix shared-mime-info use

Exp-run by:	antoine
Approved by:	portmgr (antoine)
Thu, 22 May 2014
[ 06:42 bapt ] Original commit   Revision:354791
Rename pathfix-pre-patch target into pathfix to be consistent
Wed, 9 Apr 2014
[ 12:45 koobs ] Original commit   Revision:350694
Mk/ Support more pkgconfig libdir matches

Add support for matching additional pkgconfig libdir entries
that were found in Python's

It can also be used by other ports [1] by setting PATHFIX_MAKEFILEIN to the
appropriate filename in ${WRKSRC}.

If this file grows support for other pathfix'es beyond Makefile's and
autoconf sources, it may be worth renaming PATHFIX_MAKEFILEIN in future
to suit the broader scope.

[1] Examples: devel/ptlib, graphics/zathura (thanks antoine)

Reviewed by:	antoine
Approved by:	antoine (exp-run)
MFH:		2014Q2
Sat, 15 Mar 2014
[ 10:31 gerald ] Original commit   Revision:348308 (Only the first 10 of 47 ports in this commit are shown above. View all ports for this commit)
Move MAINTAINER lines to the end of the initial comment block and
make things a bit more consistent.

Approved by:	portmgr (bapt)
Sat, 4 Jan 2014
[ 00:02 bapt ] Original commit   Revision:338601
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
Fri, 3 Jan 2014
[ 23:43 bapt ] Original commit   Revision:338598
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
Wed, 20 Nov 2013
[ 07:29 bapt ] Original commit   Revision:334392
Mark some targets .PHONY
Tue, 16 Apr 2013
[ 15:45 kwm ] Original commit   Revision:315827
Add new replace line for pkg-config file location.

PR:		ports/177868
Submitted by:	myself
Approved by:	portmgr (bapt)
Feature safe:	yes
Mon, 11 Mar 2013
[ 06:43 az ] Original commit   Revision:313855
- Change namespace for USES files
- Add missing colon

Approved by:	bapt@ (portmgr@)
Fri, 8 Mar 2013
[ 15:04 bapt ] Original commit   Revision:313652
- Add a short usage description inside each Uses/*.mk
- Simplify logic for Uses/ and make error message more informative
- Add error handler for Uses/ and Uses/

Submitted by:	ak@, az@
Wed, 6 Mar 2013
[ 15:12 bapt ] Original commit   Revision:313521
Add a newline to improve readability
[ 14:28 bapt ] Original commit   Revision:313517
New USES macros that loads "features" on demand.

First feature implemented: pathfix which will lookup in WRKSRC for
and configure and fix common path that doesn't fit with FreeBSD hier(7)

This is an extract of's gnomehack to avoid porters to have to load
the full just for this feature

More features to come...

Number of commits found: 24