aboutsummaryrefslogtreecommitdiff
path: root/graphics/linux_mesa3
diff options
context:
space:
mode:
authorJim Mock <jim@FreeBSD.org>2002-01-14 07:38:22 +0000
committerJim Mock <jim@FreeBSD.org>2002-01-14 07:38:22 +0000
commit33352d95f338f70f0e164e2717bfa7dc7be64f89 (patch)
tree185b2d56664fac63203fbac102b82c3fd7ed00b7 /graphics/linux_mesa3
parent58112ce8d5c881bd5bf0d3e8bc062ef692b07c24 (diff)
downloadports-33352d95f338f70f0e164e2717bfa7dc7be64f89.tar.gz
ports-33352d95f338f70f0e164e2717bfa7dc7be64f89.zip
Fix libMesaGL.so version.
PR: 33374 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=53038
Diffstat (limited to 'graphics/linux_mesa3')
-rw-r--r--graphics/linux_mesa3/Makefile8
-rw-r--r--graphics/linux_mesa3/pkg-plist4
2 files changed, 7 insertions, 5 deletions
diff --git a/graphics/linux_mesa3/Makefile b/graphics/linux_mesa3/Makefile
index 4673e1e4bb11..770da77ce400 100644
--- a/graphics/linux_mesa3/Makefile
+++ b/graphics/linux_mesa3/Makefile
@@ -7,9 +7,9 @@
PORTNAME= mesa
PORTVERSION= 3.4.2
+PORTREVISION= 1
CATEGORIES= graphics linux
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
- ftp://iris.ssec.wisc.edu/pub/Mesa/ \
ftp://ftp.fu-berlin.de/pub/unix/X11/graphics/Mesa/
MASTER_SITE_SUBDIR= mesa3d
PKGNAMEPREFIX= linux_
@@ -43,6 +43,7 @@ GL_MAJOR_VER= 1
GL_MINOR_VER= 3
GLUT_MAJOR_VER= 3
GLUT_MINOR_VER= 8
+LIBMESA_MAJOR_VER= 3
MAKE_ENV= PATH=${LINUXBASE}/usr/bin:${PATH}
STRIP_CMD= ${LINUXBASE}/usr/bin/strip
@@ -50,14 +51,15 @@ STRIP_CMD= ${LINUXBASE}/usr/bin/strip
PLIST_SUB+= GL_MAJOR_VER=${GL_MAJOR_VER} \
GL_MINOR_VER=${GL_MINOR_VER} \
GLUT_MAJOR_VER=${GLUT_MAJOR_VER} \
- GLUT_MINOR_VER=${GLUT_MINOR_VER}
+ GLUT_MINOR_VER=${GLUT_MINOR_VER} \
+ LIBMESA_MAJOR_VER=${LIBMESA_MAJOR_VER}
post-install:
${STRIP_CMD} ${PREFIX}/usr/X11R6/lib/libglut.so.${GLUT_MAJOR_VER}.${GLUT_MINOR_VER}.0
@for R in GL GLU; do \
${STRIP_CMD} ${PREFIX}/usr/X11R6/lib/lib$$R.so.${GL_MAJOR_VER}.${GL_MINOR_VER}.0; \
${LN} -s lib$$R.so ${PREFIX}/usr/X11R6/lib/libMesa$$R.so; \
- ${LN} -s lib$$R.so.${GL_MAJOR_VER} ${PREFIX}/usr/X11R6/lib/libMesa$$R.so.${GL_MAJOR_VER}; \
+ ${LN} -s lib$$R.so.${GL_MAJOR_VER} ${PREFIX}/usr/X11R6/lib/libMesa$$R.so.${LIBMESA_MAJOR_VER}; \
done
${LINUXBASE}/sbin/ldconfig
diff --git a/graphics/linux_mesa3/pkg-plist b/graphics/linux_mesa3/pkg-plist
index 749f06a51369..564113bd9064 100644
--- a/graphics/linux_mesa3/pkg-plist
+++ b/graphics/linux_mesa3/pkg-plist
@@ -10,9 +10,9 @@ usr/X11R6/lib/libglut.so.%%GLUT_MAJOR_VER%%.%%GLUT_MINOR_VER%%.0
usr/X11R6/lib/libglut.so.%%GLUT_MAJOR_VER%%
usr/X11R6/lib/libglut.so
usr/X11R6/lib/libglut.la
-usr/X11R6/lib/libMesaGL.so.%%GL_MAJOR_VER%%
+usr/X11R6/lib/libMesaGL.so.%%LIBMESA_MAJOR_VER%%
usr/X11R6/lib/libMesaGL.so
-usr/X11R6/lib/libMesaGLU.so.%%GL_MAJOR_VER%%
+usr/X11R6/lib/libMesaGLU.so.%%LIBMESA_MAJOR_VER%%
usr/X11R6/lib/libMesaGLU.so
etc/mesa.conf
usr/X11R6/include/GL/gl.h