From joelh@gnu.org  Fri Nov 20 22:20:33 1998
Received: from detlev.UUCP (48-sweet.camalott.com [208.239.153.48])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA14667
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Nov 1998 22:20:27 -0800 (PST)
          (envelope-from joelh@gnu.org)
Received: (from joelh@localhost)
	by detlev.UUCP (8.9.1/8.9.1) id AAA19581;
	Sat, 21 Nov 1998 00:19:53 -0600 (CST)
	(envelope-from joelh)
Message-Id: <199811210619.AAA19581@detlev.UUCP>
Date: Sat, 21 Nov 1998 00:19:53 -0600 (CST)
From: Joel Ray Holveck <detlev!joelh>
Reply-To: joelh@gnu.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: Acroread port does not brand executable [patch]
X-Send-Pr-Version: 3.2

>Number:         8779
>Category:       ports
>Synopsis:       Acroread port does not brand executable [patch]
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    tg
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 20 22:30:01 PST 1998
>Closed-Date:    Mon Nov 23 01:52:21 PST 1998
>Last-Modified:  Mon Nov 23 01:53:00 PST 1998
>Originator:     Joel Ray Holveck
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
None
>Environment:

Ports cvsup'd 20 Nov 1998 08:00 GMT; -current world & kernel cvsup'd
08 Nov 1998 08:00 GMT

>Description:

The Adobe Acrobat Reader in the ports collection
(/usr/ports/print/acroread) is an ELF binary using GNU/Linux
emulation.  The binary is not branded by the installation Makefile.

>How-To-Repeat:

Install and run acroread.

>Fix:
	
Patch to Makefile enclosed.

----- cut here -----
--- Makefile.orig	Tue Oct 13 02:18:00 1998
+++ Makefile	Fri Nov 20 17:06:53 1998
@@ -30,6 +30,7 @@
 
 post-install:
 	@sed -e 's/Linux)/FreeBSD\|Linux)/' <${PREFIX}/Acrobat3/bin/acroread >${PREFIX}/bin/acroread
+	@brandelf -t Linux ${PREFIX}/Acrobat3/Reader/intellinux/bin/acroread
 	@chmod +x ${PREFIX}/bin/acroread
 	@${ECHO_MSG} "Be sure to read the license agreement in"
 	@${ECHO_MSG} "${PREFIX}/Acrobat3/Reader/License.pdf"
----- cut here -----

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->tg 
Responsible-Changed-By: steve 
Responsible-Changed-When: Sat Nov 21 10:22:44 PST 1998 
Responsible-Changed-Why:  
Over to port's maintainer. 
State-Changed-From-To: open->closed 
State-Changed-By: tg 
State-Changed-When: Mon Nov 23 01:52:21 PST 1998 
State-Changed-Why:  
Committed, thanks. 
>Unformatted:
