Date: Wed, 3 May 2000 18:20:32 -0700 (PDT) From: R Joseph Wright <rjoseph@mammalia.org> To: freebsd-ports@FreeBSD.ORG Subject: Re: strip not recognizing file format Message-ID: <Pine.BSF.4.21.0005031819130.6988-100000@manatee.mammalia.org> In-Reply-To: <Pine.BSF.4.21.0005031751510.6988-100000@manatee.mammalia.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 3 May 2000, R Joseph Wright wrote: > I'm trying to create a port (my first one) for Blue Moon Rendering > Tools. There is no source code available for it :( but there is a linux > binary available. > There are a number of binary executables in this package, and I have > gotten this far: > > ===> Installing for linux-bmrt-2.5 > /bin/mkdir -p /usr/local/share/doc/bmrt/ > /bin/mkdir -p /usr/local/share/doc/bmrt/html/ > /bin/mkdir -p /usr/local/share/examples/bmrt/ > /bin/mkdir -p /usr/local/share/bmrt/ > /bin/mkdir -p /usr/local/share/bmrt/shaders/ > install -c -s -o root -g wheel -m 555 /usr/ports/graphics/linux-bmrt/work/BMRT2.5/bin/composite /usr/local/bin > install -c -s -o root -g wheel -m 555 /usr/ports/graphics/linux-bmrt/work/BMRT2.5/bin/farm /usr/local/bin > /usr/libexec/elf/strip: /usr/local/bin/farm: File format not recognized > *** Error code 70 > > Stop in /usr/ports/graphics/linux-bmrt. > *** Error code 1 > > Stop in /usr/ports/graphics/linux-bmrt. > *** Error code 1 > > Stop in /usr/ports/graphics/linux-bmrt. > > **Here is the makefile**: > ************************ > > # New ports collection makefile for: linux-bmrt > # Date created: 2 May 2000 > # Whom: R Joseph Wright > # > # $FreeBSD$ > # > > PORTNAME= linux-bmrt > PORTVERSION= 2.5 > CATEGORIES= graphics linux > MASTER_SITES= http://www.bmrt.org/BMRTdownload/ > DISTNAME= BMRT2.5g.linux-glibc2 > MAINTAINER= rjoseph@mammalia.org > > NO_BUILD= yes > NO_STRIP= yes > WRKSRC= ${WRKDIR}/BMRT2.5/ > > PROGRAM= composite farm frankenrender mkmip mkmosaic rendrib rgl \ > slc slctell > > do-install: > > ${MKDIR} ${PREFIX}/share/doc/bmrt/ > ${MKDIR} ${PREFIX}/share/doc/bmrt/html/ > ${MKDIR} ${PREFIX}/share/examples/bmrt/ > ${MKDIR} ${PREFIX}/share/bmrt/ > ${MKDIR} ${PREFIX}/share/bmrt/shaders/ > > .for i in ${PROGRAM} > ${INSTALL_PROGRAM} ${WRKSRC}bin/${i} ${PREFIX}/bin > /usr/bin/brandelf -t Linux ${PREFIX}/bin/${i} > .endfor > > .include <bsd.port.mk> > > Please don't be too harsh--I know it's not finished! > > I'm wondering if I should just use ${CP} instead of ${INSTALL_PROGRAM} in > this case. The handbook doesn't give many details on creating ports for > binary packages that I could find. P.S. I forgot to add that only "farm" and "frankenrender" are not recognized by strip. I checked all of them manually. 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?Pine.BSF.4.21.0005031819130.6988-100000>