From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 17 11:30:03 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 970791065675 for ; Thu, 17 May 2012 11:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 50C7B8FC18 for ; Thu, 17 May 2012 11:30:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4HBU3au018587 for ; Thu, 17 May 2012 11:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4HBU3p0018581; Thu, 17 May 2012 11:30:03 GMT (envelope-from gnats) Resent-Date: Thu, 17 May 2012 11:30:03 GMT Resent-Message-Id: <201205171130.q4HBU3p0018581@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ryan Steinmetz Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E0A3106566B for ; Thu, 17 May 2012 11:22:51 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 69F718FC14 for ; Thu, 17 May 2012 11:22:51 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q4HBMp7H021133 for ; Thu, 17 May 2012 11:22:51 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q4HBMp04021132; Thu, 17 May 2012 11:22:51 GMT (envelope-from nobody) Message-Id: <201205171122.q4HBMp04021132@red.freebsd.org> Date: Thu, 17 May 2012 11:22:51 GMT From: Ryan Steinmetz To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/168008: [patch] devel/libcli to honor custom PREFIX X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2012 11:30:03 -0000 >Number: 168008 >Category: ports >Synopsis: [patch] devel/libcli to honor custom PREFIX >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu May 17 11:30:02 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Ryan Steinmetz >Release: 8.3-RELEASE >Organization: Rochester Institute of Technology >Environment: >Description: devel/libcli has PREFIX hardcoded to /usr/local and, by default, does not allow you to override it easily. >How-To-Repeat: >Fix: Apply the attached patch. Patch attached with submission follows: Index: files/patch-Makefile =================================================================== RCS file: /home/ncvs/ports/devel/libcli/files/patch-Makefile,v retrieving revision 1.3 diff -u -r1.3 patch-Makefile --- files/patch-Makefile 20 Jun 2011 16:58:07 -0000 1.3 +++ files/patch-Makefile 17 May 2012 11:17:14 -0000 @@ -1,6 +1,13 @@ ---- ./Makefile.orig 2011-05-04 04:52:15.000000000 +0200 -+++ ./Makefile 2011-06-20 18:57:17.703992054 +0200 -@@ -7,17 +7,15 @@ +--- ./Makefile.orig 2011-05-03 22:52:15.000000000 -0400 ++++ ./Makefile 2012-05-17 07:17:09.000000000 -0400 +@@ -1,23 +1,21 @@ + UNAME = $(shell sh -c 'uname -s 2>/dev/null || echo not') + DESTDIR = +-PREFIX = /usr/local ++PREFIX ?= /usr/local + + MAJOR = 1 + MINOR = 9 REVISION = 5 LIB = libcli.so >Release-Note: >Audit-Trail: >Unformatted: