[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Protecting post-install in xorg-libraries




On Jul 5, 2007, at 4:03 AM, Joe Marcus Clarke wrote:

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

Indeed. Committed, thanks!
Builds of some packages will still report changed files in environment like Tinderbox though as they install the package version of xorg-libraries. The two files should be ignored there the same as / usr/X11R6 symlink (kris already said pointyhat will ignore them). Sorry for not mentioning this for Tinderbox earlier.

Dejan
_______________________________________________
freebsd-x11_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "freebsd-x11-unsubscribe_(_at_)_freebsd_(_dot_)_org"


Visit your host, monkey.org