pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cudd: GCC_REQD+=10 to make it compile with OpenROAD



mayuresh <mayuresh%acm.org@localhost> writes:

> Log Message:
> cudd: GCC_REQD+=10 to make it compile with OpenROAD

> diff --git a/cudd/Makefile b/cudd/Makefile
> index 29d489f52e..7968f50170 100644
> --- a/cudd/Makefile
> +++ b/cudd/Makefile
> @@ -15,6 +15,8 @@ GNU_CONFIGURE=	yes
>  USE_LIBTOOL=	yes
>  USE_LANGUAGES=	c c++
>  
> +GCC_REQD+=	10
> +
>  pre-configure:
>  	set -e; cd ${WRKSRC} && autoreconf -fi


This is highly likely incorrect.  As I said before, one should:

  1) read upstream build instructions to see what C++ language variant is
     needed and set that in USE_CXX_FEATURES

  2) if missing, read the configure.ac or other build system equivalent,
     or read the build output to see if e.g. some --std=c++17 is added,
     and figure it out, and then file an install-doc bug upstream and do
     step 1 with a comment with the URL

  3) if that doesn't work, understand from the code what's wrong and
     then step 2

  4) if that still doesn't work, file a bug upstream that you can't
     figure out what C++ variant needs to be supported.


Home | Main Index | Thread Index | Old Index