From owner-freebsd-x11@FreeBSD.ORG Thu Jul 5 02:04:00 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7498016A479 for ; Thu, 5 Jul 2007 02:04:00 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.freebsd.org (Postfix) with ESMTP id 277EB13C4AE for ; Thu, 5 Jul 2007 02:03:59 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.1/8.14.1) with ESMTP id l6524Ic8082318 for ; Wed, 4 Jul 2007 22:04:18 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: x11@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-lB/TK0hxX+enMfdnuvHh" Organization: MarcusCom, Inc. Date: Wed, 04 Jul 2007 22:03:56 -0400 Message-Id: <1183601036.2755.23.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=no version=3.2.0 X-Spam-Checker-Version: SpamAssassin 3.2.0 (2007-05-01) on creme-brulee.marcuscom.com Cc: Subject: Protecting post-install in xorg-libraries X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2007 02:04:00 -0000 --=-lB/TK0hxX+enMfdnuvHh Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-lB/TK0hxX+enMfdnuvHh Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGjFGLb2iPiv4Uz4cRAqTyAJ9afvQRNRMpy2Y1KFKn9pwG17p0uwCdHtuo l39hRZbpAjKHfxu+B7t893Q= =lxNc -----END PGP SIGNATURE----- --=-lB/TK0hxX+enMfdnuvHh--