From owner-freebsd-commit Mon Mar 27 17:14:38 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id RAA16602 for commit-outgoing; Mon, 27 Mar 1995 17:14:38 -0800 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id RAA16588 for cvs-share-outgoing; Mon, 27 Mar 1995 17:14:34 -0800 Received: (from asami@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id RAA16577; Mon, 27 Mar 1995 17:14:30 -0800 Date: Mon, 27 Mar 1995 17:14:30 -0800 From: Satoshi Asami Message-Id: <199503280114.RAA16577@freefall.cdrom.com> To: CVS-commiters, cvs-share Subject: cvs commit: src/share/mk bsd.port.mk Sender: commit-owner@FreeBSD.org Precedence: bulk asami 95/03/27 17:14:30 Modified: share/mk bsd.port.mk Log: Add support for "distributed" patches and a little extra cleanup. New variables: PATCH_SITES: patch equivalent of MASTER_SITES, overridable with . MASTER_SITE_OVERRIDE. PATCHFILES: Additional files to fetch and give to patch before . applying the ones in patches/patch-*. If name ends . with ".gz" or ".Z", it will be piped through zcat first. Plus PATCH_DIST_STRIP and PATCH_DIST_ARGS that serve the same functions as PATCH_STRIP and PATCH_ARGS for patches in patches/patch-*. In the documentation and echo messages, I used the term "distributed patches" and "FreeBSD patches" to refer to ${PATCHFILES} and patches/patch-*. If you can come up with better names, by all means go ahead and fix them. "grep PATCH /usr/ports/*/*/Makefile" reveals seven ports (mule, jless, jtcl, jtk, dgd, less, color_xterm, gee I wonder why I'm the one who implemented this) that can benefit from this. I'm now diving headlong into /usr/ports to fix their Makefiles.