notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
non port: Mk/Uses/pathfix.mk

Number of commits found: 29

Friday, 30 Jun 2023
07:08 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/pathfix.mk: Add CMAKE_INSTALL_FULL_LIBDIR/pkgconfig pattern

It is used by devel/level-zero.
commit hash: 2416ef0c6af0196e04d058587c09604eaf0df721 commit hash: 2416ef0c6af0196e04d058587c09604eaf0df721 commit hash: 2416ef0c6af0196e04d058587c09604eaf0df721 commit hash: 2416ef0c6af0196e04d058587c09604eaf0df721 2416ef0
Sunday, 24 Apr 2022
10:00 Tobias C. Berner (tcberner) search for other commits by this committer
framework: cleanup conditional-indentations in Mk/

Run Tools/scripts/indent_make_if.pl on all of Mk.

These white space changes contribute greatly to the readability of those files.
As we have a version control system, finding out the reasons for the changes
prior to these white space changes is still easily possible

Differential Revision:	https://reviews.freebsd.org/D35024
Reviewed by:		portmgr (rene, bapt)
commit hash: aa2539679084872cd84112e9df6bfee571570623 commit hash: aa2539679084872cd84112e9df6bfee571570623 commit hash: aa2539679084872cd84112e9df6bfee571570623 commit hash: aa2539679084872cd84112e9df6bfee571570623 aa25396
09:29 Rene Ladan (rene) search for other commits by this committer
Mk: release portmgr maintainership of most USES files

Differential Revision: https://reviews.freebsd.org/D34936

Reviewed by:	desktop (tcberner), portmgr (tcberner), ruby (yasu), tijl
commit hash: 767d81e1296a49573aaa24dfc9677f801fddc6d4 commit hash: 767d81e1296a49573aaa24dfc9677f801fddc6d4 commit hash: 767d81e1296a49573aaa24dfc9677f801fddc6d4 commit hash: 767d81e1296a49573aaa24dfc9677f801fddc6d4 767d81e
Saturday, 9 Apr 2022
17:20 Muhammad Moinur Rahman (bofh) search for other commits by this committer
Mk/Uses: Add new pathfix expression

While working on Apertium ecosystem it looks like their entire 500+
applications uses hardcoded pkgconfigdir with (prefix)/share/pkgconfig.
This patch adds that regex for easier porting for the huge pile of
ports.

Reviewed by:	tcberner
Approved by:	portmgr
Differential Revision:	https://reviews.freebsd.org/D34780
commit hash: 5333878076d5416fe363f167fd722e0b51ac7369 commit hash: 5333878076d5416fe363f167fd722e0b51ac7369 commit hash: 5333878076d5416fe363f167fd722e0b51ac7369 commit hash: 5333878076d5416fe363f167fd722e0b51ac7369 5333878
Tuesday, 15 Mar 2022
13:45 Baptiste Daroussin (bapt) search for other commits by this committer
cleanup: remove unused letfovers from scrollkeeper
commit hash: 13977a9f03290d0580ad09f62d8903571cf7e4c2 commit hash: 13977a9f03290d0580ad09f62d8903571cf7e4c2 commit hash: 13977a9f03290d0580ad09f62d8903571cf7e4c2 commit hash: 13977a9f03290d0580ad09f62d8903571cf7e4c2 13977a9
Tuesday, 6 Apr 2021
14:27 Mathieu Arnold (mat) search for other commits by this committer
framework: Remove $FreeBSD$

Where appropriate fiddle with a few other things.
commit hash: 5d33e045968104ac678d8b4b4ec1e8956bbf68e0 commit hash: 5d33e045968104ac678d8b4b4ec1e8956bbf68e0 commit hash: 5d33e045968104ac678d8b4b4ec1e8956bbf68e0 commit hash: 5d33e045968104ac678d8b4b4ec1e8956bbf68e0 5d33e04
Thursday, 9 Jan 2020
13:01 swills search for other commits by this committer
Add QA warning about useless REINPLACE_CMD

Reviewed by:	mat, bdrewery, tobik
Approved by:	mat
Differential Revision:	https://reviews.freebsd.org/D22174
Original commitRevision:522484 
Thursday, 8 Mar 2018
09:08 gahr search for other commits by this committer
Fix pkgconfig path when used in CMAKE_INSTALL_DATAROOTDIR
Original commitRevision:463881 
Friday, 21 Oct 2016
15:19 mat search for other commits by this committer
Allow more than one filename to be pathfixed.

PR:		213195
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D8093
Original commitRevision:424426 
15:19 mat search for other commits by this committer
It feels safe to assume that if using autoreconf, you want to patch Makefile.am.

