Bug 117850 - [patch] audio/baudline: brandelf linux binary
Summary: [patch] audio/baudline: brandelf linux binary
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Beech Rintoul
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-05 19:50 UTC by Boris Samorodov
Modified: 2007-11-06 11:31 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Samorodov freebsd_committer freebsd_triage 2007-11-05 19:50:01 UTC
	From the Russian fido:
	A linux binary should be branded as "Linux" to run under FreeBSD.
	The current port does not do it.

Fix: . brandelf the binary (use a do-build stage);
	. bump PORTREVISION.



WBR
-- 
bsam--PpfXXeFePWT4eCWpBKYuxU7wxoZPaPtjejDEMRTqCrBKbYme
Content-Type: text/plain; name="baudline.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="baudline.diff"

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 <erik@sigblips.net> 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)
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 
	-----
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-11-05 19:50:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->beech

beech@ wants his PRs (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2007-11-05 19:50:13 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 dfilter service freebsd_committer freebsd_triage 2007-11-06 11:28:12 UTC
beech       2007-11-06 11:28:08 UTC

  FreeBSD ports repository

  Modified files:
    audio/baudline       Makefile 
  Log:
  - Brandelf Linux
  
  PR:             ports/117850
  Submitted by:   Boris Samorodov <bsam@FreeBSD.org>
  Approved by:    portmgr (marcus), linimon (mentor),
                  David Yeske <dyeske@gmail.com> (maintainer)
  
  Revision  Changes    Path
  1.33      +4 -1      ports/audio/baudline/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Beech Rintoul freebsd_committer freebsd_triage 2007-11-06 11:31:28 UTC
State Changed
From-To: feedback->closed

Committed, Thanks!