From nick.hibma@jrc.it Sat Jun  5 07:01:28 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 0170114CE1
	for <freebsd-gnats-submit@freebsd.org>; Sat,  5 Jun 1999 07:01:27 -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 QAA20743
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 5 Jun 1999 16:01:24 +0200 (MET DST)
Received: (from n_hibma@localhost)
	by elpc36.jrc.it (8.9.3/8.8.7) id QAA40060;
	Sat, 5 Jun 1999 16:00:03 +0200 (CEST)
	(envelope-from n_hibma)
Message-Id: <199906051400.QAA40060@elpc36.jrc.it>
Date: Sat, 5 Jun 1999 16:00:03 +0200 (CEST)
From: Nick Hibma <nick.hibma@jrc.it>
Reply-To: nick.hibma@jrc.it
To: FreeBSD-gnats-submit@freebsd.org
Subject: [PATCH] audio/rplay port references /usr/local directly instead of ${PREFIX}
X-Send-Pr-Version: 3.2

>Number:         12033
>Category:       ports
>Synopsis:       [PATCH] audio/rplay port references /usr/local directly 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:   Sat Jun  5 07:10:01 PDT 1999
>Closed-Date:    Sat Jun 5 13:08:02 PDT 1999
>Last-Modified:  Sat Jun  5 13:08:10 PDT 1999
>Originator:     Nick Hibma
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:

ports current as of yesterday afternoon 16:xx

>Description:

[PATCH] audio/rplay port references /usr/local directly instead of ${PREFIX} 
to find an executable it has installed in ${PREFIX}

>How-To-Repeat:

>Fix:
	
--- Makefile.orig       Sat Jun  5 15:51:04 1999
+++ Makefile    Sat Jun  5 15:51:31 1999
@@ -23,7 +23,7 @@
        @if [ ! -f ${PREFIX}/etc/rc.d/rplayd.sh ]; then \
                echo "Installing ${PREFIX}/etc/rc.d/rplayd.sh startup file."; \
                echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/rplayd.sh; \
-               echo "[ -x /usr/local/sbin/rplayd ] && ( /usr/local/sbin/rplayd & ) && echo -n ' rplayd'" >> ${PREFIX}/etc/rc.d/rplayd.sh; \
+               echo "[ -x ${PREFIX}/sbin/rplayd ] && ( ${PREFIX}/sbin/rplayd & ) && echo -n ' rplayd'" >> ${PREFIX}/etc/rc.d/rplayd.sh; \
                chmod 751 ${PREFIX}/etc/rc.d/rplayd.sh; \
        fi
        @if [ ! -f ${PREFIX}/etc/rplay.hosts ]; then \


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mharo 
State-Changed-When: Sat Jun 5 13:08:02 PDT 1999 
State-Changed-Why:  
Committed, thanks 
>Unformatted:
