From owner-cvs-share Sun Feb 23 05:24:48 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA09625 for cvs-share-outgoing; Sun, 23 Feb 1997 05:24:48 -0800 (PST) Received: (from asami@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA09618; Sun, 23 Feb 1997 05:24:46 -0800 (PST) Date: Sun, 23 Feb 1997 05:24:46 -0800 (PST) From: Satoshi Asami Message-Id: <199702231324.FAA09618@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-share Subject: cvs commit: src/share/mk bsd.port.mk Sender: owner-cvs-share@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk asami 97/02/23 05:24:46 Modified: share/mk bsd.port.mk Log: (1) Define ${LDCONFIG} and ${MV} to be full pathnames to ldconfig and mv, respectively. This will make Warner's life easier. (2) Add new variable ${PLIST}, which defaults to ${PKGDIR}/PLIST. If you need to have different PLISTs for different configurations, you can either @ pre-fabricate all of them and switch ${PLIST} to point to the appropriate one, or @ use sed/awk/perl/whatever to create the correct one from pkg/PLIST and set ${PLIST} to it. It is still recommended to have a file called "pkg/PLIST" so people can do "grep badprog /usr/ports/*/*/pkg/PLIST" and such. (3) Move /var/db/pkg/${PKGNAME} clash detection to before the installation (instead of after) and make it fatal, with an error message suggesting a workaround. (4) Don't make distclean fail if DIST_SUBDIR is set and the subdirectory does not exist. (5) Don't put "@pkgdep Error code 2. Stop." kind of garbage into packing list if depended port's directory doesn't exist. Instead, print out a message to stderr. Revision Changes Path 1.253 +37 -20 src/share/mk/bsd.port.mk