Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Mar 2014 19:33:59 +0200 (EET)
From:      <vsjcfm@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/187202: [patch] [update] net-p2p/mktorrent: staging support
Message-ID:  <201403021733.s22HXx2Y066716@cs0.ntop.tv>
Resent-Message-ID: <201403021750.s22Ho0YZ062897@freefall.freebsd.org>

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

>Number:         187202
>Category:       ports
>Synopsis:       [patch] [update] net-p2p/mktorrent: staging support
>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:   Sun Mar 02 17:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Anton Sayetsky
>Release:        FreeBSD 9.2-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD cs0.local 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0 r262297: Fri Feb 21 17:01:00 EET 2014 root@cs0.local:/usr/obj/usr/src/sys/FSRV amd64
>Description:
Simple fix to enable staging.
>How-To-Repeat:
>Fix:
--- patch.txt begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 346782)
+++ Makefile	(working copy)
@@ -24,7 +24,6 @@
 OPENSSL_DESC=	Use OpenSSL for hashing
 HASHCHECK_DESC=	Verify file hashes
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MTHREADS}
@@ -44,6 +43,6 @@
 	@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/BSDmakefile
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>
--- patch.txt ends here ---


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



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