This is port devel/portmk, an alternate bsd.port.mk.
Targets of this project are:
- Modularization on bsd.port.mk, to make refactoring possible.
- Better awareness of upcoming features for ports developers,
including giving them the ability to review changes and give
feedback early.
- Faster turnaround times for development patches.
- Widespread testing of new features.
- Faster adoption of advanced features without endangering the
stability of the ports tree.
This has been created as a follow-up to a proposal I sent to
portmgr@ May 13th.
Bring this up to what is currently being tested on the cluster, including
ports/98105, ports/98565 (both forgotten last time), and ports/99370, a
bugfix for USE_LDCONFIG with on-default prefix.
Reflect its currrent state of bsd.port.mk after the last 2 checkins:
- 97406 (ghostscript refactoring) was removed from the -exp run due to errors
- 95841 (remove legacy code) was backed out after commit, due to its still
being needed for kdelibs3 among others
Backout previous commit because all changes here should be merged by
hand and honestly, I have neither time nor energy for this game.
Submitted by: linimon
Conditionalize the inclusion of local copies of bsd.*.mk. They will only
be included if they exist in devel/portmk/Mk; otherwise, the fallback file
from ports/Mk will be used. This will allow us to remove local copies of
files once their changes are merged back into ports/Mk, so that not every
single change in ports/Mk needs to have a tracking commit made back into
devel/portmk/Mk. In theory this should allow us to integrate changes a
little more quickly.
A sandbox for local modifications to bsd.port.mk. This little bit of
framework is designed so that such things as FreshPorts, portsmon, and
the distfile survey can more easily maintain local changes without having
to re-merge them into their copies of bsd.port.mk all the time.
Add a comment about a line that is from ports/86106 (USE_GMAKE change).
This is a reminder that this change is not yet tested sufficiently to
go into the main bsd.port.mk.
Unbreak INDEX building for those of us using devel/portmk. This is not
all the changes from Mk/bsd.apache.mk that need to be merged.
Pointy hat to: clement
Add 2 more patches for exp build:
ports/83514 - fix typo in bsd.port.mk: s/RC_ORDER/USE_RCORDER/g
ports/88466 - small update to bsd.port.mk for postgresql (support of 8.1)
exp build also contains ports/78596. It's worthless to backport it to
devel/portmk
- Add "make patch-o-matic" target. It applies to a fresh ports tree patches
required to build ports correctly with devel/portmk. Currently only USE_GMAKE
changes [1] are applied. It will be heavily used in the future to support
new knobs in b.p.m (like USE_APACHE, USE_TCL, new OPTIONS, etc.)
Currently patches are added by hand. I hope I can add soon an automated way
to submit patches.
[1] Submitted by: jylefort
- Add a workaround to new checksum target to keep backward compatibility.
If checksum should be equal to IGNORE and it doesn't have an entry in distinfo
check if it has already been "registered". In other words, if they're no
SHA256 checksum (which is the case IRL), fallback to MD5 checksum results.
- Remove -02 [1] related patch
It's b0rked for compilers which don't support -fno-strict-aliasing
[1] ports/73797 : Be causious compiling with -O2 (use -fno-strict-aliasing)
- Don't switch to www/apache20 to minimize changes to not break INDEX
- Introduce APACHE_COMPAT variable keep weak dependencies on APACHE_PORT
working
make INDEX is still broken
- Sync portmk with next exp-build patchset.
- Remove temporarily all eik's work. We'll try to find a decent way to deal
with major changes. Of course we'll reuse his good ideas
List of changes (PR - synopsis)
85695 - Add bsd.database.mk.
85669 - bsd.ports.subdir.mk: Ports not escape plus signal in make search
85488 - [PATCH] New "makepatch: " target to help ports authors
86106 - ${CC} should be added to ${MAKE_ENV} when ${USE_GMAKE} is set
84489 - Depreciated MACHINE_ARCH being used in bsd.port.mk
83835 - Remove OpenLDAP ver. 21
83718 - Add bsd.tcl.mk for convinience for tcl/tk ports
83716 - Fix cosmetic bug in security-check target
83710 - Add INDEX-7
82753 - patch to add functionality to ports macro bsd.port.subdir.mk
82138 - [patch] timewaster: remove old versions from bsd.port.mk
81206 - new category proposal: net-im
79509 - add .desktop file facilities to bsd.port.mk
79123 - [patch] bsd.port.mk - add SHA256 support to "make checksum"
74866 - Update Mk/bsd.port.mk to support python packages with OPTIONS
73797 - Be causious compiling with -O2 (use -fno-strict-aliasing)
85490 - [PATCH] If WANT_LINT is set, port building can break
XXXXX - Add bsd.apache.mk
FWIIW, enable the use of
make DISABLE_SIZE=yes checkdistsites
to check for corrupted files on sites that don't support SIZE
(the files are unfetchable from these sites anyway)