head 1.5; access; symbols pkgsrc-2023Q4:1.5.0.34 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.32 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.5.0.30 pkgsrc-2023Q2-base:1.5 pkgsrc-2023Q1:1.5.0.28 pkgsrc-2023Q1-base:1.5 pkgsrc-2022Q4:1.5.0.26 pkgsrc-2022Q4-base:1.5 pkgsrc-2022Q3:1.5.0.24 pkgsrc-2022Q3-base:1.5 pkgsrc-2022Q2:1.5.0.22 pkgsrc-2022Q2-base:1.5 pkgsrc-2022Q1:1.5.0.20 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.5.0.18 pkgsrc-2021Q4-base:1.5 pkgsrc-2021Q3:1.5.0.16 pkgsrc-2021Q3-base:1.5 pkgsrc-2021Q2:1.5.0.14 pkgsrc-2021Q2-base:1.5 pkgsrc-2021Q1:1.5.0.12 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.10 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.8 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.6 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.2 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.4 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.4.0.14 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.12 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.10 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.8 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.6 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.4 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.2 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.3.0.50 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.48 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.44 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.42 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.40 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.38 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.36 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.34 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.32 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.30 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.28 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.26 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.24 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.22 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.20 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.18 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.16 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.14 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.12 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.10 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.8 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.6 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.4 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.2 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.2.0.26 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.2.0.24 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.22 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.20 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.18 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.16 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.2.0.14 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.12 pkgsrc-2010Q1-base:1.2 pkgsrc-2009Q4:1.2.0.10 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.8 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.6 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.4 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.2 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.1.0.18 pkgsrc-2008Q3-base:1.1 cube-native-xorg:1.1.0.16 cube-native-xorg-base:1.1 pkgsrc-2008Q2:1.1.0.14 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.12 pkgsrc-2008Q1:1.1.0.10 pkgsrc-2008Q1-base:1.1 pkgsrc-2007Q4:1.1.0.8 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.6 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.4 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.2; locks; strict; comment @# @; 1.5 date 2019.11.03.09.14.13; author rillig; state Exp; branches; next 1.4; commitid nN7SqjIWSmrcXnJB; 1.4 date 2018.03.07.11.57.38; author wiz; state Exp; branches; next 1.3; commitid i1zssNVcYN02lwtA; 1.3 date 2012.03.19.12.34.21; author joerg; state Exp; branches; next 1.2; 1.2 date 2008.10.05.21.36.34; author cube; state Exp; branches; next 1.1; 1.1 date 2007.05.30.01.22.13; author schmonz; state Exp; branches 1.1.2.1 1.1.16.1; next ; 1.1.2.1 date 2007.05.30.01.22.13; author salo; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2007.06.14.22.03.09; author salo; state Exp; branches; next ; 1.1.16.1 date 2008.09.26.21.15.19; author cube; state Exp; branches; next ; desc @@ 1.5 log @x11: align variable assignments pkglint -Wall -F --only aligned --only indent -r No manual corrections. @ text @# $NetBSD: builtin.mk,v 1.4 2018/03/07 11:57:38 wiz Exp $ BUILTIN_PKG:= Xrandr BUILTIN_FIND_FILES_VAR:= H_XRANDR BUILTIN_FIND_FILES.H_XRANDR= ${X11BASE}/include/X11/extensions/Xrandr.h .include "../../mk/buildlink3/bsd.builtin.mk" ### ### Determine if there is a built-in implementation of the package and ### set IS_BUILTIN. appropriately ("yes" or "no"). ### .if !defined(IS_BUILTIN.Xrandr) . if empty(H_XRANDR:M__nonexistent__) IS_BUILTIN.Xrandr= yes . else IS_BUILTIN.Xrandr= no . endif .endif MAKEVARS+= IS_BUILTIN.Xrandr ### ### If there is a built-in implementation, then set BUILTIN_PKG. to ### a package name to represent the built-in package. ### .if !defined(BUILTIN_PKG.Xrandr) && \ !empty(IS_BUILTIN.Xrandr:M[yY][eE][sS]) && \ empty(H_XRANDR:M__nonexistent__) # # Xrandr doesn't provide a method of discovering the version number of # the software. Match up Xrandr versions with X11 versions for an # approximate determination of the Xrandr version. # _BLTN_XRANDR_VERSIONS= 1.0.2 1.0.1 1.0 0.99 _BLTN_XRANDR_0.99.XFree86= 4.2 4.2.* _BLTN_XRANDR_1.0.XFree86= 4.3 4.3.[0-9] 4.3.[0-9].* \ 4.3.[1-8][0-9]* 4.3.9[0-8]* \ 4.3.99.* 4.[4-9]* 4.[1-9][0-9]* _BLTN_XRANDR_1.0.xorg= 6.[7-9]* 6.[1-9][0-9]* . for _version_ in ${_BLTN_XRANDR_VERSIONS} . for _pattern_ in ${_BLTN_XRANDR_${_version_}.${BUILTIN_X11_TYPE.${X11_TYPE}}} . if defined(BUILTIN_X11_VERSION.${X11_TYPE}) && \ !empty(BUILTIN_X11_VERSION.${X11_TYPE}:M${_pattern_}) BUILTIN_VERSION.Xrandr?= ${_version_} . endif . endfor . endfor . if defined(BUILTIN_VERSION.Xrandr) BUILTIN_PKG.Xrandr= Xrandr-${BUILTIN_VERSION.Xrandr} . endif .endif MAKEVARS+= BUILTIN_PKG.Xrandr ### ### Determine whether we should use the built-in implementation if it ### exists, and set USE_BUILTIN. appropriate ("yes" or "no"). ### # # These are dependencies of Xrandr. If we need to use the pkgsrc # versions of any of these, then also use the pkgsrc version of # Xrandr. # .if defined(USE_BUILTIN.Xrender) && !empty(USE_BUILTIN.Xrender:M[nN][oO]) USE_BUILTIN.Xrender= no .endif .if !defined(USE_BUILTIN.Xrandr) . if ${PREFER.Xrandr} == "pkgsrc" USE_BUILTIN.Xrandr= no . else USE_BUILTIN.Xrandr= ${IS_BUILTIN.Xrandr} . if defined(BUILTIN_PKG.Xrandr) && \ !empty(IS_BUILTIN.Xrandr:M[yY][eE][sS]) USE_BUILTIN.Xrandr= yes . for _dep_ in ${BUILDLINK_API_DEPENDS.Xrandr} . if !empty(USE_BUILTIN.Xrandr:M[yY][eE][sS]) USE_BUILTIN.Xrandr!= \ if ${PKG_ADMIN} pmatch ${_dep_:Q} ${BUILTIN_PKG.Xrandr:Q}; then \ ${ECHO} yes; \ else \ ${ECHO} no; \ fi . endif . endfor . endif . endif # PREFER.Xrandr .endif MAKEVARS+= USE_BUILTIN.Xrandr ### ### The section below only applies if we are not including this file ### solely to determine whether a built-in implementation exists. ### .include "../../mk/x11.builtin.mk" CHECK_BUILTIN.Xrandr?= no .if !empty(CHECK_BUILTIN.Xrandr:M[nN][oO]) . if !empty(USE_BUILTIN.Xrandr:M[nN][oO]) BUILDLINK_API_DEPENDS.Xrandr+= Xrandr>=1.0.1 BUILDLINK_API_DEPENDS.Xrender+= Xrender>=0.8 . endif . if !empty(USE_BUILTIN.Xrandr:M[yY][eE][sS]) BUILDLINK_PREFIX.Xrandr= ${X11BASE} USE_BUILTIN.Xrender= yes . endif .endif # CHECK_BUILTIN.Xrandr @ 1.4 log @xorgproto: use xorgproto instead of separate *proto packages Remove now obsolete packages. @ text @d1 1 a1 1 # $NetBSD: builtin.mk,v 1.3 2012/03/19 12:34:21 joerg Exp $ d21 1 a21 1 MAKEVARS+= IS_BUILTIN.Xrandr d50 1 a50 1 BUILTIN_PKG.Xrandr= Xrandr-${BUILTIN_VERSION.Xrandr} d53 1 a53 1 MAKEVARS+= BUILTIN_PKG.Xrandr d89 1 a89 1 MAKEVARS+= USE_BUILTIN.Xrandr @ 1.3 log @Drop imake-check logic from X11 components' builtin.mk. Always use xorg-cf-files and imake from pkgsrc, replacing xpkgwedge. Always install man pages, not cat pages when using imake. Unify the various imake PLIST variables in preparation for dropping. Adjust xbattbar for the new expectations. @ text @d1 1 a1 1 # $NetBSD: builtin.mk,v 1.2 2008/10/05 21:36:34 cube Exp $ a66 3 .if defined(USE_BUILTIN.randrproto) && !empty(USE_BUILTIN.randrproto:M[nN][oO]) USE_BUILTIN.randrproto= no .endif a108 1 USE_BUILTIN.randrproto= yes @ 1.2 log @Merge cube-native-xorg, so that pkgsrc-current can be used with the native X.Org found in NetBSD-current. Thanks a lot to all who helped, especially Matthias Scheler who did repeated tests on Mac OS X and older versions of NetBSD to make sure the support for those platforms wouldn't be broken (or at least, not fatally, as I would still expect a few hiccups here and there, because there is only so much one can test in such limited time). On the infrastructure side, this branch brings pkgconfig-builtin.mk, in order to write very easily new builtin.mk files. It can actually handle more than just pkgconfig files, but it will provide a version if it finds such a file. x11.builtin.mk has also been made more useful and now all existing (and future!) native-X11-related builtin.mk files should include it. @ text @d1 1 a1 1 # $NetBSD: builtin.mk,v 1.1 2007/05/30 01:22:13 schmonz Exp $ d15 3 a18 4 . if empty(H_XRANDR:M__nonexistent__) BUILTIN_IMAKE_CHECK:= Xrandr:BuildRandRLibrary . include "../../mk/buildlink3/imake-check.mk" IS_BUILTIN.Xrandr= ${BUILTIN_IMAKE_CHECK.Xrandr} @ 1.1 log @Move Xrandr to liboldXrandr (name suggested by joerg) so it can be checked out on a case-insensitive filesystem without interfering with lowercase xrandr. PKGNAME stays the same. Moved Xrandr to Xrandr-mixedcase in the repository [schmonz 2007-06-07] @ text @d1 1 a1 1 # $NetBSD: builtin.mk,v 1.17 2006/05/21 11:46:29 rillig Exp $ d99 3 @ 1.1.16.1 log @Make all X11-related builtin.mk files include x11.builtin.mk to make sure all the necessary logic to use x11-links is included no matter what bl3 files a given pacakge includes. @ text @d1 1 a1 1 # $NetBSD: builtin.mk,v 1.1 2007/05/30 01:22:13 schmonz Exp $ a98 3 .include "../../mk/x11.builtin.mk" @ 1.1.2.1 log @file builtin.mk was added on branch pkgsrc-2007Q1 on 2007-06-14 22:03:09 +0000 @ text @d1 113 @ 1.1.2.2 log @Pullup ticket 2112 - requested by schmonz deal with Xrandr cvs repo move on HEAD Revisions pulled up: - pkgsrc/x11/Makefile 1.505 - pkgsrc/x11/libXrandr/buildlink3.mk 1.3 - pkgsrc/x11/liboldXrandr/DESCR 1.1 - pkgsrc/x11/liboldXrandr/Makefile 1.1 - pkgsrc/x11/liboldXrandr/PLIST 1.1 - pkgsrc/x11/liboldXrandr/buildlink3.mk 1.1, 1.2 - pkgsrc/x11/liboldXrandr/builtin.mk 1.1 - pkgsrc/x11/liboldXrandr/distinfo 1.1 - pkgsrc/x11/liboldXrandr/patches/patch-aa 1.1 - pkgsrc/x11/liboldXrandr/patches/patch-ab 1.1 - pkgsrc/x11/Xrandr/* gone (repo copy) - pkgsrc/x11/Xrandr-mixedcase/* removed (repo copy) Module Name: pkgsrc Committed By: schmonz Date: Wed May 30 01:22:13 UTC 2007 Modified Files: pkgsrc/x11: Makefile pkgsrc/x11/libXrandr: buildlink3.mk Added Files: pkgsrc/x11/liboldXrandr: DESCR Makefile PLIST buildlink3.mk builtin.mk distinfo pkgsrc/x11/liboldXrandr/patches: patch-aa patch-ab Removed Files: pkgsrc/x11/Xrandr: DESCR Makefile PLIST buildlink3.mk builtin.mk distinfo pkgsrc/x11/Xrandr/patches: patch-aa patch-ab Log Message: Move Xrandr to liboldXrandr (name suggested by joerg) so it can be checked out on a case-insensitive filesystem without interfering with lowercase xrandr. PKGNAME stays the same. --- Module Name: pkgsrc Committed By: seb Date: Wed May 30 16:00:51 UTC 2007 Modified Files: pkgsrc/x11/liboldXrandr: buildlink3.mk Log Message: Fix path to self in BUILDLINK_PKGSRCDIR.Xrandr after move of this package from x11/Xrandr to x11/liboldXrandr. @ text @a0 113 # $NetBSD: builtin.mk,v 1.1 2007/05/30 01:22:13 schmonz Exp $ BUILTIN_PKG:= Xrandr BUILTIN_FIND_FILES_VAR:= H_XRANDR BUILTIN_FIND_FILES.H_XRANDR= ${X11BASE}/include/X11/extensions/Xrandr.h .include "../../mk/buildlink3/bsd.builtin.mk" ### ### Determine if there is a built-in implementation of the package and ### set IS_BUILTIN. appropriately ("yes" or "no"). ### .if !defined(IS_BUILTIN.Xrandr) IS_BUILTIN.Xrandr= no . if empty(H_XRANDR:M__nonexistent__) BUILTIN_IMAKE_CHECK:= Xrandr:BuildRandRLibrary . include "../../mk/buildlink3/imake-check.mk" IS_BUILTIN.Xrandr= ${BUILTIN_IMAKE_CHECK.Xrandr} . endif .endif MAKEVARS+= IS_BUILTIN.Xrandr ### ### If there is a built-in implementation, then set BUILTIN_PKG. to ### a package name to represent the built-in package. ### .if !defined(BUILTIN_PKG.Xrandr) && \ !empty(IS_BUILTIN.Xrandr:M[yY][eE][sS]) && \ empty(H_XRANDR:M__nonexistent__) # # Xrandr doesn't provide a method of discovering the version number of # the software. Match up Xrandr versions with X11 versions for an # approximate determination of the Xrandr version. # _BLTN_XRANDR_VERSIONS= 1.0.2 1.0.1 1.0 0.99 _BLTN_XRANDR_0.99.XFree86= 4.2 4.2.* _BLTN_XRANDR_1.0.XFree86= 4.3 4.3.[0-9] 4.3.[0-9].* \ 4.3.[1-8][0-9]* 4.3.9[0-8]* \ 4.3.99.* 4.[4-9]* 4.[1-9][0-9]* _BLTN_XRANDR_1.0.xorg= 6.[7-9]* 6.[1-9][0-9]* . for _version_ in ${_BLTN_XRANDR_VERSIONS} . for _pattern_ in ${_BLTN_XRANDR_${_version_}.${BUILTIN_X11_TYPE.${X11_TYPE}}} . if defined(BUILTIN_X11_VERSION.${X11_TYPE}) && \ !empty(BUILTIN_X11_VERSION.${X11_TYPE}:M${_pattern_}) BUILTIN_VERSION.Xrandr?= ${_version_} . endif . endfor . endfor . if defined(BUILTIN_VERSION.Xrandr) BUILTIN_PKG.Xrandr= Xrandr-${BUILTIN_VERSION.Xrandr} . endif .endif MAKEVARS+= BUILTIN_PKG.Xrandr ### ### Determine whether we should use the built-in implementation if it ### exists, and set USE_BUILTIN. appropriate ("yes" or "no"). ### # # These are dependencies of Xrandr. If we need to use the pkgsrc # versions of any of these, then also use the pkgsrc version of # Xrandr. # .if defined(USE_BUILTIN.Xrender) && !empty(USE_BUILTIN.Xrender:M[nN][oO]) USE_BUILTIN.Xrender= no .endif .if defined(USE_BUILTIN.randrproto) && !empty(USE_BUILTIN.randrproto:M[nN][oO]) USE_BUILTIN.randrproto= no .endif .if !defined(USE_BUILTIN.Xrandr) . if ${PREFER.Xrandr} == "pkgsrc" USE_BUILTIN.Xrandr= no . else USE_BUILTIN.Xrandr= ${IS_BUILTIN.Xrandr} . if defined(BUILTIN_PKG.Xrandr) && \ !empty(IS_BUILTIN.Xrandr:M[yY][eE][sS]) USE_BUILTIN.Xrandr= yes . for _dep_ in ${BUILDLINK_API_DEPENDS.Xrandr} . if !empty(USE_BUILTIN.Xrandr:M[yY][eE][sS]) USE_BUILTIN.Xrandr!= \ if ${PKG_ADMIN} pmatch ${_dep_:Q} ${BUILTIN_PKG.Xrandr:Q}; then \ ${ECHO} yes; \ else \ ${ECHO} no; \ fi . endif . endfor . endif . endif # PREFER.Xrandr .endif MAKEVARS+= USE_BUILTIN.Xrandr ### ### The section below only applies if we are not including this file ### solely to determine whether a built-in implementation exists. ### CHECK_BUILTIN.Xrandr?= no .if !empty(CHECK_BUILTIN.Xrandr:M[nN][oO]) . if !empty(USE_BUILTIN.Xrandr:M[nN][oO]) BUILDLINK_API_DEPENDS.Xrandr+= Xrandr>=1.0.1 BUILDLINK_API_DEPENDS.Xrender+= Xrender>=0.8 . endif . if !empty(USE_BUILTIN.Xrandr:M[yY][eE][sS]) BUILDLINK_PREFIX.Xrandr= ${X11BASE} USE_BUILTIN.Xrender= yes USE_BUILTIN.randrproto= yes . endif .endif # CHECK_BUILTIN.Xrandr @