diff options
author | bjs <bjs> | 2008-04-30 07:09:48 +0000 |
---|---|---|
committer | bjs <bjs> | 2008-04-30 07:09:48 +0000 |
commit | 494a5a68cfe1f83b6ff72957f91d4a1379a2bc2b (patch) | |
tree | ca1667800a0140a60004d50e018bd6de94e9ffef /graphics | |
parent | 498c364dee27a7985eb918c4df692bab944f81f5 (diff) | |
download | pkgsrc-494a5a68cfe1f83b6ff72957f91d4a1379a2bc2b.tar.gz |
The previous commit message was botched; this commit message applies
to graphics/MesaLib as well.
I've added some distribution patches for bug fixes (yes, already, it's
true) and proper DragonFly support (see the sysctl-related changes
in MesaLib/Makefile). Agressively tracking these patches is the only
way to ensure we squash as many bugs as possible. No patches in a
given release branch (in this case Mesa_7_0_branch) should ever
merit a bump to BUILDLINK_ABI_DEPENDS.
The head GIT commit ref for patch 002 is:
27b6fa56156673d6e7e6839658bae10de161588b
In the future, I'm going to write some sort of script or something
to manage this, but this will suffice for now. I may also break
out some of the patch logic into a seperate mk file so that it can
be included by the xorg server, thereby ensuring the sources
are synchronized.
In other news: I have patches for libdrm to use NetBSD's atomic
ops. They aren't used in the library proper. Rather, the
DRM_CAS macro in xf86drm.h now uses atomic_cas_uint. This is, I believe,
important for proper operation, as this macro is used for context/device
locks in userland. When I commit the update to libdrm, I will simultaneously
commit a new drm_atomic.h in the kernel. The atomic ops there now
really do not merit the designation 'atomic'.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Mesa/Makefile.common | 11 | ||||
-rw-r--r-- | graphics/Mesa/Makefile.lib | 3 |
2 files changed, 10 insertions, 4 deletions
diff --git a/graphics/Mesa/Makefile.common b/graphics/Mesa/Makefile.common index a931a8b49ca..6b13037d1a3 100644 --- a/graphics/Mesa/Makefile.common +++ b/graphics/Mesa/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.60 2008/04/25 20:49:13 joerg Exp $ +# $NetBSD: Makefile.common,v 1.61 2008/04/30 07:09:48 bjs Exp $ # # This Makefile fragment is included either directly or indirectly (through # Makefile.lib) by all packages that are built from the Mesa sources. @@ -18,13 +18,18 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mesa3d/} # graphics/glx-utils # MESA_VERSION= 7.0.3 -MESA_PKGVERSION= ${MESA_VERSION:S/-rc/rc/} +MESA_PKGVERSION= ${MESA_VERSION}${MESA_PATCHLEVEL} +MESA_PATCHFILES= 001 002 +MESA_PATCHLEVEL= ${MESA_PATCHFILES:O:[-1]:C|^[0^]*|.|} + +PATCHFILES= ${MESA_PATCHFILES:@.p.@Mesa-${MESA_VERSION}-${.p.}@} +PATCH_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/bjs/patchfiles/ +PATCH_DIST_STRIP= -p1 MAINTAINER= bjs@NetBSD.org HOMEPAGE= http://www.mesa3d.org/ PKG_DESTDIR_SUPPORT= user-destdir -MAKE_JOBS_SAFE= no WRKSRC= ${WRKDIR}/Mesa-${MESA_VERSION} BUILDING_MESA= yes diff --git a/graphics/Mesa/Makefile.lib b/graphics/Mesa/Makefile.lib index 54b6867a8b1..8d11920ba37 100644 --- a/graphics/Mesa/Makefile.lib +++ b/graphics/Mesa/Makefile.lib @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.lib,v 1.9 2008/04/27 09:43:12 tnn Exp $ +# $NetBSD: Makefile.lib,v 1.10 2008/04/30 07:09:48 bjs Exp $ # # This Makefile fragment is included by all packages that build libraries # from the Mesa sources. @@ -14,6 +14,7 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews USE_LANGUAGES= c c++ USE_LIBTOOL= yes +LIBTOOL= ${PKG_SHLIBTOOL} USE_TOOLS+= gmake makedepend pkg-config PATCHDIR= ${.CURDIR}/../MesaLib/patches |