ports/168008: [patch] devel/libcli to honor custom PREFIX
Ryan Steinmetz
rpsfa at rit.edu
Thu May 17 11:30:03 UTC 2012
>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:
More information about the freebsd-ports-bugs
mailing list