Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 1999 20:41:17 +0200 (CEST)
From:      Nick Hibma <nick.hibma@jrc.it>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/12211: [PATCH] audio/radio installs into /usr/local instead of PREFIX
Message-ID:  <199906141841.UAA76602@elpc36.jrc.it>

next in thread | raw e-mail | index | archive | help

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 14 11:50:01 PDT 1999
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


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?199906141841.UAA76602>