[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-bugs
Subject:    Re: pkg/17785: devel/oaf Makefile fix for Solaris
From:       Lubomir Sedlacik <salo () Xtrmntr ! org>
Date:       2002-07-31 16:43:26
[Download RAW message or body]


On Wed, Jul 31, 2002 at 09:26:48AM -0700, julien.letessier@sun.com wrote:
> Description: oaf depends on flex and bison to build. these are (?)
> included with NetBSD, but not with Solaris.

you will break this package for other operating systems with this change
because devel/flex is marked as ONLY_FOR_PLATFORM=SunOS-*-*.  define
BUILD_DEPENDS for it only for Solaris.  and apparently yacc is good
enough for this package since it doesn't have build dependency on bison
for NetBSD.  can you please test whether is is enough for Solaris as
well?

> Index: Makefile
> ===================================================================
> RCS file: /cvsroot/pkgsrc/devel/oaf/Makefile,v
> retrieving revision 1.17
> diff -u -r1.17 Makefile
> --- Makefile	2002/05/18 10:54:16	1.17
> +++ Makefile	2002/07/31 16:23:52
> @@ -17,6 +17,9 @@
>  
>  LIBTOOL_OVERRIDE=	${WRKSRC}/libtool
  +
  +.include "../../mk/bsd.prefs.mk"
  +
  +.if ${OPSYS} == "SunOS"
> +BUILD_DEPENDS+=		bison-[0-9]*:../../devel/bison
> +BUILD_DEPENDS+=		flex-[0-9]*:../../devel/flex
  +.endif
> +
>  .include "../../devel/popt/buildlink.mk"
>  .include "../../textproc/libxml/buildlink.mk"
>  .include "../../x11/gnome-libs/buildlink.mk"

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic