Date: Sun, 23 Feb 1997 05:24:46 -0800 (PST) From: Satoshi Asami <asami> To: CVS-committers, cvs-all, cvs-share Subject: cvs commit: src/share/mk bsd.port.mk Message-ID: <199702231324.FAA09618@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702231324.FAA09618>
