Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2014 19:57:45 GMT
From:      Olivier Cochard-Labbe <olivier@cochard.me>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/186136: security/rcracki_mt patch for staging support
Message-ID:  <201401261957.s0QJvjhU081429@oldred.freebsd.org>
Resent-Message-ID: <201401262000.s0QK00Xf080846@freefall.freebsd.org>

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

>Number:         186136
>Category:       ports
>Synopsis:       security/rcracki_mt patch for staging support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 26 20:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Cochard-Labbe
>Release:        10.0
>Organization:
>Environment:
>Description:
Here is the staging patch for rcracki_mt.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: security/rcracki_mt/Makefile
===================================================================
--- security/rcracki_mt/Makefile	(revision 341263)
+++ security/rcracki_mt/Makefile	(working copy)
@@ -2,6 +2,7 @@
 
 PORTNAME=	rcracki_mt
 PORTVERSION=	0.7.0
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	SF/rcracki/rcracki_mt/rcracki_mt_${PORTVERSION}
 DISTNAME=	${PORTNAME}_${PORTVERSION}_src
@@ -24,7 +25,6 @@
 PLIST_FILES=	bin/${PORTNAME}
 PORTDOCS=	ChangeLog.txt README.txt
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's,CC = g++,CXX ?= g++, ; s,CFLAGS =,CXXFLAGS +=, ; \
 		s,-lpthread,${PTHREAD_LIBS}, ; s,CC,CXX, ; s,CFLAGS,CXXFLAGS,' \
@@ -33,10 +33,10 @@
 .include <bsd.port.options.mk>
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>


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



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