head 1.5; access; symbols pkgsrc-2023Q4:1.5.0.12 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.10 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.5.0.8 pkgsrc-2023Q2-base:1.5 pkgsrc-2023Q1:1.5.0.6 pkgsrc-2023Q1-base:1.5 pkgsrc-2022Q4:1.5.0.4 pkgsrc-2022Q4-base:1.5 pkgsrc-2022Q3:1.5.0.2 pkgsrc-2022Q3-base:1.5 pkgsrc-2022Q2:1.4.0.12 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.10 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.8 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.6 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.4 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.2 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.3.0.38 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.36 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.32 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.12 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.34 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.30 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.28 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.26 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.24 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.22 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.20 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.18 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.16 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.14 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.10 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.8 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.6 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.4 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.2 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.2.0.4 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.2 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.1.0.40 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.38 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.36 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.34 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.32 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.30 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.28 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.26 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.24 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.22 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.20 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.18 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.16 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.14 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.12 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.10 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.8 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.6 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.4 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.2 pkgsrc-2010Q4-base:1.1; locks; strict; comment @# @; 1.5 date 2022.07.14.23.45.48; author dholland; state Exp; branches; next 1.4; commitid J6pmT8uBj5yQ8VLD; 1.4 date 2021.03.21.08.02.27; author wiz; state Exp; branches; next 1.3; commitid HaM63DTmrepfm9MC; 1.3 date 2016.04.11.04.22.34; author dbj; state Exp; branches; next 1.2; commitid TpixwDg88CcX9a2z; 1.2 date 2015.11.23.00.49.26; author mef; state Exp; branches; next 1.1; commitid Jm5cI7qVaTBYt9Ky; 1.1 date 2010.12.19.11.22.59; author dsainty; state Exp; branches; next ; desc @@ 1.5 log @Fix jpeg.bl3.mk to include bl3 files outside multiple-include protection. This makes the library chosen appear in all places it's supposed to in the buildlink tree instead of just the first time it's mentioned. Closes PR 47017 (mk/jpeg.bl3.mk is order-dependent) @ text @# $NetBSD: jpeg.buildlink3.mk,v 1.4 2021/03/21 08:02:27 wiz Exp $ # # This Makefile fragment is meant to be included by packages that # require a libjpeg implementation. jpeg.buildlink3.mk will: # # * set JPEGBASE to the base directory of the libjpeg files; # * set JPEG_TYPE to the libjpeg implementation used. # # There are two variables that can be used to tweak the selection of # the libjpeg implementation: # # JPEG_DEFAULT is a user-settable variable whose value is the default # libjpeg implementation to use. # # JPEG_ACCEPTED is a package-settable list of libjpeg implementations # that may be used by the package. # # The allowed values are: jpeg libjpeg-turbo MK_JPEG_BUILDLINK3_MK:= ${MK_JPEG_BUILDLINK3_MK}+ .include "bsd.fast.prefs.mk" .if !empty(MK_JPEG_BUILDLINK3_MK:M+) # This is an exhaustive list of all of the libjpeg implementations # that may be used with jpeg.buildlink3.mk, in order of precedence. # _JPEG_PKGS?= jpeg libjpeg-turbo JPEG_DEFAULT?= jpeg JPEG_ACCEPTED?= ${_JPEG_PKGS} _JPEG_DEFAULT= ${JPEG_DEFAULT} _JPEG_ACCEPTED= ${JPEG_ACCEPTED} _JPEG_TYPE?= ${_JPEG_DEFAULT} . if !empty(_JPEG_ACCEPTED:M${_JPEG_TYPE}) JPEG_TYPE= ${_JPEG_TYPE} . else JPEG_TYPE= none . endif BUILD_DEFS+= JPEG_DEFAULT BUILD_DEFS_EFFECTS+= JPEGBASE JPEG_TYPE JPEGBASE= ${BUILDLINK_PREFIX.${JPEG_TYPE}} .endif # MK_JPEG_BUILDLINK3_MK # Include the bl3 files outside the multiple-include protection. They # should get into the buildlink tree each time this file is included, # not just the first time. .if ${JPEG_TYPE} == "none" PKG_FAIL_REASON+= \ "${_JPEG_TYPE} is not an acceptable libjpeg type for ${PKGNAME}." .elif ${JPEG_TYPE} == "jpeg" . include "../../graphics/jpeg/buildlink3.mk" .elif ${JPEG_TYPE} == "libjpeg-turbo" . include "../../graphics/libjpeg-turbo/buildlink3.mk" .endif @ 1.4 log @mk/jpeg.buildlink3.mk: document allowed values @ text @d1 1 a1 1 # $NetBSD: jpeg.buildlink3.mk,v 1.3 2016/04/11 04:22:34 dbj Exp $ d48 8 a63 4 JPEGBASE= ${BUILDLINK_PREFIX.${JPEG_TYPE}} .endif # MK_JPEG_BUILDLINK3_MK @ 1.3 log @update PKG_{FAIL,SKIP}_REASON with += @ text @d1 1 a1 1 # $NetBSD: jpeg.buildlink3.mk,v 1.2 2015/11/23 00:49:26 mef Exp $ d18 1 @ 1.2 log @Fix typo in comment line (three -> two) @ text @d1 1 a1 1 # $NetBSD: jpeg.buildlink3.mk,v 1.1 2010/12/19 11:22:59 dsainty Exp $ d48 1 a48 1 PKG_FAIL_REASON= \ @ 1.1 log @This Makefile fragment is meant to be included by packages that require a libjpeg implementation. jpeg.buildlink3.mk will: * set JPEGBASE to the base directory of the libjpeg files; * set JPEG_TYPE to the libjpeg implementation used. There are three variables that can be used to tweak the selection of the libjpeg implementation: JPEG_DEFAULT is a user-settable variable whose value is the default libjpeg implementation to use. JPEG_ACCEPTED is a package-settable list of libjpeg implementations that may be used by the package. This .mk is broadly based on fam.buildlink3.mk,v 1.7, and currently supports selection between the default "graphics/jpeg" and the alternative "graphics/libjpeg-turbo". @ text @d1 1 a1 1 # $NetBSD$ d9 1 a9 1 # There are three variables that can be used to tweak the selection of @