From owner-freebsd-ports Wed May 3 18:13:23 2000 Delivered-To: freebsd-ports@freebsd.org Received: from pawn.primelocation.net (pawn.primelocation.net [205.161.238.235]) by hub.freebsd.org (Postfix) with ESMTP id 74FF437B9DD for ; Wed, 3 May 2000 18:13:20 -0700 (PDT) (envelope-from cdf.lists@fxp.org) Received: by pawn.primelocation.net (Postfix, from userid 1016) id 1D0949B19; Wed, 3 May 2000 21:13:19 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by pawn.primelocation.net (Postfix) with ESMTP id 11E08BA1E; Wed, 3 May 2000 21:13:19 -0400 (EDT) Date: Wed, 3 May 2000 21:13:19 -0400 (EDT) From: "Chris D. Faulhaber" X-Sender: cdf.lists@pawn.primelocation.net To: R Joseph Wright Cc: freebsd-ports@FreeBSD.org Subject: Re: strip not recognizing file format In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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. ----- Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org -------------------------------------------------------- FreeBSD: The Power To Serve - http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message