Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Dec 2001 17:10:02 -0800 (PST)
From:      TAKEMURA Masahiro <mastake@msel.t.u-tokyo.ac.jp>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/31679: Maintainer update: graphics/linux_mesa3
Message-ID:  <200112200110.fBK1A2w19377@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/31679; it has been noted by GNATS.

From: TAKEMURA Masahiro <mastake@msel.t.u-tokyo.ac.jp>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/31679: Maintainer update: graphics/linux_mesa3
Date: Thu, 20 Dec 2001 10:09:55 +0900 (JST)

 I recieve demand to make Symbolic-link for libMesaGL.so with version number.
 Diff to PR:ports/31679 is here
 
 diff -ur linux_mesa3.orig/Makefile linux_mesa3/Makefile
 --- linux_mesa3.orig/Makefile	Thu Dec 20 09:53:28 2001
 +++ linux_mesa3/Makefile	Thu Dec 20 09:51:22 2001
 @@ -47,15 +47,20 @@
  GLUT_MINOR_VER=		8
  
  MAKE_ENV=		PATH=${PREFIX}/usr/bin:${PATH}
 +STRIP_CMD=		${PREFIX}/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}
  
 -.include <bsd.port.pre.mk>
 -
  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}; \
 +	done
  	${PREFIX}/sbin/ldconfig
  
 -.include <bsd.port.post.mk>
 +.include <bsd.port.mk>
 diff -ur linux_mesa3.orig/pkg-plist linux_mesa3/pkg-plist
 --- linux_mesa3.orig/pkg-plist	Thu Dec 20 09:53:28 2001
 +++ linux_mesa3/pkg-plist	Thu Dec 20 09:37:14 2001
 @@ -10,6 +10,10 @@
  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
 +usr/X11R6/lib/libMesaGLU.so.%%GL_MAJOR_VER%%
 +usr/X11R6/lib/libMesaGLU.so
  etc/mesa.conf
  usr/X11R6/include/GL/gl.h
  usr/X11R6/include/GL/glext.h

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112200110.fBK1A2w19377>