From owner-freebsd-ports Wed Dec 19 19:50:11 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 25EB937B405 for ; Wed, 19 Dec 2001 19:50:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBK3o2s48045; Wed, 19 Dec 2001 19:50:02 -0800 (PST) (envelope-from gnats) Date: Wed, 19 Dec 2001 19:50:02 -0800 (PST) Message-Id: <200112200350.fBK3o2s48045@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: TAKEMURA Masahiro Subject: Re: ports/31679: Maintainer update: graphics/linux_mesa3 Reply-To: TAKEMURA Masahiro Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/31679; it has been noted by GNATS. From: TAKEMURA Masahiro 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 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 - 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 +.include ----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message