aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/dri
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2007-07-03 01:10:08 +0800
committerjkim <jkim@FreeBSD.org>2007-07-03 01:10:08 +0800
commit3ac30b569f155843b7b25e2c5c7689c3779f5086 (patch)
treeb6958d43743a1fdfee71bc724eb4765cdbc70983 /graphics/dri
parent29bc1cb06263067d03712b6cf243d61e854cefbf (diff)
downloadfreebsd-ports-gnome-3ac30b569f155843b7b25e2c5c7689c3779f5086.tar.gz
freebsd-ports-gnome-3ac30b569f155843b7b25e2c5c7689c3779f5086.tar.zst
freebsd-ports-gnome-3ac30b569f155843b7b25e2c5c7689c3779f5086.zip
- Update to 7.0 (to sync with other Mesa libraries).
- Do not remove HAVE_POSIX_MEMALIGN from configuration files where posix_memalign(3) is actually available. - Use amd64-specific configuration file for amd64 build. It gives slightly better performance because it uses amd64 assembly code in some places. Approved by: anholt (maintainer time out)
Diffstat (limited to 'graphics/dri')
-rw-r--r--graphics/dri/Makefile11
-rw-r--r--graphics/dri/distinfo6
2 files changed, 9 insertions, 8 deletions
diff --git a/graphics/dri/Makefile b/graphics/dri/Makefile
index 89d6c0f95d67..4834ed474a92 100644
--- a/graphics/dri/Makefile
+++ b/graphics/dri/Makefile
@@ -6,9 +6,7 @@
#
PORTNAME= dri
-PORTVERSION= 6.5.3
-PORTREVISION= 1
-PORTEPOCH= 2
+PORTVERSION= 7.0
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=mesa3d
@@ -73,8 +71,11 @@ post-patch:
-e 's|/usr/X11R6|$$(X11BASE)|g' \
-e 's|-lpthread|$$(PTHREAD_LIBS)|g' \
-e 's|^\(SRC_DIRS =\).*|\1 mesa|' \
- -e 's|-DHAVE_POSIX_MEMALIGN||' \
${WRKSRC}/configs/freebsd-dri
+.if ${OSVERSION} < 700013
+ @${REINPLACE_CMD} -e 's|-DHAVE_POSIX_MEMALIGN||' \
+ ${WRKSRC}/configs/freebsd-dri
+.endif
.if ${ARCH} == i386
PLIST_SUB+= I386=""
@@ -83,7 +84,7 @@ ALL_TARGET= freebsd-dri-x86
.elif ${ARCH} == amd64
PLIST_SUB+= I386="@comment "
PLIST_SUB+= I386_AMD64=""
-ALL_TARGET= freebsd-dri
+ALL_TARGET= freebsd-dri-amd64
.else
PLIST_SUB+= I386="@comment "
PLIST_SUB+= I386_AMD64="@comment "
diff --git a/graphics/dri/distinfo b/graphics/dri/distinfo
index 127cae9262ef..bc5cad160973 100644
--- a/graphics/dri/distinfo
+++ b/graphics/dri/distinfo
@@ -1,3 +1,3 @@
-MD5 (MesaLib-6.5.3.tar.bz2) = 46359457147c469745f24b5074a186f0
-SHA256 (MesaLib-6.5.3.tar.bz2) = f8b09b40b59d6951dcd9889d19a67d1995c5f558bafa1e978f4b0e88035a96b3
-SIZE (MesaLib-6.5.3.tar.bz2) = 3351899
+MD5 (MesaLib-7.0.tar.bz2) = 50c371455fa7532c04aa0a970f9bc51f
+SHA256 (MesaLib-7.0.tar.bz2) = dc4dcd24712c4bdafc430f281e7200b9b7d9a6de1995223275def1d1bf012c08
+SIZE (MesaLib-7.0.tar.bz2) = 3366124