[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Protecting post-install in xorg-libraries
- To: Joe Marcus Clarke <marcus_(_at_)_marcuscom_(_dot_)_com>
- Subject: Re: Protecting post-install in xorg-libraries
- From: Dejan Lesjak <dejan_(_dot_)_lesjak_(_at_)_ijs_(_dot_)_si>
- Date: Fri, 6 Jul 2007 01:12:43 +0200
- Cc: x11_(_at_)_freebsd_(_dot_)_org
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/simple; d=ijs.si; s=ja-200610; t=1183676847; bh=fT0LO/AcEqgPlkW7qAoMTz+NV2M=; h=X-Virus-Scanned: Received:Received:Received:In-Reply-To:References:Mime-Version: Content-Type:Message-Id:Cc:Content-Transfer-Encoding:From:Subject: Date:To:X-Mailer; b=JOCnGKbK8sfaELKOMvnisH6uD3Vt2YPy0Nq1SNDb4FABIu NhAl5Eps5R3YBXljEwbXn5pkHZiTfpqlhiYWNyJMFG1rK88TIRITkql64YauqOOeLOg rTvd6ZNAG6ugpFG
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