MAKE_ENV or CONFIGURE_ENV. I.e., don't set PATH in MAKE_ENV twice as
env(1) only takes one, in which case some ports fail to build. One
example is any USES=ada port (such as textproc/xmlada). Instead,
add the ccache path into PATH via := and let it fall into there
via the sourcing port's MAKE_ENV=PATH=...:${PATH} line.
A more comprehensive solution to this could be to add a MACRO/feature
to modify the PATH for all ports without using MAKE_ENV via
something like ADDPATH=...
With hat: portmgr
Tested by: several exp-runs
an zeising, kwm, miwi, bapt, eadler production:
Xorg 7.7
Starring:
xserver 1.12.4 (new xorg only)
Mesa 8.0.4, including libGL, libGLU and dri (new xorg only)
libX11 1.5.0
libxcb 1.9
libdrm 2.4.42 (new xorg only)
freeglut 2.8.1
Also starring:
Updates to drivers and other libraries and utilities
Additional notes:
Change pkgconf to be a build dependency.
Add a new USE_XORG, xcb, to depend on libxcb and update all ports to use
this.
Trim makefile headers.
Take maintanership of x11/xcb-proto, ok'd by ashish.
If you are running WITH_NEW_XORG=, you need to rebuild all installed
drivers, see UPDATING for more information.
Various fixes to make ports compile.
PR: ports/177942
Exp-run by: miwi
Approved by: portmgr (miwi)
Thanks to all who helped testing!
if none of DISABLE_MAKE_JOBS or MAKE_JOBS_UNSAFE or
MAKE_JOBS_SAFE or FORCE_MAKE_JOBS were set. This fixes
the build for several ports updated in r317320.
Reported by: miwi
With hat: portmgr
* Meta port
- print/texlive-full: meta port to install all of the TeXLive components
* Libraries
- devel/tex-kpathsea: kpathsea library
- devel/tex-web2c: WEB2C toolchain and TeX engines
- print/tex-ptexenc: character code conversion library for pTeX
* Base part of the TeXLive
- print/texlive-base: binary programs in TeXLive
- print/texlive-texmf: macro and font data in TeXLive
- print/texlive-infra: tlmgr dependency (Perl modules)
* TeX Formats
- print/tex-formats: TeX, LaTeX, PDFTeX, AMSTeX, ConTeXT, CSLaTeX,
EplainTeX, METAFONT, MLTeX, PDFTeX, TeXsis
- print/tex-aleph: Aleph/Lambda
- print/tex-xetex: XeTeX
- print/tex-luatex: LuaTeX
- print/tex-jadetex: JadeTeX
- print/tex-xmltex: XMLTeX
- japanese/tex-ptex: pTeX
* DVI ware
- print/tex-xdvik: XDvi
Mk/bsd.tex.mk is added for common part and USE_TEX knob [1].
Approved by: portmgr (old version) [1]
PR: ports/171571
PR: ports/176399 [1]
MAKE_JOBS_NUMBER to 1. This makes it safe to do -j${MAKE_JOBS_NUMBER}
without any extra logic.
- Cleanup ports working around the empty MAKE_JOBS_NUMBER
- This also fixes several ports that were expecting MAKE_JOBS_NUMBER
to always have a number
Reviewed by: bapt
Spotted by: John Marino <draco@marino.st>
With hat: portmgr
Please note that bmake it only supported on current starting at r250164:
- make sure bmake treats -V as expected [1]
- tell bmake we use the old :L :U modifiers [1]
- workaround an incompatible loop syntax using bmake's inline loop [1]
- avoid forking a shell to get the CKSUMFILES which gives a make(1)/bmake(1) compatible syntax [2]
Submitted by: sjg[1]
Obtained from: dports[2]
For a while now bsdtar is able to autotermine compression and archive format.
Let's then use tar directly instead of piping to tar.
Now USE_BZIP2 and USE_XZ only set EXTRACT_SUFX to the right format
This macros has been useless since cdrtools-cjk port has gone.
This macros also lead to badly handled dependencies assuming that the dependency
on cdrtools was most BUILD and RUN dependency. While most of the time it is
simply a RUN dependency and sometime a build one.
While here:
- Trim some headers
- Convert some ports to optionsng
- Convert some ports to USES= gettext
- Add CCACHE_DIR
The MAKE_ENV/CONFIGURE_ENV+= method of adding CCACHE_DIR
in /etc/make.conf does not work for many ports since they
overwrite using = instead of appending with +=. By adding
CCACHE_DIR into the ENV variables after reading in the port
the directory is properly set in the environment. Without
this, the ccache support would sometimes work but incorrectly
not respect the set CCACHE_DIR, potentially using 2 caches.
With hat: portmgr
This has 2 effects:
- it caches lots of things autotools are looking for and we know that are
already on FreeBSD (speeding up configure scripts)
- it forces the autotool enable build chain to use by default commands from the
base system like sed, awk, cp, bzip2, gzip etc
To overwrite things set in config.site just add the variable in CONFIGURE_ENV
within your port
Please help us to add new values in this config.site
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/foo/bar:target
fail when built in jails that restrict network access during !fetch phase.
This commit address this problem.
Tested by: bmany exp-runs, drewery, bapt, crees
PR: 169850
Submitted by: crees@
required part of ports 'make config' now. This is seen
as not much different than any other dependency.
- Allow dialog4ports to work with INSTALL_AS_USER
by building and using the port's WRKDIR version
through a Tools/scripts wrapper
- Add NO_DIALOG for 'config' as well.
- Fix D4P environment variables not passing to dialog4ports:
D4PHEIGHT, D4PWIDTH, D4PFULLSCREEN
Reviewed by: miwi, bapt, rum1cro@yandex.ru
Tested by: miwi, bapt, rum1cro@yandex.ru
Tested by: bdrewery (small exp-run)
Requested by: many
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
bapt contributed to the qmail.mk as well
- Trim headers
USES= qmail:run will add qmail into RUN_DEPENDS
USES= qmail:build will add qmail into BUILD_DEPENDS
USES= qmail[:both] will add qmail into both RUN and BUILD DEPENDS
USES= qmail:vars will set QMAIL_PREFIX
With hat: portmgr
This allows to test/manipulates variables from USES between .pre.mk and .post.mk
Having it loaded in the end of pre.mk still allows to set USES inside bsd.*.mk
and after bsd.port.options.mk.
The only limitation is that USES set after bsd.port.pre.mk will not be taken loaded.
Which is the same behaviour as for USE_*.
Requested by: bdrewery
Exp-run by: miwi
This bring the first Keyword into the ports tree.
Keywords are pkgng custom plist keyword definition.
info.yaml defines a new @info keyword usable only with pkgng which will:
- add the info agument to the file list
- set a post-installation execution script
- set a post-deinstallation execution script
in keyword definition the script uses the same format (%f, %F, %D, ...) as @exec/@unexec does
it just add a new one: %@ which correspond the the keyword argument line.
Exp-run: miwi
incorrectly looking at distinfo data. These were copied from
do-fetch at some point, but they do not actually run FETCH_CMD,
so the DIR and CKSIZE vars are not needed.
PR: ports/175717
Submitted by: amdmi3
With hat: portmgr
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...
- update list of categories to the version 1.1 of Desktop Menu Specification
- require Icon field to follow Desktop Entry Specification (the field must be
absolute path or icon name if icon theme is used)
- require main category to be set (listed in DESKTOP_CATEGORIES_MAIN)
- remove deprecated Encoding key
- allow StartupNotify field to be empty string
- be less strict when generating filename for desktop entry (to improve
readability when full path to executable is used)
- use port ${COMMENT} if comment field is not set
- add GenericName key (comment field will be used)
PR: ports/175102
Approved by: portmgr (bapt)
Tested by: mini exp-run (bapt)
- convert all fuse ports to use the new macro
The macro makes sure sysutils/fusefs-libs gets installed and depending on
fuse being in base or not it installs sysutils/fusefs-kmod.
Approved by: portmgr (bapt)
when bsd.gstreamer.mk had support for the 0.8 Gstreamer series. The new macro
will be used for the Gstreamer 1.x framework. This isn't completly finished yet
but this allows me to drop bsd.port.mk from my patchset.
Approved by: portmgr (bapt)
OPTIONS_RADIO: a more user friendly way to allow selecting only 0 or 1 options
among a list of options
OPTIONS_GROUP: this macros should be used to group options by theme allowing the
user to select 0 or N options among a list of options
With hat: portmgr
Reviewed by: beat