Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  6 Jun 1999 12:32:06 -0700 (PDT)
From:      nick.hibma@jrc.it
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/12056: [PATCH] hpack install files always in /usr/local, ignmores PREFIX
Message-ID:  <19990606193206.7189615315@hub.freebsd.org>

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

>Number:         12056
>Category:       ports
>Synopsis:       [PATCH] hpack install files always in /usr/local, ignmores 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:   Sun Jun  6 12:40:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Nick Hibma
>Release:        3.2
>Organization:
>Environment:
ports as of yesteray 16:00, 99/06/05
>Description:
archivers/hpack* installs all its files into /usr/local/ instead of
honouring the directory given by PREFIX.

>How-To-Repeat:

>Fix:
--- Makefile.orig       Sun Jun  6 23:06:33 1999
+++ Makefile    Sun Jun  6 23:05:53 1999
@@ -20,4 +20,11 @@
 INSTALL_TARGET= freebsd.install
 MAN1=          hpack.1
 
+.if defined(PREFIX) 
+post-patch:
+       cd ${WRKDIR}; \
+       perl -p -i.orig -e 's,/usr/local,${PREFIX},g' \
+               `find . -type f | xargs grep -l /usr/local`
+.endif
+
 .include <bsd.port.mk>


>Release-Note:
>Audit-Trail:
>Unformatted:
 X-Send-Pr-Version: www-1.0
 
 


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?19990606193206.7189615315>