PR:		213195
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D8093
Original commitRevision:424425 
15:19 mat search for other commits by this committer
Add a few more paths to USES=pathfix.

PR:		213195
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D8093
Original commitRevision:424424 
Tuesday, 4 Oct 2016
06:18 tcberner search for other commits by this committer
Teach pathfix.mk about LIB_DESTINATION

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:	https://reviews.freebsd.org/D8141
Original commitRevision:423237 
Friday, 30 Sep 2016
17:45 tcberner search for other commits by this committer
Teach pathfix about KDE_INSTALL_LIBDIR for pkgconfig files.

Reviewed by:	rakuco, mat
Approved by:	portmgr (mat), mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D8029
Original commitRevision:423006 
Thursday, 7 Jan 2016
14:54 jhale search for other commits by this committer
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:	https://reviews.freebsd.org/D850
Reviewed by:	antoine, bapt, tijl
Approved by:	portmgr (bapt)
Original commitRevision:405449 
Thursday, 5 Nov 2015
12:35 mat search for other commits by this committer
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:	https://reviews.freebsd.org/D2735
Original commitRevision:400846 
Monday, 17 Aug 2015
13:31 mat search for other commits by this committer
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 bsd.port.mk, they are sorted
according to their priority.

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

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

_USES_configure+=  695:my-post-configure
my-post-configure:
	do something

To fine tune when the target is ran, look at the values in the *_SEQ
variables at the end of bsd.port.mk, and the other USES.

Allow ports Makefiles to override the priority of targets with the
TARGET_ORDER_OVERRIDE variable.  For example, to get post-install
running earlier, (its default is 700) do:

TARGET_ORDER_OVERRIDE=	  650:post-install

While there, add options target helpers for the do-* targets when they
exist.

Reviewed by:	antoine, bapt
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3099
Original commitRevision:394503 
Sunday, 28 Sep 2014
16:36 tijl search for other commits by this committer
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/cran.mk: remove unused variable VALID_ARGS and USES+=fortran which
  has no effect
- Uses/twisted.mk: simplify handling of the case where neither "build" nor
  "run" arguments have been specified

PR:		193931
Exp-run by:	antoine
Approved by:	portmgr (antoine)
Original commitRevision:369465 
Thursday, 25 Sep 2014
15:18 tijl search for other commits by this committer
- Set CPPFLAGS and LIBS in a number of ports so configure can find libintl.h
  and libintl.so.  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
  USE_GNOME=intlhack.

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

Exp-run by:	antoine
Approved by:	portmgr (antoine)
Original commitRevision:369260 
Thursday, 22 May 2014
06:42 bapt search for other commits by this committer
Rename pathfix-pre-patch target into pathfix to be consistent
Original commitRevision:354791 
Wednesday, 9 Apr 2014
12:45 koobs search for other commits by this committer
Mk/pathfix.mk: Support more pkgconfig libdir matches

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

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
Original commitRevision:350694 
Saturday, 15 Mar 2014
10:31 gerald search for other commits by this committer
Move MAINTAINER lines to the end of the initial comment block and
make things a bit more consistent.

Approved by:	portmgr (bapt)
Original commitRevision:348308 
Saturday, 4 Jan 2014
00:02 bapt search for other commits by this committer
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
Original commitRevision:338601 
Friday, 3 Jan 2014
23:43 bapt search for other commits by this committer
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
Original commitRevision:338598 
Wednesday, 20 Nov 2013
07:29 bapt search for other commits by this committer
Mark some targets .PHONY
Original commitRevision:334392 
Tuesday, 16 Apr 2013
15:45 kwm search for other commits by this committer
Add new replace line for pkg-config file location.

PR:		ports/177868
Submitted by:	myself
Approved by:	portmgr (bapt)
Feature safe:	yes
Original commitRevision:315827 
Monday, 11 Mar 2013
06:43 az search for other commits by this committer
- Change namespace for USES files
- Add missing colon

Approved by:	bapt@ (portmgr@)
Original commitRevision:313855 
Friday, 8 Mar 2013
15:04 bapt search for other commits by this committer
- Add a short usage description inside each Uses/*.mk
- Simplify logic for Uses/bison.mk and make error message more informative
- Add error handler for Uses/fuse.mk and Uses/pathfix.mk

Submitted by:	ak@, az@
Original commitRevision:313652 
Wednesday, 6 Mar 2013
15:12 bapt search for other commits by this committer
Add a newline to improve readability
Original commitRevision:313521 
14:28 bapt search for other commits by this committer
New USES macros that loads "features" on demand.

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

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

More features to come...
Original commitRevision:313517 

Number of commits found: 29