Subject: Re: XFree86 packages question...
To: Julio M. Merino Vidal <jmmv@menta.net>
From: Juan RP <juan@xtraeme.unixbsd.org>
List: tech-pkg
Date: 01/24/2004 10:01:48
--Signature=_Sat__24_Jan_2004_10_01_48_+0100_AEob3TKSkXgCwf2_
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Sat, 24 Jan 2004 09:54:38 +0100
"Julio M. Merino Vidal" <jmmv@menta.net> wrote:

> On Sat, Jan 24, 2004 at 09:05:43AM +0100, Juan RP wrote:
> >
> > --- bsd.pkg.mk	2004/01/23 17:55:17	1.1354
> > +++ bsd.pkg.mk	2004/01/24 08:00:24
> > @@ -1383,7 +1383,15 @@
> >  PKG_FAIL_REASON+= "${PKGNAME} may not be built, because it utilizes strong
> > cryptography" .    endif
> >  .  endif
> > -.  if defined(USE_X11) && !exists(${X11BASE})
> > +.  if defined(USE_X11) && !empty(USE_PKGSRC_XFREE86:M[Yy][Ee][Ss])
> > +DEPENDS+=   XFree86-libs>=4.3.0:../../x11/XFree86-libs
> > +.  endif
> > +.  if defined(USE_X11) && !exists(${X11BASE}) &&
> > empty(USE_PKGSRC_XFREE86:M[Yy][Ee][Ss])
> > +    @${MKDIR} ${X11BASE}
> > +    @${CHOWN} ${ROOT_USER}:${ROOT_GROUP} ${X11BASE}
> > +    @${CHMOD} ${PKGDIRMODE} ${X11BASE}
> 
> Will this work if you are not root?  Please... do not work w/ pkgsrc as root,
> so you can detect problems like this one.
> 
> If the directory *MUST* be there, find another solution.  For example, a
> package that creates it beforehand.

I do not use pkgsrc as root, and yes, it works perfectly.

-- 
Juan RP <juan@xtraeme.unixbsd.org>


--Signature=_Sat__24_Jan_2004_10_01_48_+0100_AEob3TKSkXgCwf2_
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAEjR8ypkLYVDran0RArSoAJ4gJ14ss8KYRAJPHVef+ZiTAr0JtQCeKh2n
5755rfYFnnoedOWNuv8zGIw=
=xBXx
-----END PGP SIGNATURE-----

--Signature=_Sat__24_Jan_2004_10_01_48_+0100_AEob3TKSkXgCwf2_--