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
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

FInally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combinatio for a given watch list. This is what FreshPorts will look for.

non port: Mk/bsd.commands.mk

Number of commits found: 49

Thursday, 29 Feb 2024
20:21 Tijl Coosemans (tijl) search for other commits by this committer
Mk/*: Build with a clean environment

Both our make and gmake use the MAKEFLAGS environment variable but the
values aren't compatible and the latest version of gmake complains about
that.  To rule out that any environment variable can cause problems like
this, add a new command SETENVI=/usr/bin/env -i that clears the
environment, and use it to run upstream build systems with a clean
environment.

Introduce a new variable WRK_ENV that contains the environment to use
with SETENVI in all targets that run upstream build commands.  Variables
that are common between CONFIGURE_ENV and MAKE_ENV could be moved to
WRK_ENV but for now it just contains a minimal environment:

HOME=${WRKDIR}: Fixes USES=elixir ports that were using the user's HOME.
OSVERSION: For cross building; determines the output of uname -K and
getosreldate(3); affects net/freebsd-telnetd for example.
PATH: Fixes USES=gem ports that were using the user's PATH.
PWD=$${PWD}: Preserve current working directory; affects USES=go ports.
TERM: To preserve colored output to terminals.
TMPDIR: For users who define that.
UNAME_*: For cross building; determines the output of uname(1); affects
lang/python* for example.

This commit deals with everything under Mk/.  Ports that have their own
targets running upstream build commands can switch to SETENVI later.

The ports tree adds its definition of ARCH to the MAKEFLAGS environment
variable, which is interpreted by sub-makes as command line arguments,
which means that any definition of ARCH in upstream makefiles was
overridden.  The following ports required fixes now that this is no
longer the case.

games/iortcw, games/q3cellshading, games/tremulous:
These use Quake 3 engine code.  Fix use of ARCH.  Reduce diff between
FreeBSD code and Linux code.

games/legesmotus:
Remove ARCH related patches.

lang/ocaml:
Patch configure script so it detects amd64 correctly.  Also make the
powerpc case consistent with the other architectures.  This also affects
other ocaml ports like devel/ocaml-ocamlbuild and math/ocaml-num that
include a Makefile.config installed by lang/ocaml.  While here, use
SETENVI in check-test target.

net/libnatpmp:
Use of upstream definition of ARCH triggers installation in PREFIX/lib64
on amd64.  Disable this.

PR:		276478
Approved by:	portmgr (antoine)
Exp-run by:	antoine
commit hash: 572f2361692640bc27729191b1267aa3fcc354a7 commit hash: 572f2361692640bc27729191b1267aa3fcc354a7 commit hash: 572f2361692640bc27729191b1267aa3fcc354a7 commit hash: 572f2361692640bc27729191b1267aa3fcc354a7 572f236
Saturday, 20 Jan 2024
17:57 Tijl Coosemans (tijl) search for other commits by this committer
Mk/bsd.commands.mk: Fix pre-commit error about indentation
commit hash: 2aaa08ffa716e7a6673128b41d6098aa5323e611 commit hash: 2aaa08ffa716e7a6673128b41d6098aa5323e611 commit hash: 2aaa08ffa716e7a6673128b41d6098aa5323e611 commit hash: 2aaa08ffa716e7a6673128b41d6098aa5323e611 2aaa08f
Tuesday, 10 Oct 2023
11:58 Baptiste Daroussin (bapt) search for other commits by this committer
config: switch from dialog4ports to portconfig

dialog4ports is using libdialog which is being decommissioned from
base replaced by bsddialog. We cannot switch to depending on
devel/cdialog because it build depends on too many things, on the other
hand the author of bsddialog made portconfig as a drop-in replacement
for dialog4ports, it only build depends on devel/bsddialog (we use
the version in port to be sure to have the right version on all
supported versions of the ports tree)

Reported by:	Herbert J. Skuhra" <herbert@gojira.at>
commit hash: 0e73ed9372f074ba59d40b66b95c878a7f36702e commit hash: 0e73ed9372f074ba59d40b66b95c878a7f36702e commit hash: 0e73ed9372f074ba59d40b66b95c878a7f36702e commit hash: 0e73ed9372f074ba59d40b66b95c878a7f36702e 0e73ed9
07:13 Baptiste Daroussin (bapt) search for other commits by this committer
dialog: fallback on bsddialog

dialog(1) is being replaced by bsddialog(1) in base, prepare the
the ports tree to deal with it.
commit hash: 092b321f7a57f033689c9b396cb001aa38cc5f43 commit hash: 092b321f7a57f033689c9b396cb001aa38cc5f43 commit hash: 092b321f7a57f033689c9b396cb001aa38cc5f43 commit hash: 092b321f7a57f033689c9b396cb001aa38cc5f43 092b321
Thursday, 16 Feb 2023
15:51 Baptiste Daroussin (bapt) search for other commits by this committer Author: Mateusz Guzik
SMP: Use nproc(1) instead of sysctl kern.smp.cpus

The former respects cpuset, while the latter does not.

$ cpuset -l 1 -- make -V MAKE_JOBS_NUMBER
1

As nproc is newly introduced, keep the previous variant as a fallback
for the time being.

Differential Revision:	https://reviews.freebsd.org/D38457
commit hash: e3a17d6ec3d43f5af6cf259ac1cbc26ba0c83c73 commit hash: e3a17d6ec3d43f5af6cf259ac1cbc26ba0c83c73 commit hash: e3a17d6ec3d43f5af6cf259ac1cbc26ba0c83c73 commit hash: e3a17d6ec3d43f5af6cf259ac1cbc26ba0c83c73 e3a17d6
Wednesday, 20 Jul 2022
19:40 Tobias C. Berner (tcberner) search for other commits by this committer
cleanup: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  Akinori MUSHA <knu@FreeBSD.org>
  *  Alejandro Pulver <alepulver@FreeBSD.org>
  *  Edwin Groothuis <edwin@freebsd.org>
  *  Ernst de Haan <znerd@FreeBSD.org>
  *  Florent Thoumie <flz@FreeBSD.org>
  *  Gabor Kovesdan <gabor@FreeBSD.org>
  *  Mark Linimon <linimon@FreeBSD.org>
  *  Shaun Amott <shaun@inerd.com>

With hat:	portmgr
Reported by:	mat
commit hash: 2c54d261a63d7af9bef550ad62b7a47e20c7b05f commit hash: 2c54d261a63d7af9bef550ad62b7a47e20c7b05f commit hash: 2c54d261a63d7af9bef550ad62b7a47e20c7b05f commit hash: 2c54d261a63d7af9bef550ad62b7a47e20c7b05f 2c54d26
Friday, 18 Feb 2022
18:15 Joseph Mingrone (jrm) search for other commits by this committer
Mk/Uses: Add elfctl

Add USES=elfctl to change an ELF binary's feature control note.

Example:

USES=           elfctl
ELF_FEATURES=   +noaslr,wxneeded:foo

Reported by:	emaste
Approved by:	brooks, tcberner (portmgr)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D34125
commit hash: 092c4b37c1802b46f3c54244e5880d4bf7515c0b commit hash: 092c4b37c1802b46f3c54244e5880d4bf7515c0b commit hash: 092c4b37c1802b46f3c54244e5880d4bf7515c0b commit hash: 092c4b37c1802b46f3c54244e5880d4bf7515c0b 092c4b3
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
Tuesday, 20 Feb 2018
22:25 bdrewery search for other commits by this committer
Remove debugging
Original commitRevision:462459 
22:25 bdrewery search for other commits by this committer
Rework r462455: soeliminate never made it to a release, was only in 11-CURRENT.

Reported by:	antoine
Approved by:	portmgr (implicit)
Original commitRevision:462458 
22:10 bdrewery search for other commits by this committer
Avoid fstat(/usr/bin/soeliminate) for every port when building INDEX.

Approved by:	portmgr (implicit)
Original commitRevision:462455 
Thursday, 20 Apr 2017
11:13 mat search for other commits by this committer
Add a RLN command (relative ln), it can be used to create relative
symlinks using install's relative symlinks feature.

If you were going through hoops doing things like this to get relative
symlinks:

  ${LN} -sf ../lib/some/thing ${STAGEDIR}${PREFIX}/bin

You can now use full paths for both the source and destination:

  ${RLN} ${STAGEDIR}${PREFIX}/libexec/some/thing ${STAGEDIR}${PREFIX}/bin

One caveat is that the source must exist when this is run, because
install needs to run realpath(1) on it.

Sponsored by:	Absolight
Original commitRevision:438938 
Tuesday, 11 Apr 2017
14:22 amdmi3 search for other commits by this committer
Use dedicated macro FMT_80 instead of ${FMT} 75 79 magical constants

Suggested by:	mat
Approved by:	portmgr (mat)
Differential Revision:	D10342
Original commitRevision:438265 
Wednesday, 18 Jan 2017
13:20 tijl search for other commits by this committer
The output of tools like awk, date, sort, tr,... depends on the current
locale set by the user.  Add LANG=C and LC_ALL=C at the beginning of
bsd.port.mk and export them so all commands are executed with the C locale.
LC_ALL=C overrides all other LC_* variables.  LANG is used by setlocale(3)
as default value for LC_* variables, so normally it isn't used when LC_ALL
is set, but there's code out there that looks at LANG directly so it's safer
to set it as well.  The only commands not captured by this are !=
assignments before any inclusion of bsd.port.*mk.

Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to
CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a
different locale (e.g. USE_LOCALE=en_US.UTF-8).

PR:		215882
Exp-run by:	antoine
Approved by:	portmgr (antoine)
Original commitRevision:431796 
Thursday, 1 Dec 2016
21:29 swills search for other commits by this committer
Rename PKG_CMD to PKG_REGISTER

Submitted by:	bapt
Differential Revision:	https://reviews.freebsd.org/D8677
Original commitRevision:427523 
Friday, 2 Sep 2016
15:54 emaste search for other commits by this committer
Introduce READELF?= /usr/bin/readelf

In many cases where objdump is currently used, readelf is a better
choice. Introduce a variable for ports that wish to use it.

Reviewed by:	bapt
Approved by:	portmgr
Differential Revision:	https://reviews.freebsd.org/D7761
Original commitRevision:421268 
Monday, 23 Mar 2015
04:03 bdrewery search for other commits by this committer
Introduce a BSDMAKE?= /usr/bin/make and use it as the default MAKE_CMD.

With hat:	portmgr
Original commitRevision:381977 
Saturday, 22 Nov 2014
01:48 bapt search for other commits by this committer
Fix typo
Original commitRevision:373028 
01:41 bapt search for other commits by this committer
Define SOELIM
If base have the new soeliminate(1) then use it first otherwise fallback on
groff's soelim
Original commitRevision:373025 
Monday, 1 Sep 2014
13:03 bapt search for other commits by this committer
Remove support for pkg_install
Merge back bsd.pkgng.mk into bsd.port.mk
Add a note about @stopdaemon not being supported anymore

With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D693
Original commitRevision:366875 
Sunday, 20 Jul 2014
18:56 bdrewery search for other commits by this committer
- Always pass '-f' with ${RM}. This fixes many ports when building as a user
  and not root. They were asking for confirmation.

Reported by:	jhb
Phabric:	D111
Reviewed by:	bapt, antoine
With hat:	portmgr
Original commitRevision:362347 
Wednesday, 18 Jun 2014
12:35 bapt search for other commits by this committer
Revert a commit that should not have crept in
Original commitRevision:358268 
07:28 bapt search for other commits by this committer
tabspace: 8
Original commitRevision:358219 
Thursday, 22 May 2014
09:51 ak search for other commits by this committer
- Use /usr/bin/unzip for zip files extraction (part 1)

PR:	ports/188419
Exp-run:	bdrewery
Approved by:	portmgr (bapt)
Original commitRevision:354818 
Monday, 13 Jan 2014
07:28 bapt search for other commits by this committer
xz being included in all supported base system, remove code using version
from ports
while here properly define XSCAT is is used to allow xzed patches.

PR:		ports/185725
Submitted by:	naddy
Original commitRevision:339573 
Monday, 2 Sep 2013
13:26 tijl search for other commits by this committer
Two imake related changes:

1) Move -a from XMKMF command variable to a new XMKMF_ARGS variable.
   For ports that don't need -a introduce USES=imake:notall.
   This way ports no longer have to redefine XMKMF.

2) xmkmf -a runs imake with the flags in IMAKECPPFLAGS as extra arguments
   to set CPP, CC and CXX.  This creates the top Makefile, and then xmkmf
   runs make Makefiles.  This Makefiles target runs imake for each
   subdirectory but these imake invocations did not have the flags from
   IMAKECPPFLAGS so the resulting makefiles used the wrong C preprocessor
   when clang is used (/usr/bin/cpp instead of /usr/local/bin/tradcpp).
   Instead of letting xmkmf pass IMAKECPPFLAGS from the environment to
   imake let imake handle IMAKECPPFLAGS itself just like it handles
   IMAKEINCLUDE.

   This exposed configure errors in x11-clocks/mouseclock and x11-wm/fvwm.

Approved by:	portmgr (bapt)
Original commitRevision:325992 
Tuesday, 30 Jul 2013
06:32 bapt search for other commits by this committer
Define MAKE_CMD in post.mk to allow anything to overwrite it
Original commitRevision:323942 
05:32 bapt search for other commits by this committer
Define a new MAKE_CMD command
Original commitRevision:323938 
Saturday, 29 Jun 2013
09:16 bapt search for other commits by this committer
Readd the YACC command definition removed by mistake
Original commitRevision:322033 
09:01 bapt search for other commits by this committer
This time USE_IMAKE is totally gone
Original commitRevision:322032 
Friday, 31 May 2013
16:09 miwi search for other commits by this committer
- Add PS_CMD

PR:		176118
Submitted by:	zi
Tested via:	ph-w exp-run
Original commitRevision:319530 
Thursday, 30 May 2013
14:43 bdrewery search for other commits by this committer
- Use pkg-static as PKG_BIN which is safer during upgrades if
  libpkg.so disappears.

With hat:	portmgr
Reviewed by:	bapt
Original commitRevision:319431 
Tuesday, 19 Mar 2013
09:27 bapt search for other commits by this committer
Make the ports tree use dialog4ports for make config.

dialog4ports has been contributed by Ilya A. Arkhipov. It extends dialog(3) to
provide a mixed dialog widget allowing to represent all features provide by the
new options framework.

This allows the ports tree to not anymore depends on dialog(1) from base to
configure
the options and be able to improve if needed on all supported plateforms at the
same time.

Exp-run by:	miwi
Original commitRevision:314628 
Thursday, 7 Mar 2013
17:08 miwi search for other commits by this committer
- Add new knob USE_LHA [1]
- Convert few ports to USE_LHA [1]
- Revert r303619 since CONFIGURE_ENV already sets CPPFLAGS and LDFLAGS by
default. [2]

PR:		176187 [1]
		174790 [2]
Submitted by:	Christoph Mallon <christoph.mallon@gmx.de> [1]
		Gerald Pfeifer <gerald@pfeifer.com> [2]
Original commitRevision:313600 
Friday, 12 Oct 2012
07:47 bapt search for other commits by this committer
Fix typo

Submitted by:	John Hein <jhein@symmetricom.com>
Feature safe:	yes
Original commitRevision:305763 
Wednesday, 10 Oct 2012
13:12 bapt search for other commits by this committer
Add a part forgotten in previous commit concerning switching to pkgng
Original commitRevision:305658 
Tuesday, 9 Oct 2012
17:18 bapt search for other commits by this committer
- add STAT to bsd.commands.mk
- use ${STAT} -f \"%z\" in make makesum to calculate size
- speed up USE_PKGCONFIG by using a more efficient syntax [1]
  and test in the order it is most expected to appear: "yes/build"
  first, "both" second, "run being the last one.

Reported by:	dougb [1]
Exp-Run by:	beat
Original commitRevision:305595 
Monday, 3 Sep 2012
20:42 linimon search for other commits by this committer
Add JOT command.

PR:		ports/159725
Submitted by:	crees
Original commitRevision:303618 
Wednesday, 23 May 2012
08:17 miwi search for other commits by this committer
- Remove emacs mode, -*- mode: ...; -*- [1]
- Comments for BUILD_ and RUN_DEPENDS fail to mention alternate means to specify
dependencie [2]
- Fix make reinstall [3]
- Trivial comment change for PORTDATA [4]

PR:             151954 [1]
                161314 [2]
                167085 [3]
                167465 [4]
Submitted by:   Anonymous <swell.k@gmail.com> [1]
                dougb@ and Chris Rees <utisoft@gmail.com> [2]
                Garrett Cooper <yanegomi@gmail.com> [3]
                "Bryan Drewery" <bryan@shatow.net> [4]
Tested via:     phw
Original commit
Wednesday, 22 Feb 2012
17:34 bapt search for other commits by this committer
- only include bsd.pkgng.mk once [1]
- only read bsd.pkgng.mk in post.mk [1]
- move the command definition to bsd.command.mk [1]
- fix check-vulnerable [2]

Submitted by:   avilla [1], rene [2]
Original commit
Friday, 23 Dec 2011
16:19 crees search for other commits by this committer
Correct comment advising how to use sudo as SU_CMD; doesn't work unless
environment is preserved

PR:             ports/162273
Submitted by:   crees
Approved by:    portmgr (linimon)
Original commit
Wednesday, 4 May 2011
22:33 flz search for other commits by this committer
Latest round of infrastructure changes.

- bsd.port.mk: add INDEX_PORTS, to support INDEX creation for a subset of the
ports tree [1]
- bsd.port.mk: call target "install-rc-script" before "post-install" [2]
- [patch] ports/Mk bsd.port.mk order if groups/users are created by package [3]
- [bsd.port.mk] [patch] reaper of the dead: md5 has been in /sbin for a while
[4]
- [bsd.port.mk] [patch] remove support for pre 7.x systems (b.*.m) [5]
- [patch] [bsd.port.mk] reaper of the dead: are three variable defintions needed
[6]

PR:             ports/156575 [1],
                ports/139116 [2],
                ports/152498 [3],
                ports/155983 [4],
                ports/155510 [5],
                ports/156340 [6]
Submitted by:   Florent Thoumie <flz@xbsd.org> [1],
                Sergey Skvortsov <skv@freebsd.org> [2],
                Olli Hauer <ohauer@FreeBSD.org> [3],
                Eitan Adler <lists@eitanadler.com> [4],
                Eitan Adler <lists@eitanadler.com> [5],
                Eitan Adler <lists@eitanadler.com> [6]
Original commit
Monday, 8 Nov 2010
04:47 fjoe search for other commits by this committer
Document how to use "sudo" instead of "su" in SU_CMD.

Approved by:    pav
Original commit
Friday, 20 Aug 2010
12:15 pav search for other commits by this committer
- Fix plist leftovers when using LICENSE framework and having @cwd command in
  plist

PR:             ports/147296
Submitted by:   beat

- Provide end-user DISABLE_LICENSES knob to disable licensing framework

PR:             ports/149070
Submitted by:   amdmi3

- Include bsd.gnome.mk when INSTALLS_ICONS is defined

PR:             ports/148051
Submitted by:   amdmi3

- Disable xz memory limit to fix port builds on low-memory systems

PR:             ports/148250
Submitted by:   Warren Block <wblock@wonkity.com>

- Remove compatibility shim for 6.3-RELEASE and older in describe target

PR:             ports/146067
Submitted by:   Alex Kozlov <spam@rm-rf.kiev.ua>

- Remove INSTALLS_SHLIB

PR:             ports/146351
Submitted by:   Alex Kozlov <spam@rm-rf.kiev.ua>

- Remove last trace of APACHE_COMPAT

PR:             ports/147114
Submitted by:   pgollucci

- Allow ports to override _MAKE_JOBS

PR:             ports/148754
Submitted by:   Anonymous <swell.k@gmail.com>

- Fixes to comments block

PR:             ports/135649, ports/148190
Submitted by:   pgollucci, gcooper
Original commit
Friday, 4 Jun 2010
08:09 pav search for other commits by this committer
- Introduce a new USE_XZ knob that handles lzma/xz compressed distfiles
- Convert a bunch of ports to use it

PR:             ports/146329
Submitted by:   mm
With hat:       portmgr
Original commit
Monday, 3 Aug 2009
15:36 miwi search for other commits by this committer
  - Move pkg_install commands detection to bsd.commands.mk
    PR:         135663
    Submitted:  Yuri Pankov <yuri.pankov@gmail.com>
  - Add default FLEX command to bsd.commands.mk
    PR:         137026
    Submitted:  gahr@

Tested by:      pointyhat exp-build run
Original commit
Monday, 14 Apr 2008
16:46 pav search for other commits by this committer
Support @rmtry in pkg-plist, analogous to @dirrmtry but for single file rm.

PR:             ports/116219
Submitted by:   edwin

Make USE_DISPLAY more general: set up virtual X server when USE_DISPLAY is
defined and no DISPLAY variable is in environment; pass DISPLAY value in
CONFIGURE_ENV and MAKE_ENV.

PR:             ports/116244
Submitted by:   edwin

Define ${PW}.

PR:             ports/119821
Submitted by:   Matthew Seaman <m.seaman@infracaninophile.co.uk>

Move SHA256, MD5, GMAKE and XMKMF to bsd.commands.mk.

PR:             ports/119879
Submitted by:   edwin

Fix a build failure for ports that define their own MTREE File.

PR:             ports/120200
Submitted by:   dinoex

Don't recreate mtree symlinks if they are already present.

PR:             ports/121681
Submitted by:   sobomax

Fix LIB_DEPENDS for libraries whose name contains plus sign. Both intuitive and
old escaped syntax works.

PR:             ports/121741 (based on)
Submitted by:   fjoe

Disable post-install security checks if DISABLE_SECURITY_CHECK variable is
defined.

PR:             ports/122224
Submitted by:   Bjoern Koenig <bkoenig@alpha-tierchen.de>

Remove versioned Tcl/Tk categories.

PR:             ports/122622
Submitted by:   pav
Original commit
Tuesday, 11 Mar 2008
23:31 pav search for other commits by this committer
- Add UNMAKESELF_CMD (fixing USE_MAKESELF feature)

PR:             ports/118749
Submitted by:   alepulver
Original commit
Saturday, 4 Aug 2007
11:37 gabor search for other commits by this committer
- Extract command variable definitions from bsd.port.mk, they are now stored in
  bsd.commands.mk and can be easily reused within the infrastructure.
- Revert old DESTDIR implementation.
- Add a new, fully chrooted DESTDIR implementation as bsd.destdir.mk.

Sponsored by:   Google Summer of Code 2007
Approved by:    portmgr (pav)
Original commit

Number of commits found: 49