head 1.21; access; symbols pkgsrc-2019Q2:1.20.0.52 pkgsrc-2019Q2-base:1.20 pkgsrc-2019Q1:1.20.0.50 pkgsrc-2019Q1-base:1.20 pkgsrc-2018Q4:1.20.0.48 pkgsrc-2018Q4-base:1.20 pkgsrc-2018Q3:1.20.0.46 pkgsrc-2018Q3-base:1.20 pkgsrc-2018Q2:1.20.0.44 pkgsrc-2018Q2-base:1.20 pkgsrc-2018Q1:1.20.0.42 pkgsrc-2018Q1-base:1.20 pkgsrc-2017Q4:1.20.0.40 pkgsrc-2017Q4-base:1.20 pkgsrc-2017Q3:1.20.0.38 pkgsrc-2017Q3-base:1.20 pkgsrc-2017Q2:1.20.0.34 pkgsrc-2017Q2-base:1.20 pkgsrc-2017Q1:1.20.0.32 pkgsrc-2017Q1-base:1.20 pkgsrc-2016Q4:1.20.0.30 pkgsrc-2016Q4-base:1.20 pkgsrc-2016Q3:1.20.0.28 pkgsrc-2016Q3-base:1.20 pkgsrc-2016Q2:1.20.0.26 pkgsrc-2016Q2-base:1.20 pkgsrc-2016Q1:1.20.0.24 pkgsrc-2016Q1-base:1.20 pkgsrc-2015Q4:1.20.0.22 pkgsrc-2015Q4-base:1.20 pkgsrc-2015Q3:1.20.0.20 pkgsrc-2015Q3-base:1.20 pkgsrc-2015Q2:1.20.0.18 pkgsrc-2015Q2-base:1.20 pkgsrc-2015Q1:1.20.0.16 pkgsrc-2015Q1-base:1.20 pkgsrc-2014Q4:1.20.0.14 pkgsrc-2014Q4-base:1.20 pkgsrc-2014Q3:1.20.0.12 pkgsrc-2014Q3-base:1.20 pkgsrc-2014Q2:1.20.0.10 pkgsrc-2014Q2-base:1.20 pkgsrc-2014Q1:1.20.0.8 pkgsrc-2014Q1-base:1.20 pkgsrc-2013Q4:1.20.0.6 pkgsrc-2013Q4-base:1.20 pkgsrc-2013Q3:1.20.0.4 pkgsrc-2013Q3-base:1.20 pkgsrc-2013Q2:1.20.0.2 pkgsrc-2013Q2-base:1.20 pkgsrc-2013Q1:1.19.0.34 pkgsrc-2013Q1-base:1.19 pkgsrc-2012Q4:1.19.0.32 pkgsrc-2012Q4-base:1.19 pkgsrc-2012Q3:1.19.0.30 pkgsrc-2012Q3-base:1.19 pkgsrc-2012Q2:1.19.0.28 pkgsrc-2012Q2-base:1.19 pkgsrc-2012Q1:1.19.0.26 pkgsrc-2012Q1-base:1.19 pkgsrc-2011Q4:1.19.0.24 pkgsrc-2011Q4-base:1.19 pkgsrc-2011Q3:1.19.0.22 pkgsrc-2011Q3-base:1.19 pkgsrc-2011Q2:1.19.0.20 pkgsrc-2011Q2-base:1.19 pkgsrc-2011Q1:1.19.0.18 pkgsrc-2011Q1-base:1.19 pkgsrc-2010Q4:1.19.0.16 pkgsrc-2010Q4-base:1.19 pkgsrc-2010Q3:1.19.0.14 pkgsrc-2010Q3-base:1.19 pkgsrc-2010Q2:1.19.0.12 pkgsrc-2010Q2-base:1.19 pkgsrc-2010Q1:1.19.0.10 pkgsrc-2010Q1-base:1.19 pkgsrc-2009Q4:1.19.0.8 pkgsrc-2009Q4-base:1.19 pkgsrc-2009Q3:1.19.0.6 pkgsrc-2009Q3-base:1.19 pkgsrc-2009Q2:1.19.0.4 pkgsrc-2009Q2-base:1.19 pkgsrc-2009Q1:1.19.0.2 pkgsrc-2009Q1-base:1.19 pkgsrc-2008Q4:1.17.0.10 pkgsrc-2008Q4-base:1.17 pkgsrc-2008Q3:1.17.0.8 pkgsrc-2008Q3-base:1.17 cube-native-xorg:1.17.0.6 cube-native-xorg-base:1.17 pkgsrc-2008Q2:1.17.0.4 pkgsrc-2008Q2-base:1.17 cwrapper:1.17.0.2 pkgsrc-2008Q1:1.15.0.10 pkgsrc-2008Q1-base:1.15 pkgsrc-2007Q4:1.15.0.8 pkgsrc-2007Q4-base:1.15 pkgsrc-2007Q3:1.15.0.6 pkgsrc-2007Q3-base:1.15 pkgsrc-2007Q2:1.15.0.4 pkgsrc-2007Q2-base:1.15 pkgsrc-2007Q1:1.15.0.2 pkgsrc-2007Q1-base:1.15 pkgsrc-2006Q4:1.14.0.2 pkgsrc-2006Q4-base:1.14 pkgsrc-2006Q3:1.13.0.2 pkgsrc-2006Q3-base:1.13 pkgsrc-2006Q2:1.11.0.2 pkgsrc-2006Q2-base:1.11 pkgsrc-2006Q1:1.10.0.2 pkgsrc-2006Q1-base:1.10 pkgsrc-2005Q4:1.9.0.6 pkgsrc-2005Q4-base:1.9 pkgsrc-2005Q3:1.9.0.4 pkgsrc-2005Q3-base:1.9 pkgsrc-2005Q2:1.9.0.2 pkgsrc-2005Q2-base:1.9 pkgsrc-2005Q1:1.8.0.4 pkgsrc-2005Q1-base:1.8 pkgsrc-2004Q4:1.8.0.2 pkgsrc-2004Q4-base:1.8 pkgsrc-2004Q3:1.7.0.6 pkgsrc-2004Q3-base:1.7 pkgsrc-2004Q2:1.7.0.4 pkgsrc-2004Q2-base:1.7 pkgsrc-2004Q1:1.7.0.2 pkgsrc-2004Q1-base:1.7; locks; strict; comment @# @; 1.21 date 2019.08.30.17.17.19; author nia; state dead; branches; next 1.20; commitid N7n2vH280hvAI4BB; 1.20 date 2013.05.16.05.28.13; author richard; state Exp; branches; next 1.19; commitid 444lyqh8AYM4DOPw; 1.19 date 2009.03.20.19.24.39; author joerg; state Exp; branches; next 1.18; 1.18 date 2009.01.16.07.55.17; author obache; state Exp; branches; next 1.17; 1.17 date 2008.04.24.11.57.35; author tnn; state Exp; branches; next 1.16; 1.16 date 2008.04.24.07.40.24; author bjs; state Exp; branches; next 1.15; 1.15 date 2007.01.17.16.16.14; author drochner; state Exp; branches; next 1.14; 1.14 date 2006.12.27.13.37.38; author joerg; state Exp; branches; next 1.13; 1.13 date 2006.07.08.23.10.51; author jlam; state Exp; branches; next 1.12; 1.12 date 2006.07.08.22.39.18; author jlam; state Exp; branches; next 1.11; 1.11 date 2006.04.06.06.22.02; author reed; state Exp; branches; next 1.10; 1.10 date 2006.02.05.23.09.32; author joerg; state Exp; branches; next 1.9; 1.9 date 2005.06.01.18.02.56; author jlam; state Exp; branches; next 1.8; 1.8 date 2004.10.03.00.14.51; author tv; state Exp; branches; next 1.7; 1.7 date 2004.03.18.09.12.11; author jlam; state Exp; branches; next 1.6; 1.6 date 2004.03.05.19.25.13; author jlam; state Exp; branches; next 1.5; 1.5 date 2004.02.11.02.03.41; author jlam; state Exp; branches; next 1.4; 1.4 date 2004.01.24.03.26.47; author jlam; state Exp; branches; next 1.3; 1.3 date 2004.01.05.11.05.46; author jlam; state Exp; branches; next 1.2; 1.2 date 2004.01.04.23.34.06; author jlam; state Exp; branches; next 1.1; 1.1 date 2004.01.03.23.06.44; author jlam; state Exp; branches; next ; desc @@ 1.21 log @Remove graphics/glut, replacement graphics/freeglut. @ text @# $NetBSD: buildlink3.mk,v 1.20 2013/05/16 05:28:13 richard Exp $ BUILDLINK_TREE+= glut .if !defined(GLUT_BUILDLINK3_MK) GLUT_BUILDLINK3_MK:= BUILDLINK_API_DEPENDS.glut+= glut>=3.4.2 BUILDLINK_ABI_DEPENDS.glut+= glut>=7.11.2 BUILDLINK_PKGSRCDIR.glut?= ../../graphics/glut .include "../../graphics/MesaLib/buildlink3.mk" .include "../../graphics/glu/buildlink3.mk" .include "../../x11/libXmu/buildlink3.mk" .include "../../x11/libXi/buildlink3.mk" .endif # GLUT_BUILDLINK3_MK BUILDLINK_TREE+= -glut @ 1.20 log @upgrade to glut-7.11.2 @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.19 2009/03/20 19:24:39 joerg Exp $ @ 1.19 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.18 2009/01/16 07:55:17 obache Exp $ d9 1 a9 1 BUILDLINK_ABI_DEPENDS.glut+= glut>=7.0.3 @ 1.18 log @GL/glut.h include GL/glu.h, so need to include glu/buildlink3.mk. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.17 2008/04/24 11:57:35 tnn Exp $ d3 1 a3 2 BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ GLUT_BUILDLINK3_MK:= ${GLUT_BUILDLINK3_MK}+ d5 2 a6 3 .if !empty(BUILDLINK_DEPTH:M+) BUILDLINK_DEPENDS+= glut .endif a7 5 BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nglut} BUILDLINK_PACKAGES+= glut BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}glut .if !empty(GLUT_BUILDLINK3_MK:M+) a10 1 .endif # GLUT_BUILDLINK3_MK d16 1 d18 1 a18 1 BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} @ 1.17 log @Fix redundant BUILDLINK_ABI_DEPENDS @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.16 2008/04/24 07:40:24 bjs Exp $ d21 1 @ 1.16 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.15 2007/01/17 16:16:14 drochner Exp $ a15 1 BUILDLINK_ABI_DEPENDS.glut+= glut>=6.4.1nb1 @ 1.15 log @propagate libXi dependency approved by joerg @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.14 2006/12/27 13:37:38 joerg Exp $ d17 1 @ 1.14 log @- fine grained X11 dependencies for packages which have either USE_IMAKE or USE_X11BASE set, but don't include mk/x11.buildlink3.mk directly or via buildlink3.mks - introduce BUILDLINK_PREFIX.libXpm as alias for BUILDLINK_PREFIX.xpm in the !modular case - fix some cases where the check for libX11 couldn't work at all by using C++ for compilation without including the proper headers Verified using a full X11_TYPE=xorg bulk build without additional breakage. Discussed with salo@@, wiz@@ and send to packages@@ for feedback. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:10:51 jlam Exp $ d22 1 @ 1.13 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.12 2006/07/08 22:39:18 jlam Exp $ d21 1 @ 1.12 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.11 2006/04/06 06:22:02 reed Exp $ d12 1 a12 1 BUILDLINK_ORDER+= glut @ 1.11 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.10 2006/02/05 23:09:32 joerg Exp $ d12 1 @ 1.10 log @Recursive revision bump / recommended bump for gettext ABI change. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.9 2005/06/01 18:02:56 jlam Exp $ d14 2 a15 2 BUILDLINK_DEPENDS.glut+= glut>=3.4.2 BUILDLINK_RECOMMENDED.glut+= glut>=6.4.1nb1 @ 1.9 log @Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. Several changes are involved since they are all interrelated. These changes affect about 1000 files. The first major change is rewriting bsd.builtin.mk as well as all of the builtin.mk files to follow the new example in bsd.builtin.mk. The loop to include all of the builtin.mk files needed by the package is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk is now included by each of the individual builtin.mk files and provides some common logic for all of the builtin.mk files. Currently, this includes the computation for whether the native or pkgsrc version of the package is preferred. This causes USE_BUILTIN.* to be correctly set when one builtin.mk file includes another. The second major change is teach the builtin.mk files to consider files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most of the builtin.mk files test for the presence of built-in software by checking for the existence of certain files, e.g. , and we now assume that if that file is under ${LOCALBASE}, then it must be from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The exceptions to this new check are the X11 distribution packages, which are handled specially as noted below. The third major change is providing builtin.mk and version.mk files for each of the X11 distribution packages in pkgsrc. The builtin.mk file can detect whether the native X11 distribution is the same as the one provided by pkgsrc, and the version.mk file computes the version of the X11 distribution package, whether it's built-in or not. The fourth major change is that the buildlink3.mk files for X11 packages that install parts which are part of X11 distribution packages, e.g. Xpm, Xcursor, etc., now use imake to query the X11 distribution for whether the software is already provided by the X11 distribution. This is more accurate than grepping for a symbol name in the imake config files. Using imake required sprinkling various builtin-imake.mk helper files into pkgsrc directories. These files are used as input to imake since imake can't use stdin for that purpose. The fifth major change is in how packages note that they use X11. Instead of setting USE_X11, package Makefiles should now include x11.buildlink3.mk instead. This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed. Package buildlink3.mk should also include x11.buildlink3.mk when linking against the package libraries requires also linking against the X11 libraries. Where it was obvious, redundant inclusions of x11.buildlink3.mk have been removed. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.8 2004/10/03 00:14:51 tv Exp $ d15 1 a15 1 BUILDLINK_RECOMMENDED.glut+= glut>=6.0.1nb1 @ 1.8 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.7 2004/03/18 09:12:11 jlam Exp $ d14 1 a14 1 BUILDLINK_DEPENDS.glut+= glut>=${_MESA_REQD} a18 2 MESA_REQD+= 6.0 @ 1.7 log @Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly by moving the inclusion of buildlink3.mk files outside of the protected region. This bug would be seen by users that have set PREFER_PKGSRC or PREFER_NATIVE to non-default values. BUILDLINK_PACKAGES should be ordered so that for any package in the list, that package doesn't depend on any packages to the left of it in the list. This ordering property is used to check for builtin packages in the correct order. The problem was that including a buildlink3.mk file for correctly ensured that was removed from BUILDLINK_PACKAGES and appended to the end. However, since the inclusion of any other buildlink3.mk files within that buildlink3.mk was in a region that was protected against multiple inclusion, those dependencies weren't also moved to the end of BUILDLINK_PACKAGES. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.6 2004/03/05 19:25:13 jlam Exp $ d15 1 @ 1.6 log @Reorder location and setting of BUILDLINK_PACKAGES to match template buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.5 2004/02/11 02:03:41 jlam Exp $ d16 1 a21 2 .endif # GLUT_BUILDLINK3_MK @ 1.5 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.4 2004/01/24 03:26:47 jlam Exp $ d10 3 a13 1 BUILDLINK_PACKAGES+= glut d19 2 a20 1 . include "../../graphics/MesaLib/buildlink3.mk" @ 1.4 log @Append to BUILDLINK_DEPENDS. instead of setting a default value. In the normal case when BUILDLINK_DEPENDS. isn't specified, it receives a value only once due to the multiple inclusion protection in the bulldlink3.mk files. In the case where a package includes several buildlink3.mk files that each want a slightly different version of another dependency, having BUILDLINK_DEPENDS. be a list allows for the strictest dependency to be matched. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.3 2004/01/05 11:05:46 jlam Exp $ d12 1 a12 1 BUILDLINK_DEPENDS.glut+= glut>=${MESA_VERSION} d15 2 @ 1.3 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.2 2004/01/04 23:34:06 jlam Exp $ d12 1 a12 1 BUILDLINK_DEPENDS.glut?= glut>=${MESA_VERSION} @ 1.2 log @Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:44 jlam Exp $ d18 1 a18 1 BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//} @ 1.1 log @Initial sprinkling of work-in-progress buildlink3.mk files for using the buildlink3 framework. @ text @d1 1 a1 1 # $NetBSD$ d6 1 a6 6 .if !empty(GLUT_BUILDLINK3_MK:M\+) BUILDLINK_DEPENDS.glut?= glut>=${MESA_VERSION} BUILDLINK_PKGSRCDIR.glut?= ../../graphics/glut .endif # GLUT_BUILDLINK3_MK .if !empty(BUILDLINK_DEPTH:M\+) d10 4 a13 2 .if !empty(GLUT_BUILDLINK3_MK:M\+) BUILDLINK_PACKAGES+= glut @