On Tue, May 12, 2020 at 07:09:42AM +0200, Rafael Sadowski wrote:
> I am working on a new cmake-python symbiosis. Python2 was detected in my
> last bulk. Looks like there is a typo in both Makefiles.
These are no typos but valid make(1) syntax:  it states that the
following command may fail.

Did you run into issues with this?

Alternatively, we could do

        ln -sf source target

that is, no leading dash but forcing the target.  If that fails, make
should fail because there is a problem.

> diff --git a/devel/clang-tools-extra/Makefile 
> b/devel/clang-tools-extra/Makefile
> index dfebc54269f..664da0e7735 100644
> --- a/devel/clang-tools-extra/Makefile
> +++ b/devel/clang-tools-extra/Makefile
> @@ -15,7 +15,7 @@ COMMENT=    Clang extra tools
>  LLVM_V =     8.0.1
>  DISTNAME =   llvm-${LLVM_V}.src
>  PKGNAME=     clang-tools-extra-${LLVM_V}
> -REVISION=    3
> +REVISION=    4
>  
>  CATEGORIES = devel
>  
> @@ -83,7 +83,7 @@ post-extract:
>  
>  pre-configure:
>       @${SUBST_CMD} ${WRKSRC}/tools/clang/lib/Driver/ToolChains/OpenBSD.cpp
> -     -@ln -s ${MODPY_BIN} ${WRKDIR}/bin/python
> +     @ln -s ${MODPY_BIN} ${WRKDIR}/bin/python

Reply via email to