Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2012 11:22:51 GMT
From:      Ryan Steinmetz <rpsfa@rit.edu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/168008: [patch] devel/libcli to honor custom PREFIX
Message-ID:  <201205171122.q4HBMp04021132@red.freebsd.org>
Resent-Message-ID: <201205171130.q4HBU3p0018581@freefall.freebsd.org>

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

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205171122.q4HBMp04021132>