pkgsrc-Users archive

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

Re: Odd issue with devel/cmake



Le 17/06/15 22:56, Iain Morgan a écrit :
> Hello,
> 
> Some time ago, a user reported to me an issue with how
> X11_INC_SEARCH_PATH and X11_LIB_SEARCH_PATH are being set in
> Modules/FindX11.cmake. At the time, I took the easy solution of manually
> correcting the issue, and now finally have time to actually investigate
> the issue.
> 
> Both X11_INC_SEARCH_PATH and X11_LIB_SEARCH_PATH exhibit the same two
> problems: The first value incorrectly includes "xorg" in the path and
> the line is duplicated. For example,
> 
>   set(X11_INC_SEARCH_PATH
>     /nasa/pkgsrc/current-test/xorg/include
>     /nasa/pkgsrc/current-test/xorg/include
>     /usr/X11R6/include
>     /usr/X11R7/include
>     /usr/include/X11
>     /usr/openwin/include
>     /usr/openwin/share/include
>     /opt/graphics/OpenGL/include
>     /opt/X11/include
>   )
> 
> In this case, X11BASE is set to just /nasa/pkgsrc/current-test (as shown
> be bmake show-var VARNAME=X11BASE and by
> Modules/Platform/UnixPaths.cmake) but but somehow xorg is being inserted
> and the resultant line is duplicated.
> 
> After running bmake patch, Modules/FindX11.cmake contains the expected
> lines without duplication, so it seems like the problem is with the
> substituion of X11BASE. However, I'm not sure why only this one file
> exhibits the problem.
> 
> I was hoping to submit a patch to address the issue, but am at a loss as
> to why this is happening. Any suggestions?
> 
> Thanks,
> 

Hello, this should be okay now since 12 jun.
> cvs rdiff -u -r1.6 -r1.7 \
>     pkgsrc/devel/cmake/patches/patch-Modules_FindX11.cmake

Has your tree been refreshed since?

-- 
Richard PALO



Home | Main Index | Thread Index | Old Index