ports/139585: [PATCH] net/cnupm: fix broken mtree with custom PREFIX

Sahil Tandon sahil at tandon.net
Wed Oct 14 01:00:07 UTC 2009


>Number:         139585
>Category:       ports
>Synopsis:       [PATCH] net/cnupm: fix broken mtree with custom PREFIX
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 14 01:00:06 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sahil Tandon
>Release:        FreeBSD 7.2-RELEASE i386
>Organization:
>Environment:

	
>Description:
	Port does not install files in correct location in case of custom PREFIX; for more see QATty log:
	http://qatty.tecnik93.com//errors/7-STABLE-FPT-CustDir/cnupm-3.11.log 
>How-To-Repeat:
	Install port with custom PREFIX. 
>Fix:

	



--- cnupm.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/cnupm/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile	13 Sep 2009 00:12:21 -0000	1.9
+++ Makefile	14 Oct 2009 00:33:28 -0000
@@ -18,6 +18,9 @@
 MAN8=		cnupm.8 cnupmstat.8
 MANCOMPRESSED=	yes
 
+MAKE_ENV+=	BINDIR="${PREFIX}/sbin" \
+		MANDIR="${MANPREFIX}/man/man"
+
 CNUPM_OWN?=	cnupm
 CNUPM_GRP?=	cnupm
 
--- cnupm.diff ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list