Date: Wed, 30 Sep 2009 18:25:30 +0300 From: Andriy Gapon <avg@FreeBSD.org> To: miwi@FreeBSD.org Subject: Re: ports/139252: [NEW PORT] sysutils/superiotool: Helper tool for Super I/O chip detection and analysis Message-ID: <4AC3786A.8050009@freebsd.org> Resent-Message-ID: <4AC4A87C.6030002@icyb.net.ua> In-Reply-To: <4AC3771B.8030507@icyb.net.ua> References: <200909301510.n8UFAFx0065258@freefall.freebsd.org> <4AC3771B.8030507@icyb.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
on 30/09/2009 18:19 Andriy Gapon said the following: > on 30/09/2009 18:10 miwi@FreeBSD.org said the following: >> Synopsis: [NEW PORT] sysutils/superiotool: Helper tool for Super I/O chip detection and analysis >> >> State-Changed-From-To: open->feedback >> State-Changed-By: miwi >> State-Changed-When: Wed Sep 30 15:09:47 UTC 2009 >> State-Changed-Why: >> failed to build on 8 and 9 >> >> http://64bit.miwibox.org/index.php?action=describe_port&id=2110 >> http://32bit.miwibox.org/index.php?action=describe_port&id=2099 > > Thank you very much for the info! > I guess this is because of combination of -ansi flag in superiotool's Makefile and > 'inline' (as opposed to __inline) in machine/cpufunc.h. > I'll provide a fix. Please find a new shar file inline. The only thing changed is an additional substitution in post-patch target. # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # superiotool # superiotool/distinfo # superiotool/Makefile # superiotool/pkg-descr # echo c - superiotool mkdir -p superiotool > /dev/null 2>&1 echo x - superiotool/distinfo sed 's/^X//' >superiotool/distinfo << 'b98286446c2ba68befc76e94033664c7' XMD5 (superiotool-20090930.tar.bz2) = 4f58555a5b6564509ba644ec2e07cd79 XSHA256 (superiotool-20090930.tar.bz2) = 2d06800cc1e24622526d6a1dc729eaee94e7a50ffd2600e60064a77fcebb3dca XSIZE (superiotool-20090930.tar.bz2) = 29348 b98286446c2ba68befc76e94033664c7 echo x - superiotool/Makefile sed 's/^X//' >superiotool/Makefile << '07ee5101d8e4c55e41532e8d658e0b10' X# New ports collection makefile for: superiotool X# Date created: 2009-09-30 X# Whom: Andriy Gapon <avg@icyb.net.ua> X# X# $FreeBSD$ X# X XPORTNAME= superiotool XDISTVERSION= 20090930 XCATEGORIES= sysutils XMASTER_SITES= http://www.icyb.net.ua/~avg/distfiles/ X XMAINTAINER= avg@icyb.net.ua XCOMMENT= Helper tool for Super I/O chip detection and analysis X XUSE_BZIP2= yes XUSE_GMAKE= yes X XPLIST_FILES= sbin/superiotool XMAN8= superiotool.8 X XWRKSRC= ${WRKDIR}/${PORTNAME} XSVNROOT= svn://coreboot.org/repos/trunk/util/superiotool X Xgen-dist: X @if [ ! -f ${LOCALBASE}/bin/svn ]; then \ X ${ECHO_CMD} "ERROR: You need to have devel/subversion installed for gen-dist target"; \ X ${FALSE}; \ X fi X @if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \ X ${MKDIR} ${WRKDIR}/svn; \ X cd ${WRKDIR}/svn && svn co ${SVNROOT}; \ X ${TAR} cfj ${_DISTDIR}${DISTFILES} ${PORTNAME}; \ X cd ${WRKDIR} && ${RM} -rf svn; \ X cd ${.CURDIR} && ${MAKE} ${__softMAKEFLAGS} makesum; \ X fi X Xpost-patch: X @${REINPLACE_CMD} -e 's#/share/man/#/man/#g' -e 's#-ansi##g' \ X ${WRKSRC}/Makefile X X.include <bsd.port.mk> 07ee5101d8e4c55e41532e8d658e0b10 echo x - superiotool/pkg-descr sed 's/^X//' >superiotool/pkg-descr << '22db100abbf8b5e7acfd8c848ab77cb1' XSuperiotool is a GPL'd user-space helper tool for coreboot development Xpurposes (but may also be useful for other things). It allows you to Xdetect which Super I/O you have on your mainboard, and it can provide Xdetailed information about the register contents of the Super I/O. X XWWW: http://www.coreboot.org/Superiotool 22db100abbf8b5e7acfd8c848ab77cb1 exit -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AC3786A.8050009>