Protecting post-install in xorg-libraries

Joe Marcus Clarke marcus at marcuscom.com
Thu Jul 5 02:04:00 UTC 2007


I don't think the pkg-install script for xorg-libraries should be run
when PACKAGE_BUILDING is defined.  This leaves left over etc/rc.conf and
etc/periodic.conf, and doesn't buy anything if you are just building
packages.

The post-install target should probably look like:

.if !defined(PACKAGE_BUILDING)
post-install:
	@${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif

Joe
-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20070705/54653503/attachment.pgp


More information about the freebsd-x11 mailing list