From owner-svn-ports-all@FreeBSD.ORG Mon Mar 24 00:52:36 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 14F934BE; Mon, 24 Mar 2014 00:52:36 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DC17FAF2; Mon, 24 Mar 2014 00:52:35 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2O0qZ5l092997; Mon, 24 Mar 2014 00:52:35 GMT (envelope-from swills@svn.freebsd.org) Received: (from swills@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2O0qZcI092996; Mon, 24 Mar 2014 00:52:35 GMT (envelope-from swills@svn.freebsd.org) Message-Id: <201403240052.s2O0qZcI092996@svn.freebsd.org> From: Steve Wills Date: Mon, 24 Mar 2014 00:52:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r348915 - head/sysutils/memtest86+ X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2014 00:52:36 -0000 Author: swills Date: Mon Mar 24 00:52:35 2014 New Revision: 348915 URL: http://svnweb.freebsd.org/changeset/ports/348915 QAT: https://qat.redports.org/buildarchive/r348915/ Log: - Stagify - Replace USE_GMAKE and USE_DOS2UNIX with respective USES= - Add USE_GCC= yes, as it won't build with clang34 PR: ports/187415 Submitted by: Johannes Jost Meixner Approved by: Andriy Gapon (maintainer) Modified: head/sysutils/memtest86+/Makefile Modified: head/sysutils/memtest86+/Makefile ============================================================================== --- head/sysutils/memtest86+/Makefile Mon Mar 24 00:22:02 2014 (r348914) +++ head/sysutils/memtest86+/Makefile Mon Mar 24 00:52:35 2014 (r348915) @@ -3,7 +3,7 @@ PORTNAME= memtest86+ PORTVERSION= 4.20 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= http://www.memtest.org/download/${PORTVERSION}/ @@ -12,11 +12,12 @@ COMMENT= Stand-alone memory test for x86 ONLY_FOR_ARCHS= i386 amd64 -USE_DOS2UNIX= README memtest.lds setup.S -USE_GMAKE= yes +USES= gmake dos2unix ALL_TARGET= all PORTDOCS= * +USE_GCC= yes + # Please provide absolute path below (cannot be root) BOOT_DIR?= /boot/opt @@ -29,7 +30,6 @@ BOOT_DESC= Build ELF image loadable by b SERIAL_DESC= Enable serial console at COM1/9600 HISPEED_DESC= Set COM1 serial console speed to 115200 -NO_STAGE= yes .include .if ${PORT_OPTIONS:MBOOT} @@ -59,6 +59,9 @@ pre-fetch: @${ECHO} "build ISO image with custom tweaks in memtest86+ code." .endif +post-patch: + ${REINPLACE_CMD} -e 's|gcc|${CC}|' ${WRKSRC}/Makefile + PLIST= ${WRKDIR}/pkg-plist pre-install: @@ -76,17 +79,17 @@ pre-install: do-install: .if ${PORT_OPTIONS:MISO} - @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/mt${PORTVERSION:C/\.//}.iso ${DATADIR} + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/mt${PORTVERSION:C/\.//}.iso ${STAGEDIR}${DATADIR} .endif .if ${PORT_OPTIONS:MBOOT} - @${MKDIR} ${BOOT_DIR} + @${MKDIR} ${STAGEDIR}${BOOT_DIR} # XXX is INSTALL_KLD really appropriate here? XXX - ${INSTALL_KLD} ${WRKSRC}/memtest ${BOOT_DIR}/memtest86+ + ${INSTALL_KLD} ${WRKSRC}/memtest ${STAGEDIR}${BOOT_DIR}/memtest86+ .endif .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .endif post-install: