From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Nov 5 19:50:02 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B4B916A417 for ; Mon, 5 Nov 2007 19:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2278013C4B0 for ; Mon, 5 Nov 2007 19:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lA5Jo1DA056129 for ; Mon, 5 Nov 2007 19:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lA5Jo1rF056128; Mon, 5 Nov 2007 19:50:01 GMT (envelope-from gnats) Resent-Date: Mon, 5 Nov 2007 19:50:01 GMT Resent-Message-Id: <200711051950.lA5Jo1rF056128@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Boris Samorodov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5EAB16A41B for ; Mon, 5 Nov 2007 19:44:27 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102]) by mx1.freebsd.org (Postfix) with ESMTP id 8911213C491 for ; Mon, 5 Nov 2007 19:44:27 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from admin.sem.ipt.ru ([192.168.12.1] helo=ipt.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1Ip7qu-000K2C-PT for FreeBSD-gnats-submit@freebsd.org; Mon, 05 Nov 2007 22:43:16 +0300 Received: from bsam by ipt.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1Ip7tV-000EF0-W5 for FreeBSD-gnats-submit@freebsd.org; Mon, 05 Nov 2007 22:45:58 +0300 Message-Id: Date: Mon, 05 Nov 2007 22:45:58 +0300 From: Boris Samorodov Sender: Boris Samorodov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/117850: [patch] audio/baudline: brandelf linux binary X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Boris Samorodov List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2007 19:50:02 -0000 >Number: 117850 >Category: ports >Synopsis: [patch] audio/baudline: brandelf linux binary >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Nov 05 19:50:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Boris Samorodov >Release: FreeBSD 6.2-STABLE amd64 >Organization: InPharmTech, Co. >Environment: System: FreeBSD srv.sem.ipt.ru 6.2-STABLE FreeBSD 6.2-STABLE #0: Tue Jul 24 19:30:05 MSD 2007 bsam@srv.sem.ipt.ru:/usr/obj/usr/src/sys/GENERIC amd64 >Description: From the Russian fido: A linux binary should be branded as "Linux" to run under FreeBSD. The current port does not do it. >How-To-Repeat: Install the port and run the binary: ----- baudline: error while loading shared libraries: /usr/local/lib/libXt.so.6: ELF file OS ABI invalid ----- >Fix: . brandelf the binary (use a do-build stage); . bump PORTREVISION. --- baudline.diff begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/audio/baudline/Makefile,v retrieving revision 1.32 diff -u -r1.32 Makefile --- Makefile 12 Oct 2007 22:52:45 -0000 1.32 +++ Makefile 5 Nov 2007 19:34:10 -0000 @@ -7,6 +7,7 @@ PORTNAME= baudline PORTVERSION= 1.06 +PORTREVISION= 1 CATEGORIES= audio linux # We have permission from author Erik Olsen for the # package cluster to automatically fetch baudline @@ -22,7 +23,6 @@ USE_XORG= x11 xext xt ice USE_LINUX= yes ONLY_FOR_ARCHS= i386 amd64 -NO_BUILD= yes RESTRICTED= author requests no distribution except from their site @@ -39,6 +39,9 @@ restart this build .endif +do-build: + @${BRANDELF} -t Linux ${WRKSRC}/baudline + do-install: @${INSTALL_PROGRAM} ${WRKSRC}/baudline ${PREFIX}/bin .if !defined(NOPORTDOCS) --- baudline.diff ends here --- WBR -- bsam >Release-Note: >Audit-Trail: >Unformatted: