Bug 186136 - security/rcracki_mt patch for staging support
Summary: security/rcracki_mt patch for staging support
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pawel Pekala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-26 20:00 UTC by olivier
Modified: 2014-01-30 00:00 UTC (History)
0 users

See Also:


Attachments
file.diff (1.07 KB, patch)
2014-01-26 20:00 UTC, olivier
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description olivier 2014-01-26 20:00:00 UTC
Here is the staging patch for rcracki_mt.

Fix: Patch attached with submission follows:
Comment 1 Pawel Pekala freebsd_committer freebsd_triage 2014-01-29 22:43:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-01-29 23:55:37 UTC
Author: pawel
Date: Wed Jan 29 23:55:29 2014
New Revision: 341795
URL: http://svnweb.freebsd.org/changeset/ports/341795
QAT: https://qat.redports.org/buildarchive/r341795/

Log:
  - Allow staging [1]
  - Convert USE_GMAKE to USES=gmake
  
  PR:		ports/186136 [1]
  Submitted by:	maintainer

Modified:
  head/security/rcracki_mt/Makefile

Modified: head/security/rcracki_mt/Makefile
==============================================================================
--- head/security/rcracki_mt/Makefile	Wed Jan 29 23:46:13 2014	(r341794)
+++ head/security/rcracki_mt/Makefile	Wed Jan 29 23:55:29 2014	(r341795)
@@ -16,7 +16,7 @@ EXTRACT_DEPENDS=7z:${PORTSDIR}/archivers
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/${PORTNAME}
 
-USE_GMAKE=	yes
+USES=		gmake
 EXTRACT_CMD=	${LOCALBASE}/bin/7z
 EXTRACT_BEFORE_ARGS=x -o${WRKDIR}
 EXTRACT_AFTER_ARGS=
@@ -24,19 +24,14 @@ EXTRACT_AFTER_ARGS=
 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,' \
 		${WRKSRC}/Makefile
 
-.include <bsd.port.options.mk>
-
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Pawel Pekala freebsd_committer freebsd_triage 2014-01-29 23:55:47 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!