head 1.68; access; symbols pkgsrc-2023Q4:1.68.0.4 pkgsrc-2023Q4-base:1.68 pkgsrc-2023Q3:1.68.0.2 pkgsrc-2023Q3-base:1.68 pkgsrc-2023Q2:1.67.0.28 pkgsrc-2023Q2-base:1.67 pkgsrc-2023Q1:1.67.0.26 pkgsrc-2023Q1-base:1.67 pkgsrc-2022Q4:1.67.0.24 pkgsrc-2022Q4-base:1.67 pkgsrc-2022Q3:1.67.0.22 pkgsrc-2022Q3-base:1.67 pkgsrc-2022Q2:1.67.0.20 pkgsrc-2022Q2-base:1.67 pkgsrc-2022Q1:1.67.0.18 pkgsrc-2022Q1-base:1.67 pkgsrc-2021Q4:1.67.0.16 pkgsrc-2021Q4-base:1.67 pkgsrc-2021Q3:1.67.0.14 pkgsrc-2021Q3-base:1.67 pkgsrc-2021Q2:1.67.0.12 pkgsrc-2021Q2-base:1.67 pkgsrc-2021Q1:1.67.0.10 pkgsrc-2021Q1-base:1.67 pkgsrc-2020Q4:1.67.0.8 pkgsrc-2020Q4-base:1.67 pkgsrc-2020Q3:1.67.0.6 pkgsrc-2020Q3-base:1.67 pkgsrc-2020Q2:1.67.0.4 pkgsrc-2020Q2-base:1.67 pkgsrc-2020Q1:1.67.0.2 pkgsrc-2020Q1-base:1.67 pkgsrc-2019Q4:1.65.0.4 pkgsrc-2019Q4-base:1.65 pkgsrc-2019Q3:1.63.0.2 pkgsrc-2019Q3-base:1.63 pkgsrc-2019Q2:1.57.0.4 pkgsrc-2019Q2-base:1.57 pkgsrc-2019Q1:1.57.0.2 pkgsrc-2019Q1-base:1.57 pkgsrc-2018Q4:1.56.0.6 pkgsrc-2018Q4-base:1.56 pkgsrc-2018Q3:1.56.0.4 pkgsrc-2018Q3-base:1.56 pkgsrc-2018Q2:1.56.0.2 pkgsrc-2018Q2-base:1.56 pkgsrc-2018Q1:1.55.0.2 pkgsrc-2018Q1-base:1.55 pkgsrc-2017Q4:1.54.0.20 pkgsrc-2017Q4-base:1.54 pkgsrc-2017Q3:1.54.0.18 pkgsrc-2017Q3-base:1.54 pkgsrc-2017Q2:1.54.0.14 pkgsrc-2017Q2-base:1.54 pkgsrc-2017Q1:1.54.0.12 pkgsrc-2017Q1-base:1.54 pkgsrc-2016Q4:1.54.0.10 pkgsrc-2016Q4-base:1.54 pkgsrc-2016Q3:1.54.0.8 pkgsrc-2016Q3-base:1.54 pkgsrc-2016Q2:1.54.0.6 pkgsrc-2016Q2-base:1.54 pkgsrc-2016Q1:1.54.0.4 pkgsrc-2016Q1-base:1.54 pkgsrc-2015Q4:1.54.0.2 pkgsrc-2015Q4-base:1.54 pkgsrc-2015Q3:1.53.0.2 pkgsrc-2015Q3-base:1.53 pkgsrc-2015Q2:1.52.0.2 pkgsrc-2015Q2-base:1.52 pkgsrc-2015Q1:1.51.0.16 pkgsrc-2015Q1-base:1.51 pkgsrc-2014Q4:1.51.0.14 pkgsrc-2014Q4-base:1.51 pkgsrc-2014Q3:1.51.0.12 pkgsrc-2014Q3-base:1.51 pkgsrc-2014Q2:1.51.0.10 pkgsrc-2014Q2-base:1.51 pkgsrc-2014Q1:1.51.0.8 pkgsrc-2014Q1-base:1.51 pkgsrc-2013Q4:1.51.0.6 pkgsrc-2013Q4-base:1.51 pkgsrc-2013Q3:1.51.0.4 pkgsrc-2013Q3-base:1.51 pkgsrc-2013Q2:1.51.0.2 pkgsrc-2013Q2-base:1.51 pkgsrc-2013Q1:1.48.0.8 pkgsrc-2013Q1-base:1.48 pkgsrc-2012Q4:1.48.0.6 pkgsrc-2012Q4-base:1.48 pkgsrc-2012Q3:1.48.0.4 pkgsrc-2012Q3-base:1.48 pkgsrc-2012Q2:1.48.0.2 pkgsrc-2012Q2-base:1.48 pkgsrc-2012Q1:1.47.0.26 pkgsrc-2012Q1-base:1.47 pkgsrc-2011Q4:1.47.0.24 pkgsrc-2011Q4-base:1.47 pkgsrc-2011Q3:1.47.0.22 pkgsrc-2011Q3-base:1.47 pkgsrc-2011Q2:1.47.0.20 pkgsrc-2011Q2-base:1.47 pkgsrc-2011Q1:1.47.0.18 pkgsrc-2011Q1-base:1.47 pkgsrc-2010Q4:1.47.0.16 pkgsrc-2010Q4-base:1.47 pkgsrc-2010Q3:1.47.0.14 pkgsrc-2010Q3-base:1.47 pkgsrc-2010Q2:1.47.0.12 pkgsrc-2010Q2-base:1.47 pkgsrc-2010Q1:1.47.0.10 pkgsrc-2010Q1-base:1.47 pkgsrc-2009Q4:1.47.0.8 pkgsrc-2009Q4-base:1.47 pkgsrc-2009Q3:1.47.0.6 pkgsrc-2009Q3-base:1.47 pkgsrc-2009Q2:1.47.0.4 pkgsrc-2009Q2-base:1.47 pkgsrc-2009Q1:1.47.0.2 pkgsrc-2009Q1-base:1.47 pkgsrc-2008Q4:1.46.0.10 pkgsrc-2008Q4-base:1.46 pkgsrc-2008Q3:1.46.0.8 pkgsrc-2008Q3-base:1.46 cube-native-xorg:1.46.0.6 cube-native-xorg-base:1.46 pkgsrc-2008Q2:1.46.0.4 pkgsrc-2008Q2-base:1.46 cwrapper:1.46.0.2 pkgsrc-2008Q1:1.43.0.4 pkgsrc-2008Q1-base:1.43 pkgsrc-2007Q4:1.43.0.2 pkgsrc-2007Q4-base:1.43 pkgsrc-2007Q3:1.40.0.2 pkgsrc-2007Q3-base:1.40 pkgsrc-2007Q2:1.38.0.4 pkgsrc-2007Q2-base:1.38 pkgsrc-2007Q1:1.38.0.2 pkgsrc-2007Q1-base:1.38 pkgsrc-2006Q4:1.37.0.2 pkgsrc-2006Q4-base:1.37 pkgsrc-2006Q3:1.36.0.2 pkgsrc-2006Q3-base:1.36 pkgsrc-2006Q2:1.34.0.2 pkgsrc-2006Q2-base:1.34 pkgsrc-2006Q1:1.33.0.2 pkgsrc-2006Q1-base:1.33 pkgsrc-2005Q4:1.30.0.4 pkgsrc-2005Q4-base:1.30 pkgsrc-2005Q3:1.30.0.2 pkgsrc-2005Q3-base:1.30 pkgsrc-2005Q2:1.29.0.6 pkgsrc-2005Q2-base:1.29 pkgsrc-2005Q1:1.29.0.4 pkgsrc-2005Q1-base:1.29 pkgsrc-2004Q4:1.29.0.2 pkgsrc-2004Q4-base:1.29 pkgsrc-2004Q3:1.28.0.4 pkgsrc-2004Q3-base:1.28 pkgsrc-2004Q2:1.28.0.2 pkgsrc-2004Q2-base:1.28 pkgsrc-2004Q1:1.27.0.2 pkgsrc-2004Q1-base:1.27 pkgsrc-2003Q4:1.8.0.2 pkgsrc-2003Q4-base:1.8; locks; strict; comment @# @; 1.68 date 2023.08.14.05.24.30; author wiz; state Exp; branches; next 1.67; commitid LOSB79OLVxvXjIAE; 1.67 date 2020.03.08.16.49.52; author wiz; state Exp; branches; next 1.66; commitid rcNYzTQo8icypCZB; 1.66 date 2020.01.06.10.01.30; author nia; state Exp; branches; next 1.65; commitid dNDIBVT2PR7S9CRB; 1.65 date 2019.10.21.20.47.55; author nia; state Exp; branches; next 1.64; commitid lInogklHvbn4dMHB; 1.64 date 2019.10.21.12.30.36; author nia; state Exp; branches; next 1.63; commitid yZ7SujlawQIxsJHB; 1.63 date 2019.09.04.10.56.50; author nia; state Exp; branches; next 1.62; commitid Gr2QKOc2IoE9sGBB; 1.62 date 2019.08.30.17.07.59; author nia; state Exp; branches; next 1.61; commitid jtN9HdJ7oiKrF4BB; 1.61 date 2019.08.30.16.30.54; author nia; state Exp; branches; next 1.60; commitid DN2yeUi4NlMss4BB; 1.60 date 2019.08.30.16.00.47; author nia; state Exp; branches; next 1.59; commitid 59XRvjUhAf2ii4BB; 1.59 date 2019.08.30.13.00.56; author nia; state Exp; branches; next 1.58; commitid IP7ahHMXlIiOh3BB; 1.58 date 2019.08.21.13.35.28; author nia; state Exp; branches; next 1.57; commitid QbuTYFguNT3eMTzB; 1.57 date 2019.01.19.21.36.21; author tnn; state Exp; branches; next 1.56; commitid fpneNBRlp8cLjr8B; 1.56 date 2018.04.02.15.44.47; author bsiegert; state Exp; branches; next 1.55; commitid fxppTPLNF5uDKSwA; 1.55 date 2018.01.07.13.04.12; author rillig; state Exp; branches; next 1.54; commitid dlppcM1x04atAWlA; 1.54 date 2015.09.27.21.58.03; author tnn; state Exp; branches; next 1.53; commitid TRN44GjxLzegkWCy; 1.53 date 2015.09.16.12.28.53; author tnn; state Exp; branches; next 1.52; commitid oVBIodwNoPNLwtBy; 1.52 date 2015.04.25.11.19.18; author tnn; state Exp; branches; next 1.51; commitid QoZUt1Tf2t0RKXiy; 1.51 date 2013.05.16.05.22.02; author richard; state Exp; branches; next 1.50; commitid zN883Sx1YLZWAOPw; 1.50 date 2013.04.19.13.42.37; author obache; state Exp; branches; next 1.49; 1.49 date 2013.04.19.11.56.23; author obache; state Exp; branches; next 1.48; 1.48 date 2012.04.08.05.59.25; author obache; state Exp; branches; next 1.47; 1.47 date 2009.03.20.19.24.36; author joerg; state Exp; branches; next 1.46; 1.46 date 2008.05.15.19.46.47; author tron; state Exp; branches; next 1.45; 1.45 date 2008.04.24.11.55.22; author tnn; state Exp; branches; next 1.44; 1.44 date 2008.04.24.07.40.24; author bjs; state Exp; branches; next 1.43; 1.43 date 2007.12.06.04.31.23; author obache; state Exp; branches; next 1.42; 1.42 date 2007.12.05.21.42.18; author tron; state Exp; branches; next 1.41; 1.41 date 2007.12.05.21.39.01; author tron; state Exp; branches; next 1.40; 1.40 date 2007.08.13.11.18.40; author seb; state Exp; branches; next 1.39; 1.39 date 2007.08.12.15.14.47; author adam; state Exp; branches; next 1.38; 1.38 date 2007.02.02.17.41.36; author joerg; state Exp; branches; next 1.37; 1.37 date 2006.12.12.21.52.35; author joerg; state Exp; branches; next 1.36; 1.36 date 2006.07.08.23.10.50; author jlam; state Exp; branches; next 1.35; 1.35 date 2006.07.08.22.39.17; author jlam; state Exp; branches; next 1.34; 1.34 date 2006.04.06.06.22.00; author reed; state Exp; branches; next 1.33; 1.33 date 2006.03.21.22.18.55; author kristerw; state Exp; branches; next 1.32; 1.32 date 2006.03.21.19.26.31; author drochner; state Exp; branches; next 1.31; 1.31 date 2006.02.05.23.09.27; author joerg; state Exp; branches; next 1.30; 1.30 date 2005.07.10.10.42.26; author grant; state Exp; branches; next 1.29; 1.29 date 2004.10.03.00.14.48; author tv; state Exp; branches; next 1.28; 1.28 date 2004.04.17.03.45.46; author snj; state Exp; branches; next 1.27; 1.27 date 2004.03.15.17.38.10; author jlam; state Exp; branches; next 1.26; 1.26 date 2004.03.10.17.57.14; author jlam; state Exp; branches; next 1.25; 1.25 date 2004.02.18.16.35.27; author jlam; state Exp; branches; next 1.24; 1.24 date 2004.02.12.02.35.06; author jlam; state Exp; branches; next 1.23; 1.23 date 2004.02.12.01.59.38; author jlam; state Exp; branches; next 1.22; 1.22 date 2004.02.11.02.03.41; author jlam; state Exp; branches; next 1.21; 1.21 date 2004.02.10.23.23.02; author jlam; state Exp; branches; next 1.20; 1.20 date 2004.02.10.22.42.56; author jlam; state Exp; branches; next 1.19; 1.19 date 2004.02.10.22.23.40; author jlam; state Exp; branches; next 1.18; 1.18 date 2004.02.10.22.22.05; author jlam; state Exp; branches; next 1.17; 1.17 date 2004.02.06.19.04.24; author jlam; state Exp; branches; next 1.16; 1.16 date 2004.02.05.07.17.14; author jlam; state Exp; branches; next 1.15; 1.15 date 2004.02.05.07.06.15; author jlam; state Exp; branches; next 1.14; 1.14 date 2004.02.05.06.58.03; author jlam; state Exp; branches; next 1.13; 1.13 date 2004.01.24.03.12.32; author jlam; state Exp; branches; next 1.12; 1.12 date 2004.01.24.01.53.00; author jlam; state Exp; branches; next 1.11; 1.11 date 2004.01.05.11.05.45; author jlam; state Exp; branches; next 1.10; 1.10 date 2004.01.05.09.31.31; author jlam; state Exp; branches; next 1.9; 1.9 date 2004.01.04.23.34.06; author jlam; state Exp; branches; next 1.8; 1.8 date 2003.09.30.10.18.57; author jlam; state Exp; branches; next 1.7; 1.7 date 2003.09.30.00.42.32; author jlam; state Exp; branches; next 1.6; 1.6 date 2003.09.28.12.54.52; author jlam; state Exp; branches; next 1.5; 1.5 date 2003.09.14.01.47.51; author jlam; state Exp; branches; next 1.4; 1.4 date 2003.09.13.23.21.19; author jlam; state Exp; branches; next 1.3; 1.3 date 2003.09.07.19.36.26; author jlam; state Exp; branches; next 1.2; 1.2 date 2003.09.05.11.39.02; author jlam; state Exp; branches; next 1.1; 1.1 date 2003.09.02.07.12.16; author jlam; state Exp; branches; next ; desc @@ 1.68 log @*: recursive bump for Python 3.11 as new default @ text @# $NetBSD: buildlink3.mk,v 1.67 2020/03/08 16:49:52 wiz Exp $ BUILDLINK_TREE+= MesaLib .if !defined(MESALIB_BUILDLINK3_MK) MESALIB_BUILDLINK3_MK:= BUILDLINK_API_DEPENDS.MesaLib+= MesaLib>=3.4.2 BUILDLINK_ABI_DEPENDS.MesaLib+= MesaLib>=21.3.9nb3 BUILDLINK_PKGSRCDIR.MesaLib?= ../../graphics/MesaLib .include "../../graphics/MesaLib/features.mk" # See . .if ${X11_TYPE} == "native" && !empty(MACHINE_PLATFORM:MDarwin-[9].*-*) BUILDLINK_LDFLAGS.MesaLib+= -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib .endif pkgbase:= MesaLib .include "../../mk/pkg-build-options.mk" .if !empty(PKG_BUILD_OPTIONS.MesaLib:Mx11) . include "../../x11/libX11/buildlink3.mk" . include "../../x11/libXdamage/buildlink3.mk" . include "../../x11/libXext/buildlink3.mk" . include "../../x11/libXfixes/buildlink3.mk" . include "../../x11/libXrandr/buildlink3.mk" . include "../../x11/libXxf86vm/buildlink3.mk" . include "../../x11/libxcb/buildlink3.mk" . include "../../x11/libxshmfence/buildlink3.mk" . include "../../x11/xcb-proto/buildlink3.mk" . include "../../x11/xorgproto/buildlink3.mk" .endif .if ${MESALIB_SUPPORTS_DRI} == "yes" . include "../../x11/libdrm/buildlink3.mk" .endif .include "../../mk/pthread.buildlink3.mk" .endif # MESALIB_BUILDLINK3_MK BUILDLINK_TREE+= -MesaLib @ 1.67 log @*: recursive bump for libffi @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.66 2020/01/06 10:01:30 nia Exp $ d9 1 a9 1 BUILDLINK_ABI_DEPENDS.MesaLib+= MesaLib>=20.0.1nb1 @ 1.66 log @MesaLib: remove wayland from bl3 isn't mentioned in pkgconfig files, etc? causes problems with native libgl @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.65 2019/10/21 20:47:55 nia Exp $ d9 1 a9 1 BUILDLINK_ABI_DEPENDS.MesaLib+= MesaLib>=7.11.2 @ 1.65 log @MesaLib: Add a features.mk and use it to detect the presence of DRI No functional change (probably) @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.64 2019/10/21 12:30:36 nia Exp $ a22 4 .if !empty(PKG_BUILD_OPTIONS.MesaLib:Mwayland) . include "../../devel/wayland/buildlink3.mk" .endif @ 1.64 log @MesaLib: Turn off some more "Mesa thinks SunOS is not DRI" hacks @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.63 2019/09/04 10:56:50 nia Exp $ d12 1 a12 1 .include "../../mk/bsd.fast.prefs.mk" a20 26 .if ${X11_TYPE} == "modular" MESALIB_SUPPORTS_OSMESA= yes MESALIB_SUPPORTS_GLESv2= yes . if ${OPSYS} != "Darwin" && ${OPSYS} != "Cygwin" MESALIB_SUPPORTS_EGL= yes . else MESALIB_SUPPORTS_EGL= no . endif .else . if exists(${X11BASE}/include/EGL/egl.h) MESALIB_SUPPORTS_EGL= yes . else MESALIB_SUPPORTS_EGL= no . endif . if exists(${X11BASE}/lib/libOSMesa.so) MESALIB_SUPPORTS_OSMESA= yes . else MESALIB_SUPPORTS_OSMESA= no . endif . if exists(${X11BASE}/include/GLES2/gl2.h) MESALIB_SUPPORTS_GLESv2= yes . else MESALIB_SUPPORTS_GLESv2= no . endif .endif d40 1 a40 1 .if ${OPSYS} != "Darwin" && ${OPSYS} != "Cygwin" @ 1.63 log @MesaLib: glesv2 detection @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.62 2019/08/30 17:07:59 nia Exp $ d24 1 a24 1 . if ${OPSYS} != "Darwin" && ${OPSYS} != "Cygwin" && ${OPSYS} != "SunOS" @ 1.62 log @MesaLib: rename MESALIB_SUPPORTS_OS to MESALIB_SUPPORTS_OSMESA @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.61 2019/08/30 16:30:54 nia Exp $ d23 1 d40 5 @ 1.61 log @MesaLib: Make feature detection in buildlink3 cleaner. XXX not sure how to detect the special case of native X but PREFER_PKGSRC=MesaLib safely @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.60 2019/08/30 16:00:47 nia Exp $ d22 1 a22 1 MESALIB_SUPPORTS_OS= yes d24 1 a24 1 MESALIB_SUPPORTS_EGL= yes d26 1 a26 1 MESALIB_SUPPORTS_EGL= no d30 1 a30 1 MESALIB_SUPPORTS_EGL= yes d32 1 a32 1 MESALIB_SUPPORTS_EGL= no d35 1 a35 1 MESALIB_SUPPORTS_OS= yes d37 1 a37 1 MESALIB_SUPPORTS_OS= no @ 1.60 log @MesaLib: add a flag to buildlink3 to detect OSMesa support, similar to EGL @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.59 2019/08/30 13:00:56 nia Exp $ d21 3 a23 2 .if ${X11_TYPE} == "modular" && (${OPSYS} != "Darwin" && ${OPSYS} != "Cygwin") || \ ${X11_TYPE} == "native" && exists(${X11BASE}/include/EGL/egl.h) d25 3 d29 3 d33 2 a34 4 .endif .if ${X11_TYPE} == "modular" || \ ${X11_TYPE} == "native" && exists(${X11BASE}/lib/libOSMesa.so) d36 1 a36 1 .else d38 1 @ 1.59 log @MesaLib: various changes to how this is built - Try to appease the Darwin build. - Simplify and reduce the number of options to make testing easier. - Silence lots of pkglint warnings. - Enable the surfaceless platform as recommended by Mesa. - Switch to gallium swrast as recommended by Mesa. - Switch to gallium osmesa as recommended by Mesa. - Support building without X11. todo: - glvnd support (needs testing to figure out which platforms it builds on) - make AMD drivers optional on platforms like aarch64 Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.58 2019/08/21 13:35:28 nia Exp $ d28 7 @ 1.58 log @Move graphics/MesaLib18 to graphics/MesaLib. Move graphics/MesaLib to graphics/MesaLib11. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.3 2019/08/21 12:21:28 nia Exp $ a13 8 .if ${X11_TYPE} == "modular" BUILDLINK_ABI_DEPENDS.MesaLib+= MesaLib>=10.5.3 . if defined(USE_LANGUAGES) && !empty(USE_LANGUAGES:Mc++) # This is needed to avoid linking conflicting libstdc++ versions GCC_REQD+= 4.2 . endif .endif d20 8 d30 2 a31 2 .if ${X11_TYPE} == "native" && ${OPSYS} != "Cygwin" && exists(${X11BASE}/lib/pkgconfig/dri.pc) PKG_BUILD_OPTIONS.MesaLib+= dri d34 11 a44 2 .if !empty(PKG_BUILD_OPTIONS.MesaLib:Mdri) . include "../../graphics/MesaLib/dri.mk" d47 2 a48 5 .if ${X11_TYPE} == "modular" && !empty(PKG_BUILD_OPTIONS.MesaLib:Mdri) || \ ${X11_TYPE} == "native" && exists(${X11BASE}/include/EGL/egl.h) MESALIB_SUPPORTS_EGL= yes .else MESALIB_SUPPORTS_EGL= no a50 1 .include "../../x11/libXext/buildlink3.mk" @ 1.57 log @MesaLib/bl3.mk: don't advertise EGL support for modular Xorg on Darwin @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.56 2018/04/02 15:44:47 bsiegert Exp $ d16 1 a17 1 . if defined(USE_LANGUAGES) && !empty(USE_LANGUAGES:Mc++) d38 1 a38 1 .if ${X11_TYPE} == "modular" && !empty(PKG_BUILD_OPTIONS.MesaLib:Mdri) && ${OPSYS} != "Darwin" || \ d46 1 @ 1.56 log @Remove dependency on pthread-stublib. This was conditional on NetBSD before 3.0. The corresponding stanza in the Makefile is long gone, so this is probably an oversight from that time. Nothing in the build itself pulls in pthread-stublib. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.55 2018/01/07 13:04:12 rillig Exp $ d38 1 a38 1 .if ${X11_TYPE} == "modular" && !empty(PKG_BUILD_OPTIONS.MesaLib:Mdri) || \ @ 1.55 log @Fix indentation in buildlink3.mk files. The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was reviewed manually. There are some .include lines that still are indented with zero spaces although the surrounding .if is indented. This is existing practice. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.54 2015/09/27 21:58:03 tnn Exp $ a44 4 .if !empty(MACHINE_PLATFORM:MNetBSD-[12].*) .include "../../devel/pthread-stublib/buildlink3.mk" .endif @ 1.54 log @Experimentally support building with X11_TYPE=modular on OS X. This targets the Apple DRI platform instead of libpciaccess & libdrm. It is a step towards packaging XQuartz and towards a future goal of migrating the platform away from the so called "native" X11 which is no longer native by the usual definition. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.53 2015/09/16 12:28:53 tnn Exp $ d17 3 a19 3 .if defined(USE_LANGUAGES) && !empty(USE_LANGUAGES:Mc++) GCC_REQD+= 4.2 .endif @ 1.53 log @PR pkg/50243: PLIST fix when X11_TYPE=modular and PKG_OPTIONS.MesaLib=-dri ok gdt@@ @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.52 2015/04/25 11:19:18 tnn Exp $ d23 1 a23 1 .if !empty(MACHINE_PLATFORM:MDarwin-[9].*-*) @ 1.52 log @Update to MesaLib-10.5.3. Apologies in advance for any fallout. I have tested this as extensively as I could in wip but the fact is we were 5 years and 50+ releases behind so there will undoubtably still be issues. Users of software rendering should see a nice performance boost with this package as it now comes with the llvmpipe software rasterizer. Users who currently enjoy working DRI1 rendering with X11_TYPE=modular should switch to x11/modular-xorg-server112 now as x11/modular-xorg-server will from now on only support DRI2 and up. New features in MesaLib 10.5: Mesa 10.5.0 implements the OpenGL 3.3 API GL_ARB_framebuffer_sRGB on freedreno GL_ARB_texture_rg on freedreno GL_EXT_packed_float on freedreno GL_EXT_polygon_offset_clamp on i965, nv50, nvc0, r600, radeonsi, llvmpipe GL_EXT_texture_shared_exponent on freedreno GL_EXT_texture_snorm on freedreno Changes in MesaLib 10.5: Removed support for GCC versions earlier than 4.2.0. New features in MesaLib 10.4: GL_ARB_conditional_render_inverted on nv50 GL_ARB_sample_shading on r600 GL_ARB_texture_view on nv50, nvc0 GL_ARB_clip_control on nv50, nvc0, r300, r600, radeonsi, llvmpipe, softpipe GL_KHR_context_flush_control on all drivers Changes in MesaLib 10.4: The environment variable GALLIUM_MSAA that forced a multisample GLX visual was removed. New features in MesaLib 10.3: GL_ARB_ES3_compatibility on nv50, nvc0, r600, radeonsi, softpipe, llvmpipe GL_ARB_clear_texture on i965 GL_ARB_compressed_texture_pixel_storage on all drivers GL_ARB_conditional_render_inverted on i965, nvc0, softpipe, llvmpipe GL_ARB_derivative_control on i965, nv50, nvc0, r600 GL_ARB_draw_indirect on nvc0, radeonsi GL_ARB_explicit_uniform_location (all drivers that support GLSL) GL_ARB_fragment_layer_viewport on nv50, nvc0, llvmpipe, r600 GL_ARB_gpu_shader5 on i965/gen7, nvc0 GL_ARB_multi_draw_indirect on nvc0, radeonsi GL_ARB_sample_shading on radeonsi GL_ARB_seamless_cubemap_per_texture on i965, llvmpipe, nvc0, r600, radeonsi, softpipe GL_ARB_stencil_texturing on nv50, nvc0, r600, and radeonsi GL_ARB_texture_barrier on nv50, nvc0, r300, r600, radeonsi GL_ARB_texture_compression_bptc on i965/gen7+, nvc0, r600/evergreen+, radeonsi GL_ARB_texture_cube_map_array on radeonsi GL_ARB_texture_gather on r600, radeonsi GL_ARB_texture_query_levels on nv50, nvc0, llvmpipe, r600, radeonsi, softpipe GL_ARB_texture_query_lod on r600, radeonsi GL_ARB_viewport_array on nvc0 GL_AMD_vertex_shader_viewport_index on i965/gen7+, r600 GL_OES_compressed_ETC1_RGB8_texture on nv30, nv50, nvc0, r300, r600, radeonsi, softpipe, llvmpipe GLX_MESA_query_renderer on nv30, nv50, nvc0, r300, r600, radeonsi, softpipe, llvmpipe A new software rasterizer driver (kms_swrast_dri.so) that works with DRM drivers that don't have a full-fledged GEM (such as qxl or simpledrm) Distribute the Khronos GL/glcorearb.h header file. Changes in MesaLib 10.3: Removed support for the GL_ATI_envmap_bumpmap extension The hacky --enable-32/64-bit is no longer available in configure. To build 32/64 bit mesa refer to the default method recommended by your distribution New features in MesaLib 10.2: GL_ARB_buffer_storage on i965, nv30, nv50, nvc0, r300, r600, and radeonsi GL_ARB_multi_bind on all drivers GL_ARB_sample_shading on nv50 (GT21x only), nvc0 GL_ARB_separate_shader_objects (desktop OpenGL) and GL_EXT_separate_shader_objects (OpenGL ES 2.0 and 3.0) on all drivers GL_ARB_stencil_texturing on i965/gen8+ GL_ARB_texture_cube_map_array on nv50 (GT21x only) GL_ARB_texture_gather on nv50 (GT21x only), nvc0 GL_ARB_texture_query_lod on nv50 (GT21x only), nvc0 GL_ARB_texture_view on i965/gen7 GL_ARB_vertex_type_10f_11f_11f_rev on nv50, nvc0, radeonsi GL_ARB_viewport_array on nv50, r600 GL_INTEL_performance_query on i965/gen5+ Changes in MesaLib 10.2: Renamed --with-llvm-shared-libs to --enable-llvm-shared-libs Split libxatracker.so into a standalone library which can be used with any gallium driver. New features in MesaLib 10.1: GL_ARB_draw_indirect on i965. GL_ARB_clear_buffer_object GL_ARB_viewport_array on i965. GL_ARB_map_buffer_alignment on all drivers that did not previously support it. GL_AMD_shader_trinary_minmax. GL_EXT_framebuffer_blit on r200 and radeon. Reduced memory usage for display lists. OpenGL 3.3 support on nv50, nvc0, r600 and radeonsi Changes in MesaLib 10.1: Removed support for the GL_MESA_texture_array extension. This extension enabled the use of texture array with fixed-function and assembly fragment shaders. No applications are known to use this extension. New features in MesaLib 10.0: GL_AMD_seamless_cubemap_per_texture on i965. GL_ARB_conservative_depth on i965. GL_ARB_texture_gather on i965. GL_ARB_texture_query_levels on i965. GL_ARB_texture_mirror_clamp_to_edge. GL_ARB_transform_feedback2, GL_ARB_transform_feedback3, and GL_ARB_transform_feedback_instanced on i965/Gen7 (with appropriate kernel support). GL_ARB_sample_shading on i965. GL_ARB_shader_atomic_counters on i965. GL_ARB_vertex_attrib_binding GL_ARB_vertex_type_10f_11f_11f_rev on i965 and r600g GL_KHR_debug GLX_MESA_query_renderer Changes in MesaLib 10.0: Removed X.Org state tracker (unmaintained and broken) Removed the video-accel r300 targets Removed the video-accel softpipe targets New features in MesaLib 9.2: GL_ARB_shading_language_420pack in all drivers that support GLSL 1.30. GL_ARB_texture_buffer_range GL_ARB_texture_multisample GL_ARB_texture_storage_multisample GL_ARB_texture_query_lod GL_ARB_texture_storage on radeon, r200, and nouveau GL_EXT_discard_framebuffer in all OpenGL ES (all versions) drivers GL_EXT_framebuffer_multisample_blit_scaled on i965 Added new freedreno gallium driver OSMesa interface for gallium llvmpipe/softpipe drivers Gallium Heads-Up Display (HUD) feature for performance monitoring Added support for UVD (2.2 and 3.0) video decoding on r600g and radeonsi through VDPAU (requires Kernel 3.10 or later) Changes in MesaLib 9.2: Removed d3d1x state tracker (unused, unmaintained and broken) Removed GL_EXT_clip_volume_hint because no driver had enabled it since 2007. Removed GL_MESA_resize_buffers because it was only really implemented by the (unsupported) GDI driver. GL_EXT_separate_shader_objects has been removed from all Gallium drivers, because it disallows a critical GLSL shader optimization. GL_ARB_separate_shader_objects doesn't have this issue. i965 Gen6+ requires Kernel 3.6 or later. (92d2f5a) New features in MesaLib 9.1: GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_ES3_compatibility GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shading_language_packing GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_EXT_color_buffer_float GL_OES_depth_texture_cube_map OpenGL 3.1 core profile support on Radeon HD2000 up to HD6000 series Multisample anti-aliasing support on Radeon X1000 series OpenGL ES 3.0 support on Intel HD Graphics 2000, 2500, 3000, and 4000 Changes in MesaLib 9.1: Removed VAAPI state tracker (unmaintained and broken) Removed i965's broken hardware implementation of GL_NV_vertex_program Removed swrast support for GL_NV_vertex_program Removed swrast support for GL_NV_fragment_program Removed OpenVMS support (unmaintained and broken) Removed makedepend build dependency New features in MesaLib 9: Added new Gallium3D - nv30 driver Added new Gallium3D - radeonsi driver Added OpenCL state tracker Clover Completed VDPAU state tracker (video decoding support is currently limited to MPEG1 and MPEG2) GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB_debug_output GL_ARB_invalidate_subdata - Currently a "no-op" implementation. This extension is always enabled in all drivers. GL_ARB_shader_bit_encoding GL_ARB_texture_buffer_object GL_ARB_timer_query GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_uniform_buffer_object GL_EXT_unpack_subimage for ES 2.0 GL_EXT_read_format_bgra for ES 1.1 and 2.0 GL_EXT_texture_rg for ES 2.x GL_NV_read_buffer for ES 2.0 GLX_ARB_create_context_robustness EGL_KHR_create_context EGL_KHR_surfaceless_context - This replaces the EGL_KHR_surfaceless_{gles1,gles2,opengl} extensions that were never approved by Khronos. EGL_EXT_create_context_robustness Changes in Mesalib 9: The legacy/static Makefile system (ex: 'make linux-dri') has been removed. The two supported build methods are now autoconf/automake and SCons. Removed support for GL_ARB_shadow_ambient extension Removed Gallium3D - nvfx driver (use nv30 instead) libGLU has been moved into its own repository New features in MesaLib 8: GL_ARB_ES2_compatibility (r300g, r600g) GL_ARB_depth_buffer_float (r600g) GL_ARB_vertex_type_2_10_10_10_rev (r600g) GL_ARB_texture_storage (gallium drivers and swrast) GL_EXT_packed_float (i965) GL_EXT_texture_array (r600g, i965) GL_EXT_texture_shared_exponent (i965) GL_NV_fog_distance (all gallium drivers, nouveau classic) GL_NV_primitive_restart (r600g) GL_OES_EGL_image_external (gallium drivers) GL_OES_compressed_ETC1_RGB8_texture (softpipe, llvmpipe) ARB_texture_rgb10_a2ui (softpipe, r600g) Many updates to the VMware svga Gallium driver Changes in MesaLib 8: Removed all DRI drivers that did not support DRI2. Specifically, i810, mach64, mga, r128, savage, sis, tdfx, and unichrome were removed. Removed support for BeOS. Removed the obsolete (and unmaintained) Windows "gldirect" and "ICD" drivers. Removed the linux-fbdev software driver. Removed all remnants of paletted texture support. As required by desktop OpenGL, GL_COLOR_INDEX data can still be uploaded to a color (e.g., RGBA) texture. However, the data cannot be stored internally as color-index. Removed support for GL_APPLE_client_storage extension. Removed the classic Mesa r300 and r600 drivers, which are superseded by the gallium drivers for this hardware. Removed the dead Gallium i965, cell and failover drivers, which were either broken and with nobody in sight to fix the situation or deprecated. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.51 2013/05/16 05:22:02 richard Exp $ d38 7 @ 1.51 log @upgrade to MesaLib-7.11.2 @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.50 2013/04/19 13:42:37 obache Exp $ d14 8 @ 1.50 log @reorder condition of the previous change, to be bit faster. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.49 2013/04/19 11:56:23 obache Exp $ d9 1 a9 1 BUILDLINK_ABI_DEPENDS.MesaLib+= MesaLib>=7.0.3 @ 1.49 log @assume builtin MesaLib on Cygwin is not usind dri. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.48 2012/04/08 05:59:25 obache Exp $ d22 1 a22 1 .if ${X11_TYPE} == "native" && exists(${X11BASE}/lib/pkgconfig/dri.pc) && ${OPSYS} != "Cygwin" @ 1.48 log @Assume that native MesaLib is built with dri if builin dri exists. (required for OpenBSD-5.0). @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.47 2009/03/20 19:24:36 joerg Exp $ d22 1 a22 1 .if ${X11_TYPE} == "native" && exists(${X11BASE}/lib/pkgconfig/dri.pc) @ 1.47 log @Simply and speed up buildlink3.mk files and processing. This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.46 2008/05/15 19:46:47 tron Exp $ d22 4 @ 1.46 log @Use the proper way to pass the necessary arguments for the Mac OS X Leopard link bug workaround to the linker. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.45 2008/04/24 11:55:22 tnn Exp $ d3 1 a3 2 BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ MESALIB_BUILDLINK3_MK:= ${MESALIB_BUILDLINK3_MK}+ d5 2 a6 7 .if !empty(BUILDLINK_DEPTH:M+) BUILDLINK_DEPENDS+= MesaLib .endif BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NMesaLib} BUILDLINK_PACKAGES+= MesaLib BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}MesaLib a7 1 .if !empty(MESALIB_BUILDLINK3_MK:M+) a25 2 .endif # MESALIB_BUILDLINK3_MK d31 1 d33 1 a33 1 BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} @ 1.45 log @Two BUILDLINK_ABI_DEPENDS lines are one too many. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.44 2008/04/24 07:40:24 bjs Exp $ d23 1 a23 1 BUILDLINK_LDFLAGS.MesaLib+= -Wl,-dylib_file -Wl,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib @ 1.44 log @ Welcome to Mesa-7.0.3. Changes from 6.4.2 are (obviously) far too numerous to mention! This package brings with it support for the Direct Rendering Infrastructure (DRI) on NetBSD-current; the kernel DRM was committed approximately one year ago. Patches for NetBSD 4.0 are available in the mailing list archives (I think), but are _not supported_. Developers and other interested parties are encouraged to read the TODO file, as well as my remarks in options.mk. There is still a significant amount of work to be done. Users of NetBSD/i386 (-current) shouldn't have much trouble getting mainstream cards (Intel i915 and Radeon 9600- R430 are by far the most tested) to work. I have taken great pains to ensure that this works properly, but inevitably there will be problems--especially on heretofore untested (read: non-x86) hardware. Your questions, comments, problem reports, and of course bug fixes are welcome. NOTE: There are currently problems (on NetBSD, at least) linking some executables, e.g. compiz, due to unresolved symbols for libpthread functions. This is due to libX11's thread stubs, which should not be enabled on NetBSD >= 2.0; see the TODO For more information and the URL of an interim patch. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.43 2007/12/06 04:31:23 obache Exp $ d16 1 a16 2 BUILDLINK_ABI_DEPENDS.MesaLib+= MesaLib>=6.4.1nb1 BUILDLINK_ABI_DEPENDS.MesaLib+= MesaLib>=7.0.3 @ 1.43 log @Need bsd.prefs.mk before using MACHINE_PLATFORM. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.42 2007/12/05 21:42:18 tron Exp $ d17 1 a19 4 .if !defined(BUILDING_MESA) BUILDLINK_CPPFLAGS.MesaLib= -DGLX_GLXEXT_LEGACY .endif d27 6 a32 1 BUILDLINK_TRANSFORM+= l:MesaGL:GL @ 1.42 log @Add link to Apple work around into the makefile for documentation purposes. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.41 2007/12/05 21:39:01 tron Exp $ d23 2 a33 2 .include "../../mk/bsd.fast.prefs.mk" @ 1.41 log @Use Apple's suggested work around(*) to fix linker problems under Mac OS X Leopard. (*) http://developer.apple.com/qa/qa2007/qa1567.html @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.40 2007/08/13 11:18:40 seb Exp $ d23 1 @ 1.40 log @As discussed on tech-pkg@@ revert for now the last updates of the Mesa packages. Downgraded graphics/MesaLib to 6.4.2nb3 Downgraded graphics/glu to 6.4.2 Downgraded graphics/glut to 6.4.2 Downgraded graphics/glx-utils to 6.4.2 Downgraded graphics/MesaDemos to 6.4.2 Downgraded graphics/Mesa to 6.4.2 Approved byg agc@@. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.38 2007/02/02 17:41:36 joerg Exp $ d23 4 @ 1.39 log @Changes 7.0.1: New features: * Added a bluegene-osmesa build config Bug fixes: * Added a few missing OpenGL 2.0 API entrypoints * Fixed glDrawPixels(GL_STENCIL_INDEX) pixel transfer * GLSL bug fix: added vec2(vec4) constructor * GLSL bug fix: .strq and .rgba writemasks didn't always work * Stencil pixel map didn't always work for glDrawPixels * Fixed polygon stipple bug in i915 driver * Binding a zero-sized texture didn't disable texturing * Queries of GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH didn't include the terminating zero * glXChooseFBConfig() in Xlib driver didn't handle GLX_STEREO flag properly * Fixed a GLSL function call bug * glPointParameteriv(GL_DISTANCE_ATTENUATION_EXT) didn't work * glGetAttribLocation() always returned 1 * Fixed a few memory-related bugs in GLU library Changes 7.0.0: New features: * OpenGL 2.0 and 2.1 API support. Bug fixes: * Fixed a few fog-related bugs. * Fixed broken GLSL mix() function. * Fixed broken GLSL exp() functions. * Fixed GLSL mod4(vec4, vec4) bug. * Implemented GLSL asin(), acos(), atan() functions. * Fixed an R300 driver bug that caused Xorg composite manager to crash * Fixed R300 vertex program/matrix bug * GLSL dFdx() and dFdy() work for fragment program inputs now (texcoords) * Specifying an invalid texture unit as a sampler could lead to a crash * The GLX protocol request for glXDestroyPBuffer() was incorrect * ARB vp state.light[n].half value was incorrect * Fixed a positional light source bug * Fixed point size attenuation problem * glPopAttrib didn't restore texture object's LOD bias * Fixed a TLS / TEXTREL problem @ text @d19 1 a19 1 . if !defined(BUILDING_MESA) d21 1 a21 1 . endif @ 1.38 log @Require libXext here as well. Doesn't really make a difference as Mesa/b3.mk is normally included and that gets it via glut. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.37 2006/12/12 21:52:35 joerg Exp $ d19 1 a19 1 .if !defined(BUILDING_MESA) d21 1 a21 1 .endif @ 1.37 log @Replace mk/bsd.prefs.mk includes with bsd.fast.prefs.mk includes. The redundant parsing of bsd.prefs.mk is mostly avoided now and parse time e.g. for x11/kdebase3 gets reduced by up to 10%. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.36 2006/07/08 23:10:50 jlam Exp $ d33 2 @ 1.36 log @Change the format of BUILDLINK_ORDER to contain depth information as well, and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.35 2006/07/08 22:39:17 jlam Exp $ d27 1 a27 1 .include "../../mk/bsd.prefs.mk" @ 1.35 log @Track information in a new variable BUILDLINK_ORDER that informs us of the order in which buildlink3.mk files are (recursively) included by a package Makefile. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.34 2006/04/06 06:22:00 reed Exp $ d12 1 a12 1 BUILDLINK_ORDER+= MesaLib @ 1.34 log @Over 1200 files touched but no revisions bumped :) RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day). @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.33 2006/03/21 22:18:55 kristerw Exp $ d12 1 @ 1.33 log @Include ../../mk/bsd.prefs.mk to ensure that MACHINE_PLATFORM is defined before it is used. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.32 2006/03/21 19:26:31 drochner Exp $ d14 2 a15 2 BUILDLINK_DEPENDS.MesaLib+= MesaLib>=3.4.2 BUILDLINK_RECOMMENDED.MesaLib+= MesaLib>=6.4.1nb1 @ 1.32 log @Compensate for lossage I've caused by not explicitely linking against libpthread: link against a stub lib on systems which need it (NetBSD<=2). Thanks to mlh@@goathill.org for testing and reports. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.31 2006/02/05 23:09:27 joerg Exp $ d26 2 @ 1.31 log @Recursive revision bump / recommended bump for gettext ABI change. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.30 2005/07/10 10:42:26 grant Exp $ d26 4 @ 1.30 log @no need to force the latest version of MesaLib for pthread change where IGNORE_RECOMMENDED=YES. set BUILDLINK_RECOMMENDED>=6.2.1nb2. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.29 2004/10/03 00:14:48 tv Exp $ d15 1 a15 1 BUILDLINK_RECOMMENDED.MesaLib+= MesaLib>=6.2.1nb2 @ 1.29 log @Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10 in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.28 2004/04/17 03:45:46 snj Exp $ d15 1 a15 1 BUILDLINK_RECOMMENDED.MesaLib+= MesaLib>=6.0.1nb1 @ 1.28 log @Translate -lMesaGL to -lGL. Suggested by jlam over a month ago. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.27 2004/03/15 17:38:10 jlam Exp $ d15 1 @ 1.27 log @Move the definitions of MESA_REQD and _MESA_REQD to Mesa/version.mk and modify {MesaLib,glu}/{buildlink3,builtin}.mk accordingly. Also add the dependency on {MesaLib,glu}>=${_MESA_REQD} to the builtin.mk files so that we correctly check the built-in Mesa version against the dependency requirements. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.26 2004/03/10 17:57:14 jlam Exp $ d21 2 @ 1.26 log @Split out the code that deals with checking whether the software is built-in or not into a separate builtin.mk file. The code to deal checking for built-in software is much simpler to deal with in pkgsrc. The buildlink3.mk file for a package will be of the usual format regardless of the package, which makes it simpler for packagers to update a package. The builtin.mk file for a package must define a single yes/no variable USE_BUILTIN. that is used by bsd.buildlink3.mk to decide whether to use the built-in software or to use the pkgsrc software. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.25 2004/02/18 16:35:27 jlam Exp $ d14 1 a14 3 MESA_REQD+= 3.4.2 BUILDLINK_DEPENDS.MesaLib+= MesaLib>=${_MESA_REQD} @ 1.25 log @Reorder some lines so that BUILDLINK_USE_BUILTIN. set in the environment overrides all other settings. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.24 2004/02/12 02:35:06 jlam Exp $ d6 6 a11 1 .include "../../mk/bsd.prefs.mk" a15 27 # Distill the MESA_REQD list into a single _MESA_REQD value that is the # highest version of MESA required. # _MESA_STRICTEST_REQD?= none . for _version_ in ${MESA_REQD} . for _pkg_ in gcc-${_version_} . if ${_MESA_STRICTEST_REQD} == "none" _MESA_PKG_SATISFIES_DEP= YES . for _vers_ in ${MESA_REQD} . if !empty(_MESA_PKG_SATISFIES_DEP:M[yY][eE][sS]) _MESA_PKG_SATISFIES_DEP!= \ if ${PKG_ADMIN} pmatch 'gcc>=${_vers_}' ${_pkg_}; then \ ${ECHO} "YES"; \ else \ ${ECHO} "NO"; \ fi . endif . endfor . if !empty(_MESA_PKG_SATISFIES_DEP:M[yY][eE][sS]) _MESA_STRICTEST_REQD= ${_version_} . endif . endif . endfor . endfor _MESA_REQD= ${_MESA_STRICTEST_REQD} BUILDLINK_PACKAGES+= MesaLib a17 1 .endif # MESALIB_BUILDLINK3_MK d19 2 a20 39 BUILDLINK_CHECK_BUILTIN.MesaLib?= NO _GL_GLX_H= ${X11BASE}/include/GL/glx.h _X11_TMPL= ${X11BASE}/lib/X11/config/X11.tmpl .if !defined(BUILDLINK_IS_BUILTIN.MesaLib) BUILDLINK_IS_BUILTIN.MesaLib= NO . if exists(${_GL_GLX_H}) && exists(${_X11_TMPL}) _IS_BUILTIN.MesaLib!= \ if ${GREP} -q BuildGLXLibrary ${_X11_TMPL}; then \ ${ECHO} "YES"; \ else \ ${ECHO} "NO"; \ fi BUILDLINK_IS_BUILTIN.MesaLib= ${_IS_BUILTIN.MesaLib} . if !empty(BUILDLINK_CHECK_BUILTIN.MesaLib:M[nN][oO]) && \ !empty(_IS_BUILTIN.MesaLib:M[yY][eE][sS]) # # Create an appropriate package name for the built-in Mesa/GLX distributed # with the system. This package name can be used to check against # BUILDLINK_DEPENDS. to see if we need to install the pkgsrc version # or if the built-in one is sufficient. # . include "../../graphics/Mesa/version.mk" _MESALIB_PKG= MesaLib-${_MESA_VERSION} BUILDLINK_IS_BUILTIN.MesaLib?= YES . for _depend_ in ${BUILDLINK_DEPENDS.MesaLib} . if !empty(BUILDLINK_IS_BUILTIN.MesaLib:M[yY][eE][sS]) BUILDLINK_IS_BUILTIN.MesaLib!= \ if ${PKG_ADMIN} pmatch '${_depend_}' ${_MESALIB_PKG}; then \ ${ECHO} "YES"; \ else \ ${ECHO} "NO"; \ fi . endif . endfor . endif . endif MAKEFLAGS+= BUILDLINK_IS_BUILTIN.MesaLib=${BUILDLINK_IS_BUILTIN.MesaLib} a22 48 .if !empty(BUILDLINK_CHECK_BUILTIN.MesaLib:M[yY][eE][sS]) BUILDLINK_USE_BUILTIN.MesaLib= YES .endif .if !defined(BUILDLINK_USE_BUILTIN.MesaLib) . if !empty(BUILDLINK_IS_BUILTIN.MesaLib:M[yY][eE][sS]) BUILDLINK_USE_BUILTIN.MesaLib= YES . else BUILDLINK_USE_BUILTIN.MesaLib= NO . endif . if !empty(PREFER_NATIVE:M[yY][eE][sS]) && \ !empty(BUILDLINK_IS_BUILTIN.MesaLib:M[yY][eE][sS]) BUILDLINK_USE_BUILTIN.MesaLib= YES . endif . if !empty(PREFER_PKGSRC:M[yY][eE][sS]) BUILDLINK_USE_BUILTIN.MesaLib= NO . endif . if !empty(PREFER_NATIVE:MMesaLib) && \ !empty(BUILDLINK_IS_BUILTIN.MesaLib:M[yY][eE][sS]) BUILDLINK_USE_BUILTIN.MesaLib= YES . endif . if !empty(PREFER_PKGSRC:MMesaLib) BUILDLINK_USE_BUILTIN.MesaLib= NO . endif .endif .if !empty(BUILDLINK_USE_BUILTIN.MesaLib:M[nN][oO]) # # If we depend on the package, depend on the latest version with a library # major number bump. # BUILDLINK_DEPENDS.MesaLib+= MesaLib>=6.0 . if !empty(BUILDLINK_DEPTH:M+) BUILDLINK_DEPENDS+= MesaLib . endif .endif .if !empty(MESALIB_BUILDLINK3_MK:M+) . if !empty(BUILDLINK_USE_BUILTIN.MesaLib:M[yY][eE][sS]) BUILDLINK_PREFIX.MesaLib= ${X11BASE} USE_X11= yes _MESA_REQD= ${_MESA_VERSION} . else . if !defined(BUILDING_MESA) BUILDLINK_CPPFLAGS.MesaLib= -DGLX_GLXEXT_LEGACY . endif . endif @ 1.24 log @Create a new variable PREFER_NATIVE that has the opposite semantics as PREFER_PKGSRC. Preferences are determined by the most specific instance of the package in either PREFER_PKGSRC or PREFER_NATIVE. If a package is specified in neither or in both variables, then PREFER_PKGSRC has precedence over PREFER_NATIVE. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.23 2004/02/12 01:59:38 jlam Exp $ d83 1 a83 1 .if !empty(BUILDLINK_IS_BUILTIN.MesaLib:M[yY][eE][sS]) a84 2 .else BUILDLINK_USE_BUILTIN.MesaLib= NO d87 2 a88 2 .if !empty(PREFER_NATIVE:M[yY][eE][sS]) && \ !empty(BUILDLINK_IS_BUILTIN.MesaLib:M[yY][eE][sS]) d90 1 a90 2 .endif .if !empty(PREFER_PKGSRC:M[yY][eE][sS]) d92 4 a95 3 .endif .if !empty(PREFER_NATIVE:MMesaLib) && \ !empty(BUILDLINK_IS_BUILTIN.MesaLib:M[yY][eE][sS]) d97 2 a98 2 .endif .if !empty(PREFER_PKGSRC:MMesaLib) d100 3 a102 3 .endif .if !empty(BUILDLINK_CHECK_BUILTIN.MesaLib:M[yY][eE][sS]) d104 4 @ 1.23 log @Reorganize code so that any dependencies are checked as part of deciding whether the software is built-in or not. This facilitates implementing the forthcoming PKGSRC_NATIVE variable. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.22 2004/02/11 02:03:41 jlam Exp $ d89 12 a100 2 .if !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \ !empty(PREFER_PKGSRC:MMesaLib) @ 1.22 log @Turn MESA_REQD back into a public variable, and make it take a list of values that MesaLib/buildlink3.mk converts into a single _MESA_REQD that is the highest version required. If including the Mesa/buildlink3.mk file, then require the same version of Mesa as required by glut. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.21 2004/02/10 23:23:02 jlam Exp $ d50 1 a50 1 BUILDLINK_IS_BUILTIN.MesaLib!= \ d56 3 a58 17 . endif MAKEFLAGS+= BUILDLINK_IS_BUILTIN.MesaLib=${BUILDLINK_IS_BUILTIN.MesaLib} .endif .if !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \ !empty(PREFER_PKGSRC:MMesaLib) BUILDLINK_USE_BUILTIN.MesaLib= NO .endif .if !empty(BUILDLINK_CHECK_BUILTIN.MesaLib:M[yY][eE][sS]) BUILDLINK_USE_BUILTIN.MesaLib= YES .endif .if !defined(BUILDLINK_USE_BUILTIN.MesaLib) . if !empty(BUILDLINK_IS_BUILTIN.MesaLib:M[nN][oO]) BUILDLINK_USE_BUILTIN.MesaLib= NO . else d65 1 a65 1 . include "../../graphics/Mesa/version.mk" d67 4 a70 4 BUILDLINK_USE_BUILTIN.MesaLib?= YES . for _depend_ in ${BUILDLINK_DEPENDS.MesaLib} . if !empty(BUILDLINK_USE_BUILTIN.MesaLib:M[yY][eE][sS]) BUILDLINK_USE_BUILTIN.MesaLib!= \ d76 3 a78 2 . endif . endfor d80 17 a96 3 MAKEFLAGS+= \ BUILDLINK_USE_BUILTIN.MesaLib=${BUILDLINK_USE_BUILTIN.MesaLib} .endif # BUILDLINK_USE_BUILTIN.MesaLib @ 1.21 log @Don't pass the -DGLX_GLXEXT_LEGACY to the compiler if we're building another bit of the Mesa package. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.20 2004/02/10 22:42:56 jlam Exp $ d9 27 a35 1 _MESA_REQD?= 3.4.2 @ 1.20 log @Require at least the version of Mesa that's installed by the base system if it's used. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.19 2004/02/10 22:23:40 jlam Exp $ d88 1 d90 1 @ 1.19 log @Privatise MESA_REQD. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.18 2004/02/10 22:22:05 jlam Exp $ d86 1 @ 1.18 log @The pkgsrc version of Mesa that last bumped shlib majors was 6.0. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.17 2004/02/06 19:04:24 jlam Exp $ d9 1 a9 1 MESA_REQD?= 3.4.2 d12 1 a12 1 BUILDLINK_DEPENDS.MesaLib+= MesaLib>=${MESA_REQD} @ 1.17 log @If we're passing through MAKEFLAGS variables whose values may contain spaces, use the :Q modifier instead of double-quoting the value. This avoids breakage when executing the just-in-time su targets. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.16 2004/02/05 07:17:14 jlam Exp $ d76 1 a76 1 BUILDLINK_DEPENDS.MesaLib+= MesaLib>=5.0 @ 1.16 log @Make PREFER_PKGSRC just yes/no or a list of packages. This makes it simpler to understand. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.15 2004/02/05 07:06:15 jlam Exp $ d31 1 a31 1 MAKEFLAGS+= BUILDLINK_IS_BUILTIN.MesaLib="${BUILDLINK_IS_BUILTIN.MesaLib}" d68 1 a68 1 BUILDLINK_USE_BUILTIN.MesaLib="${BUILDLINK_USE_BUILTIN.MesaLib}" @ 1.15 log @Rename BUILDLINK_PREFER_PKGSRC to PREFER_PKGSRC so that we can use its value outside of buildlink-related files. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.14 2004/02/05 06:58:03 jlam Exp $ d34 2 a35 3 .if defined(PREFER_PKGSRC) . if empty(PREFER_PKGSRC) || !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \ !empty(PREFER_PKGSRC:MMesaLib) a36 1 . endif @ 1.14 log @Support a new global variable: BUILDLINK_PREFER_PKGSRC This variable determines whether or not to prefer the pkgsrc versions of software that is also present in the base system. This variable is multi-state: defined, or "yes" always prefer the pkgsrc versions not defined, or "no" only use the pkgsrc versions if needed by dependency requirements This can also take a list of packages for which to prefer the pkgsrc-installed software. The package names may be found by consulting the value added to BUILDLINK_PACKAGES in the buildlink[23].mk files for that package. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.13 2004/01/24 03:12:32 jlam Exp $ d34 3 a36 4 .if defined(BUILDLINK_PREFER_PKGSRC) . if empty(BUILDLINK_PREFER_PKGSRC) || \ !empty(BUILDLINK_PREFER_PKGSRC:M[yY][eE][sS]) || \ !empty(BUILDLINK_PREFER_PKGSRC:MMesaLib) @ 1.13 log @Support BUILDLINK_DEPENDS. being a list of values. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.12 2004/01/24 01:53:00 jlam Exp $ d34 8 @ 1.12 log @If we use the XFree86-supplied GL and GLU libraries, then we are using X11. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.11 2004/01/05 11:05:45 jlam Exp $ d12 1 a12 1 BUILDLINK_DEPENDS.MesaLib?= MesaLib>=${MESA_REQD} d50 3 a52 1 _MESALIB_DEPENDS= ${BUILDLINK_DEPENDS.MesaLib} d54 1 a54 1 if ${PKG_ADMIN} pmatch '${_MESALIB_DEPENDS}' ${_MESALIB_PKG}; then \ d59 2 d71 1 a71 1 BUILDLINK_DEPENDS.MesaLib= MesaLib>=5.0 @ 1.11 log @Use S/+$// instead of C/\+$// to save a backslash. Very highly recommended by seb :) @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.10 2004/01/05 09:31:31 jlam Exp $ d76 1 @ 1.10 log @Sow BUILDLINK_USE_BUILTIN. and reap _NEED_ variables. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.9 2004/01/04 23:34:06 jlam Exp $ d81 1 a81 1 BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//} @ 1.9 log @Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.8 2003/09/30 10:18:57 jlam Exp $ d6 2 a8 2 . include "../../mk/bsd.prefs.mk" d11 1 d26 1 a26 1 ${ECHO} YES; \ d28 1 a28 1 ${ECHO} NO; \ d31 1 a31 1 MAKEFLAGS+= BUILDLINK_IS_BUILTIN.MesaLib=${BUILDLINK_IS_BUILTIN.MesaLib} d35 1 a35 1 _NEED_MESALIB= NO d38 1 a38 1 .if !defined(_NEED_MESALIB) d40 1 a40 1 _NEED_MESALIB= YES d51 1 a51 1 _NEED_MESALIB!= \ d53 2 a55 2 else \ ${ECHO} "YES"; \ d58 3 a60 2 MAKEFLAGS+= _NEED_MESALIB="${_NEED_MESALIB}" .endif # _NEED_MESALIB d62 1 a62 1 .if ${_NEED_MESALIB} == "YES" d74 3 a76 2 . if ${_NEED_MESALIB} == "YES" BUILDLINK_PACKAGES+= MesaLib a77 2 . else BUILDLINK_PREFIX.MesaLib= ${X11BASE} @ 1.8 log @Match the buildlink3.mk guidelines set out in revision 1.22 of bsd.buildlink3.mk. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.7 2003/09/30 00:42:32 jlam Exp $ d6 1 a6 1 .if !empty(MESALIB_BUILDLINK3_MK:M\+) d66 1 a66 1 . if !empty(BUILDLINK_DEPTH:M\+) d71 1 a71 1 .if !empty(MESALIB_BUILDLINK3_MK:M\+) @ 1.7 log @Conform to latest buildlink3.mk guidelines using *_BUILDLINK3_MK guards to protect more parts of buildlink3.mk files against multiple inclusion. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.6 2003/09/28 12:54:52 jlam Exp $ d4 1 d6 1 a6 3 .if !defined(MESALIB_BUILDLINK3_MK) MESALIB_BUILDLINK3_MK= YES d71 1 a71 1 .if !defined(MESALIB_BUILDLINK3_MK) @ 1.6 log @Rewrite buildlink3.mk files to match the updated buildlink3.mk template in bsd.buildlink3.mk: the *_BUILDLINK3_MK multiple inclusion guards are removed and we ensure that things that should be defined only once really are defined only once by using section-specific or variable-specific guards. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.5 2003/09/14 01:47:51 jlam Exp $ d5 4 a8 1 .include "../../mk/bsd.prefs.mk" d14 1 d34 4 d48 1 a48 1 . include "../../graphics/Mesa/version.mk" d58 1 a60 4 .if !empty(BUILDLINK_CHECK_BUILTIN.MesaLib:M[yY][eE][sS]) _NEED_MESALIB= NO .endif d70 4 a73 1 . if !defined(BUILDLINK_PACKAGES) || empty(BUILDLINK_PACKAGES:MMesaLib) d76 2 d79 1 a79 3 .else BUILDLINK_PREFIX.MesaLib= ${X11BASE} .endif @ 1.5 log @Provide definitions for BUILDLINK_PREFIX. when the dependency may be satisfied by a base system (X11R6) component. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.4 2003/09/13 23:21:19 jlam Exp $ a2 2 .if !defined(MESALIB_BUILDLINK3_MK) MESALIB_BUILDLINK3_MK= # defined d30 1 a30 3 .if !empty(BUILDLINK_CHECK_BUILTIN.MesaLib:M[yY][eE][sS]) _NEED_MESALIB= NO .else d40 1 a40 1 . include "../../graphics/Mesa/version.mk" d50 4 d65 1 d68 1 a73 1 .endif # MESALIB_BUILDLINK3_MK @ 1.4 log @Need to use :C instead of :S to get the "pop" action to work properly. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.3 2003/09/07 19:36:26 jlam Exp $ d67 2 @ 1.3 log @This is Mesa/GLX, not freetype2. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.2 2003/09/05 11:39:02 jlam Exp $ d69 1 a69 1 BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/\+$//} @ 1.2 log @Move BUILDLINK_CHECK_BUILTIN. documentation into bsd.buildlink3.mk. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.1 2003/09/02 07:12:16 jlam Exp $ d39 1 a39 1 # Create an appropriate package name for the built-in freetype2 distributed @ 1.1 log @Add some buildlink3.mk files needed by x11-links>=0.13. @ text @d1 1 a1 1 # $NetBSD$ a13 5 # If BUILDLINK_CHECK_BUILTIN. is "YES", then _only_ run the check # to see whether this is builtin to the system. The result can be found # by checking the value of BUILDLINK_IS_BUILTIN. (either "YES" or # "NO"). # @