Bug 185958 - [PATCH] sysutils/cpuburn: fix build on 10.x
Summary: [PATCH] sysutils/cpuburn: fix build on 10.x
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: Andriy Gapon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-21 05:10 UTC by Dmitry Marakasov
Modified: 2014-01-21 17:00 UTC (History)
1 user (show)

See Also:


Attachments
cpuburn-1.4.patch (1.17 KB, patch)
2014-01-21 05:10 UTC, Dmitry Marakasov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov 2014-01-21 05:10:01 UTC
- Fix build on 10.x
- Support staging
- Convert NOPORTDOCS to OPTIONS

Port maintainer (avg@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: SVN)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-01-21 05:10:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->avg

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Andriy Gapon freebsd_committer freebsd_triage 2014-01-21 15:48:56 UTC
Looks very good to me!
Thanks a lot, Dmitry!

-- 
Andriy Gapon
Comment 3 Dmitry Marakasov freebsd_committer freebsd_triage 2014-01-21 16:57:12 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2014-01-21 16:57:19 UTC
Author: amdmi3
Date: Tue Jan 21 16:57:11 2014
New Revision: 340621
URL: http://svnweb.freebsd.org/changeset/ports/340621
QAT: https://qat.redports.org/buildarchive/r340621/

Log:
  - Fix build on 10.x
  - Support staging
  - Convert NOPORTDOCS to OPTIONS
  
  PR:		185958
  Submitted by:	amdmi3
  Approved by:	avg (maintainer)

Modified:
  head/sysutils/cpuburn/Makefile

Modified: head/sysutils/cpuburn/Makefile
==============================================================================
--- head/sysutils/cpuburn/Makefile	Tue Jan 21 16:43:00 2014	(r340620)
+++ head/sysutils/cpuburn/Makefile	Tue Jan 21 16:57:11 2014	(r340621)
@@ -6,8 +6,7 @@ DISTVERSION=	1_4
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.bayofrum.net/dist/${PORTNAME}/ \
 		http://atarininja.org/distfiles/ \
-		${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=	avg
+		LOCAL/avg
 DISTNAME=	cpuburn_${DISTVERSION}
 EXTRACT_SUFX=	_tar.gz
 
@@ -20,8 +19,10 @@ ONLY_FOR_ARCHS=	i386 amd64
 PORTDOCS=	README Design
 CPUS=		BX K6 K7 MMX P5 P6
 PLIST_FILES=	${CPUS:S+^+bin/burn+}
+USE_GCC=	yes
+
+OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 do-build:
 .for CPU in ${CPUS}
 	${CC} -m32 -s -nostdlib -o ${WRKSRC}/burn${CPU} ${WRKSRC}/burn${CPU}.S
@@ -29,12 +30,10 @@ do-build:
 
 do-install:
 .for CPU in ${CPUS}
-	${INSTALL_PROGRAM} ${WRKSRC}/burn${CPU} ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/burn${CPU} ${STAGEDIR}${PREFIX}/bin/
 .endfor
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/Design ${DOCSDIR}
-.endif
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
+	${INSTALL_DATA} ${WRKSRC}/Design ${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"