Subject: Re: XFree86 meta package imported in pkgsrc-wip
To: Todd Vierling <tv@pobox.com>
From: Juan RP <jrp@hispabsd.org>
List: tech-pkg
Date: 08/21/2003 22:40:42
--=.Xlz(MhHPo?O'nB
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Thu, 21 Aug 2003 16:25:33 -0400 (EDT)
Todd Vierling <tv@pobox.com> wrote:

> =====
> # $NetBSD$
> 
> DISTNAME=		XFree86-x11base-1.0
> CATEGORIES=		x11
> MASTER_SITES=		# empty
> DISTFILES=		# empty
> 
> MAINTAINER=		# (you)
> COMMENT=		X11 base directory package
> 
> NO_BUILD=		# defined
> NO_CHECKSUM=		# defined
> NO_CONFIGURE=		# defined
> NO_EXTRACT=		# defined
> 
> .include "../../mk/bsd.pkg.mk"
> 
> PREFIX:=		/ # there's no other usable value here
> 
> do-install:
> 	${MKDIR} ${X11BASE}
> 
> =====
> @comment $NetBSD$
> @exec ${MKDIR} ${X11BASE}
> @unexec ${RMDIR} ${X11BASE} || ${TRUE}


Well, we are using it actually on bsd.pkg.mk:

.  if defined(USE_X11) && !exists(${X11BASE})
  @${MKDIR} ${X11BASE}
  @${CHOWN} ${ROOT_USER}:${ROOT_GROUP} ${X11BASE}
  @${CHMOD} ${PKGDIRMODE} ${X11BASE}
.  endif

About the USE_X11_LINKS variable, I've added this to XFree86/Makefile.common,
seems to be working well now. 

Thanks for these suggestions :)

-- 
Juan RP		<jrp@hispabsd.org>

--=.Xlz(MhHPo?O'nB
Content-Type: application/pgp-signature

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

iD8DBQE/RS2smOEpHEa5ttcRArGyAJ4oxDTp0NSBv/RDvUhFWc0fENplngCfWMqF
Oow1OPb/6jegFUPwJmmVaRI=
=tkz5
-----END PGP SIGNATURE-----

--=.Xlz(MhHPo?O'nB--