Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jul 2007 22:03:56 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        x11@freebsd.org
Subject:   Protecting post-install in xorg-libraries
Message-ID:  <1183601036.2755.23.camel@shumai.marcuscom.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQBGjFGLb2iPiv4Uz4cRAqTyAJ9afvQRNRMpy2Y1KFKn9pwG17p0uwCdHtuo
l39hRZbpAjKHfxu+B7t893Q=
=lxNc
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1183601036.2755.23.camel>