El Tue, 19 Mar 2024 12:12:29 -0400
Brad Smith <b...@comstyle.com> escribió:
> After having a bug fixed with glad 2.0.6 the workaround with adding
> the header path (lib was not necessary) is no longer necessary.
> 
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/graphics/libplacebo/Makefile,v
> retrieving revision 1.12
> diff -u -p -u -p -r1.12 Makefile
> --- Makefile  20 Feb 2024 10:34:30 -0000      1.12
> +++ Makefile  18 Mar 2024 18:07:41 -0000
> @@ -3,6 +3,7 @@ COMMENT=      reusable library for GPU-accele
>  GH_ACCOUNT=  haasn
>  GH_PROJECT=  libplacebo
>  GH_TAGNAME=  v6.338.2
> +REVISION=    0
>  CATEGORIES=  graphics
>  
>  SHARED_LIBS= placebo 8.0
> @@ -13,16 +14,14 @@ MAINTAINER=       Brad Smith <b...@comstyle.co
>  PERMIT_PACKAGE=      Yes
>  
>  WANTLIB +=   ${COMPILER_LIBCXX}
> -WANTLIB +=   execinfo lcms2 m pthread
> -WANTLIB +=   shaderc_shared vulkan
> +WANTLIB +=   execinfo lcms2 m pthread shaderc_shared vulkan
>  # GL and epoxy are dlopened by libplacebo
> -WANTLIB +=   epoxy GL
> -
> +WANTLIB +=   GL epoxy
>  
>  MODULES=     devel/meson
>  
>  BUILD_DEPENDS=       devel/fast-float \
> -             graphics/glad \
> +             graphics/glad>=2.0.6 \
>               graphics/vulkan-headers
>  
>  LIB_DEPENDS= graphics/lcms2 \
> @@ -30,12 +29,6 @@ LIB_DEPENDS=       graphics/lcms2 \
>               graphics/vulkan-loader
>  
>  COMPILER=    base-clang ports-gcc
> -
> -CFLAGS +=            -I${X11BASE}/include
> -LDFLAGS +=           -L${X11BASE}/lib
> -
> -MODMESON_CONFIGURE_ENV +=    CFLAGS="${CFLAGS}" \
> -                                     LDFLAGS="${LDFLAGS}"
>  
>  CONFIGURE_ARGS+=-Ddefault_library=both \
>               -Dd3d11=disabled \
> 

Hi @brad!

Tested patch, not problem build libplacebo with this revision. 


-- 
*********************************************************
Dios en su cielo, todo bien en la Tierra

Reply via email to