Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Dec 2000 23:10:41 -0800 (PST)
From:      rjoseph@mammalia.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/23373: Update Port:  graphics/linux-bmrt
Message-ID:  <200012080710.eB87Afs38874@manatee.mammalia.org>
Resent-Message-ID: <200012080720.eB87K1d85483@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         23373
>Category:       ports
>Synopsis:       Update Port:  graphics/linux-bmrt
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 07 23:20:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     R. Joseph Wright
>Release:        FreeBSD 4.1.1-RELEASE i386
>Organization:
>Environment:

	

>Description:

This is an update of the Blue Moon Rendering Tools port.  However, the 
software has now been changed to link with Mesa dynamically, and there is
apparently a bug in /compat/linux/lib/ld.so which keeps this from happening.

>How-To-Repeat:

Install the new port.  Try to run one of the programs installed by the port, 
such as "rendrib" or "iv".  You should get a message saying:

BUG IN DYNAMIC LINKER ld.so: dl-version.c: 210: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!

>Fix:

Here is the updated port but not a fix for the dynamic linking problem.


diff -urN linux-bmrt/Makefile linux-bmrt.new/Makefile
--- linux-bmrt/Makefile	Thu Dec  7 10:39:25 2000
+++ linux-bmrt.new/Makefile	Thu Dec  7 22:58:07 2000
@@ -6,30 +6,38 @@
 #
 
 PORTNAME=	linux-bmrt
-PORTVERSION=	2.5.0.8
+PORTVERSION=	2.6beta
 CATEGORIES=	graphics linux
-MASTER_SITES=	http://www.bmrt.org/BMRTdownload/
-DISTNAME=	BMRT2.5h.linux-glibc2
+MASTER_SITES=	#fetch manually
+DISTNAME=	BMRT${PORTVERSION}.linux-glibc2
 
 MAINTAINER=	rjoseph@mammalia.org
 
-RUN_DEPENDS=	/compat/linux/usr/i486-linux-libc5/lib/libc.so.5:${PORTSDIR}/emulators/linux_base
+RUN_DEPENDS=	/compat/linux/usr/i486-linux-libc5/lib/libc.so.5:${PORTSDIR}/emulators/linux_base \
+		/compat/linux/usr/lib/libGL.so:${PORTSDIR}/graphics/linux_mesa3
 
-WRKSRC=		${WRKDIR}/BMRT2.5
+WRKSRC=		${WRKDIR}/BMRT2.6
 NO_BUILD=	yes
+ONLY_FOR_ARCHS=	i386
 NO_CDROM=	"See the License"
 
 # Linux binary should not be stripped by INSTALL_PROGRAM as it uses
 # /usr/bin/strip which then brands the binary as a FreeBSD ELF one.
 STRIP=
 
-# Linux binary should not be stripped by INSTALL_PROGRAM as it uses
-# /usr/bin/strip which then brands the binary as a FreeBSD ELF one.
-STRIP=
+.include <bsd.port.pre.mk>
+
+.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
+IGNORE=		may not be automatically fetched due to licensing \
+		restrictions.  You must manually fetch the Linux version at\
+		http://www.exluna.com/bmrt/download/index.html. \
+		Once you have read and agreed to the license and\
+		${DISTFILES} has been downloaded, move it to\
+		${DISTDIR} and then restart this build.
+.endif
 
 DOC_DIR=	${PREFIX}/share/doc/bmrt
-FETCH_CMD=	/usr/bin/fetch -Ab
-PROGRAM=	composite mkmip mkmosaic rendrib rgl slc slctell
+PROGRAM=	composite iv mkmip mkmosaic rendrib rgl slc slctell
 SCRIPT=		farm frankenrender
 
 pre-install:
@@ -62,9 +70,6 @@
 	@${ECHO} "";
 	@${ECHO} "************************************************************************";
 	@${ECHO} "";
-	@${ECHO} "      This is shareware that is free for non-commercial use.";
-	@${ECHO} "      Please read ${PREFIX}/share/doc/bmrt/License before proceeding.";
-	@${ECHO} "";
 	@${ECHO} "      Before using these programs, add the following";
 	@${ECHO} "      path to your shell environment:";
 	@${ECHO} "";
@@ -80,4 +85,4 @@
 	@${ECHO} "************************************************************************";
 	@${ECHO} "";
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -urN linux-bmrt/distinfo linux-bmrt.new/distinfo
--- linux-bmrt/distinfo	Sun Jul 16 07:14:34 2000
+++ linux-bmrt.new/distinfo	Thu Dec  7 21:38:12 2000
@@ -1 +1 @@
-MD5 (BMRT2.5h.linux-glibc2.tar.gz) = dfbe508d03b352a01949679809cd3e06
+MD5 (BMRT2.6beta.linux-glibc2.tar.gz) = b29d2fb632117f84aa27140deda4e040
diff -urN linux-bmrt/pkg-plist linux-bmrt.new/pkg-plist
--- linux-bmrt/pkg-plist	Sun Jul 16 07:14:34 2000
+++ linux-bmrt.new/pkg-plist	Thu Dec  7 21:54:47 2000
@@ -174,20 +174,28 @@
 share/doc/bmrt/License
 share/doc/bmrt/README
 share/doc/bmrt/bmrtdoc.pdf
-share/doc/bmrt/html/About_this_document.html
-share/doc/bmrt/html/Bibliography.html
-share/doc/bmrt/html/Contents.html
-share/doc/bmrt/html/Detailed_Description_Render.html
-share/doc/bmrt/html/Introduction.html
-share/doc/bmrt/html/Miscellaneous_Tools.html
-share/doc/bmrt/html/Photo_realistic_rendering_w.html
-share/doc/bmrt/html/Previewing_RIB_files_with.html
-share/doc/bmrt/html/Shaders_Textures.html
-share/doc/bmrt/html/Using_BMRT_as_Ray.html
 share/doc/bmrt/html/bmrtdoc.css
 share/doc/bmrt/html/bmrtdoc.html
+share/doc/bmrt/html/contents.png
+share/doc/bmrt/html/crossref.png
+share/doc/bmrt/html/exluna-logo4.jpg
+share/doc/bmrt/html/exluna-logo5.jpg
 share/doc/bmrt/html/index.html
-share/examples/bmrt/Makefile
+share/doc/bmrt/html/next.png
+share/doc/bmrt/html/next_g.png
+share/doc/bmrt/html/node1.html
+share/doc/bmrt/html/node2.html
+share/doc/bmrt/html/node3.html
+share/doc/bmrt/html/node4.html
+share/doc/bmrt/html/node5.html
+share/doc/bmrt/html/node6.html
+share/doc/bmrt/html/node7.html
+share/doc/bmrt/html/node8.html
+share/doc/bmrt/html/node9.html
+share/doc/bmrt/html/prev.png
+share/doc/bmrt/html/prev_g.png
+share/doc/bmrt/html/up.png
+share/doc/bmrt/html/up_g.png
 share/examples/bmrt/README
 share/examples/bmrt/colorspheres.c
 share/examples/bmrt/cornell.rib

>Release-Note:
>Audit-Trail:
>Unformatted:


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?200012080710.eB87Afs38874>