Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 May 2000 07:26:40 -0500 (CDT)
From:      Conrad Sabatier <conrads@home.com>
To:        R Joseph Wright <rjoseph@mammalia.org>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   RE: strip not recognizing file format
Message-ID:  <XFMail.000504072640.conrads@home.com>
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 04-May-00 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

Ran into the same thing while porting XSwallow, which is in aout format.
Wound up doing the strip by explicitly invoking /usr/libexec/aout/strip,
which produces a warning in portlint about explicit paths.

Yes, it looks like the ${PORTSDIR}/Mk stuff could be a bit smarter in this
respect.  The same goes for the ${INSTALL_*} macros, too.

-- 
Conrad Sabatier
http://members.home.net/conrads/
ICQ# 1147270



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?XFMail.000504072640.conrads>