Subject: Re: .if ${OPSYS} == "SunOS"
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Johnny C. Lam <jlam@netbsd.org>
List: tech-pkg
Date: 10/21/2002 13:35:41
On Mon, Oct 21, 2002 at 02:17:28PM +0200, Manuel Bouyer wrote:
> it seems gnome needs databases/db on Solaris.
> Can I do something like that in the x11/gnome-libs/buildlink2.mk ?

Yes, please go ahead with this change.

> Index: x11/gnome-libs/buildlink2.mk
> ===================================================================
> RCS file: /cvsroot/pkgsrc/x11/gnome-libs/buildlink2.mk,v
> retrieving revision 1.3
> diff -u -r1.3 buildlink2.mk
> --- buildlink2.mk	2002/09/23 19:57:31	1.3
> +++ buildlink2.mk	2002/10/21 12:16:54
> @@ -45,4 +45,9 @@
>  
>  gnome-libs-buildlink: _BUILDLINK_USE
>  
> +.include "../../mk/bsd.prefs.mk"
> +.if ${OPSYS} == "SunOS"
> +.include "../../databases/db/buildlink2.mk"
> +.endif
> +
>  .endif	# GNOME_LIBS_BUILDLINK2_MK
> 
> 
> --
> Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
>      NetBSD: 23 ans d'experience feront toujours la difference
> --