1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

- 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)
This commit is contained in:
Jung-uk Kim 2007-07-02 17:10:08 +00:00
parent 9330fe32d6
commit 7a839ffa81
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=194680
2 changed files with 9 additions and 8 deletions

View File

@ -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 "

View File

@ -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