From nick.hibma@jrc.it Mon Jun 14 11:42:46 1999
Return-Path: <nick.hibma@jrc.it>
Received: from mrelay.jrc.it (mrelay.jrc.it [139.191.1.65])
	by hub.freebsd.org (Postfix) with ESMTP id 9903B15331
	for <freebsd-gnats-submit@freebsd.org>; Mon, 14 Jun 1999 11:42:41 -0700 (PDT)
	(envelope-from nick.hibma@jrc.it)
Received: from elpc36.jrc.it (elpc36.jrc.it [139.191.71.36])
	by mrelay.jrc.it (LMC5692) with ESMTP id UAA09892
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 14 Jun 1999 20:42:37 +0200 (MET DST)
Received: (from n_hibma@localhost)
	by elpc36.jrc.it (8.9.3/8.8.7) id UAA76602;
	Mon, 14 Jun 1999 20:41:17 +0200 (CEST)
	(envelope-from n_hibma)
Message-Id: <199906141841.UAA76602@elpc36.jrc.it>
Date: Mon, 14 Jun 1999 20:41:17 +0200 (CEST)
From: Nick Hibma <nick.hibma@jrc.it>
Reply-To: nick.hibma@jrc.it
To: FreeBSD-gnats-submit@freebsd.org
Subject: [PATCH] audio/radio installs into /usr/local instead of PREFIX
X-Send-Pr-Version: 3.2

>Number:         12211
>Category:       ports
>Synopsis:       [PATCH] audio/radio installs into /usr/local instead of PREFIX
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 14 11:50:01 PDT 1999
>Closed-Date:    Sat Jun 19 02:50:28 PDT 1999
>Last-Modified:  Sat Jun 19 02:50:52 PDT 1999
>Originator:     Nick Hibma
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:

	ports as of 16:00 this afternoon

>Description:

	audio/radio installs into /usr/local instead of PREFIX.
	The patch-aa file is incorrect.

>How-To-Repeat:

cd /usr/ports/audio/radio
make PREFIX=/here/not/there LOCALBASE=/here/not/there install

>Fix:
	
A patch for a patchfile. This patch replaces /usr/local with ${PREFIX}.

--- patch-aa.orig	Fri Oct 18 09:48:36 1996
+++ patch-aa	Mon Jun 14 22:48:55 1999
@@ -40,10 +40,10 @@
   		LIBS="$(AFLIBDIRS) -lAF -lAFUtil -lm"
   
 + install:	all
-+ 		$(INSTALL) -c -s -o bin -g bin -m 755 broadcast /usr/local/bin/broadcast
-+ 		$(INSTALL) -c -s -o bin -g bin -m 755 radio /usr/local/bin/radio
-+ 		$(INSTALL) -c -o bin -g bin -m 644 broadcast.man /usr/local/man/man1/broadcast.1
-+ 		$(INSTALL) -c -o bin -g bin -m 644 radio.man /usr/local/man/man1/radio.1
++ 		$(INSTALL) -c -s -o bin -g bin -m 755 broadcast ${PREFIX}/bin/broadcast
++ 		$(INSTALL) -c -s -o bin -g bin -m 755 radio ${PREFIX}/bin/radio
++ 		$(INSTALL) -c -o bin -g bin -m 644 broadcast.man ${PREFIX}/man/man1/broadcast.1
++ 		$(INSTALL) -c -o bin -g bin -m 644 radio.man ${PREFIX}/man/man1/radio.1
   
   # Common programs:
   

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed  
State-Changed-By: cpiazza 
State-Changed-When: Sat Jun 19 02:50:28 PDT 1999 
State-Changed-Why:  
Patch applied, thanks! 
>Unformatted:
