Date: Thu, 20 Dec 2001 10:01:01 +0900 (JST) From: TAKEMURA Masahiro <mastake@msel.t.u-tokyo.ac.jp> To: gnats-admin@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: ports/31679: Maintainer update: graphics/linux_mesa3 Message-ID: <20011220.100101.74744216.mastake@msel.t.u-tokyo.ac.jp> In-Reply-To: <200111010120.fA11K1U21624@freefall.freebsd.org> References: <200111010111.fA11BaR18419@freefall.freebsd.org> <200111010120.fA11K1U21624@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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?20011220.100101.74744216.mastake>