svn commit: r327259 - head/sysutils/x86info

Baptiste Daroussin bapt at FreeBSD.org
Sat Sep 14 10:30:50 UTC 2013


Author: bapt
Date: Sat Sep 14 10:30:49 2013
New Revision: 327259
URL: http://svnweb.freebsd.org/changeset/ports/327259

Log:
  Remove USE_GCC=any (clang builds it just fine)
  While here:
  - convert to new LIB_DEPENDS format
  - Remove useless pre.mk/post.mk dancing

Modified:
  head/sysutils/x86info/Makefile

Modified: head/sysutils/x86info/Makefile
==============================================================================
--- head/sysutils/x86info/Makefile	Sat Sep 14 10:00:51 2013	(r327258)
+++ head/sysutils/x86info/Makefile	Sat Sep 14 10:30:49 2013	(r327259)
@@ -12,12 +12,11 @@ COMMENT=	x86 CPU identification utility
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	pci:${PORTSDIR}/devel/libpci
+LIB_DEPENDS=	libpci.so:${PORTSDIR}/devel/libpci
 
 ONLY_FOR_ARCHS=	i386 amd64
 
-USE_GCC=	any
-USES=	gmake pkgconfig
+USES=		gmake pkgconfig
 ALL_TARGET=	x86info lsmsr
 USE_PYTHON_BUILD=yes
 
@@ -25,12 +24,10 @@ MAN1=		x86info.1
 MAN8=		lsmsr.8
 PLIST_FILES=	bin/lsmsr bin/x86info
 
-.include <bsd.port.pre.mk>
-
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/x86info ${PREFIX}/bin
 	${INSTALL_PROGRAM} ${WRKSRC}/lsmsr ${PREFIX}/bin
 	${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/,} ${MAN1PREFIX}/man/man1
 	${INSTALL_MAN} ${MAN8:S,^,${WRKSRC}/,} ${MAN8PREFIX}/man/man8
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-all mailing list