Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Dec 2001 19:50: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:  <200112200350.fBK3o2s48045@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: freebsd-ports@FreeBSD.ORG
Subject: Re: ports/31679: Maintainer update: graphics/linux_mesa3
Date: Thu, 20 Dec 2001 12:46:36 +0900 (JST)

 I rewrite Makefile according to the mail from lioux@FreeBSD.org later.
 I also change ${PREFIX} to ${LINUXBASE} where this port depends and leave
 ${PREFIX} where this port's installing directory.
 Patch of Makefile is difference from ports/31679 original one.
 
 From: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
 Subject: Re: ports/31679: Maintainer update: graphics/linux_mesa3
 Date: Thu, 20 Dec 2001 01:00:39 -0201
 
 > On Thu, Dec 20, 2001 at 10:01:01AM +0900, TAKEMURA Masahiro wrote:
 > > +STRIP_CMD=		${PREFIX}/usr/bin/strip
 > 
 > This should be
 > 
 > STRIP_CMD=            ${LINUXBASE}/usr/bin/strip
 
 --- Makefile.orig	Thu Dec 20 12:10:59 2001
 +++ Makefile	Thu Dec 20 12:20:13 2001
 @@ -20,23 +20,22 @@
  
  USE_BZIP2=		yes
  
 -BUILD_DEPENDS=	${PREFIX}/lib/ld-linux.so.2:${PORTSDIR}/emulators/linux_base \
 -		${PREFIX}/usr/bin/gcc:${PORTSDIR}/devel/linux_devtools
 -RUN_DEPENDS=	${PREFIX}/lib/ld-linux.so.2:${PORTSDIR}/emulators/linux_base
 +BUILD_DEPENDS=	${LINUXBASE}/lib/ld-linux.so.2:${PORTSDIR}/emulators/linux_base \
 +		${LINUXBASE}/usr/bin/gcc:${PORTSDIR}/devel/linux_devtools
  
  ONLY_FOR_ARCHS=		i386
 -PREFIX=			/compat/linux
 +USE_LINUX_PREFIX=	yes
  WRKSRC=			${WRKDIR}/Mesa-${PORTVERSION}
  NO_FILTER_SHLIBS=	yes
  NO_MTREE=		yes
  
 -INSTALL=		${PREFIX}/usr/bin/install
 +INSTALL=		${LINUXBASE}/usr/bin/install
  
  GNU_CONFIGURE=		yes
  CONFIGURE_TARGET=	#
  CONFIGURE_ARGS=		--libdir="${PREFIX}/usr/X11R6/lib" \
  			--includedir="${PREFIX}/usr/X11R6/include"
 -CONFIGURE_ENV=		PATH="/compat/linux/bin:/compat/linux/usr/bin:${PATH}"\
 +CONFIGURE_ENV=		PATH="${LINUXBASE}/bin:${LINUXBASE}/usr/bin:${PATH}" \
  			GL_MAJOR_VER="${GL_MAJOR_VER}" \
  			GL_MINOR_VER="${GL_MINOR_VER}" \
  			GLUT_MAJOR_VER="${GLUT_MAJOR_VER}" \
 @@ -46,16 +45,21 @@
  GLUT_MAJOR_VER=		3
  GLUT_MINOR_VER=		8
  
 -MAKE_ENV=		PATH=${PREFIX}/usr/bin:${PATH}
 +MAKE_ENV=		PATH=${LINUXBASE}/usr/bin:${PATH}
 +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}
  
 -.include <bsd.port.pre.mk>
 -
  post-install:
 -	${PREFIX}/sbin/ldconfig
 +	${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
 +	${LINUXBASE}/sbin/ldconfig
  
 -.include <bsd.port.post.mk>
 +.include <bsd.port.mk>
 -----
 

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?200112200350.fBK3o2s48045>