Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 May 2000 18:29:10 -0700 (PDT)
From:      R Joseph Wright <rjoseph@mammalia.org>
To:        "Chris D. Faulhaber" <cdf.lists@fxp.org>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: strip not recognizing file format
Message-ID:  <Pine.BSF.4.21.0005031828570.6988-100000@manatee.mammalia.org>
In-Reply-To: <Pine.BSF.4.10.10005032115360.40574-100000@pawn.primelocation.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 3 May 2000, Chris D. Faulhaber wrote:

> On Wed, 3 May 2000, Chris D. Faulhaber wrote:
> 
> > 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
> > > 
> > *snip*
> > > .for i in ${PROGRAM}
> > > 	${INSTALL_PROGRAM} ${WRKSRC}bin/${i} ${PREFIX}/bin	
> > > 	/usr/bin/brandelf -t Linux ${PREFIX}/bin/${i}
> > > .endfor
> > > 
> > > 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.
> > > 
> > 
> > ${INSTALL_SCRIPT} might be more appropriate as it will install with the
> > correct mode/ownership without trying to strip.
> > 
> 
> Replying to myself:
> 
> ...or use ${INSTALL_PROGRAM} and set STRIP=

What would you set it to?



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.0005031828570.6988-100000>