Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Oct 2009 20:52:53 -0400 (EDT)
From:      Sahil Tandon <sahil@tandon.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/139585: [PATCH] net/cnupm: fix broken mtree with custom PREFIX 
Message-ID:  <20091014005253.E363C1708C@spartan.hamla.org>
Resent-Message-ID: <200910140100.n9E107xZ042578@freefall.freebsd.org>

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

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



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