Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2012 06:48:48 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r301549 - head/sysutils/x86info
Message-ID:  <201207260648.q6Q6mmrm048651@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Thu Jul 26 06:48:48 2012
New Revision: 301549
URL: http://svn.freebsd.org/changeset/ports/301549

Log:
  Cleanup this port a bit:
  	- remove abi from LIB_DEPENDS since it isn't needed
  	- remove support for old 7.x systems (which was broken in the first place)
  	- switch to USE_PKGCONFIG instead of USE_GNOME=pkgconfig

Modified:
  head/sysutils/x86info/Makefile

Modified: head/sysutils/x86info/Makefile
==============================================================================
--- head/sysutils/x86info/Makefile	Thu Jul 26 06:39:54 2012	(r301548)
+++ head/sysutils/x86info/Makefile	Thu Jul 26 06:48:48 2012	(r301549)
@@ -16,13 +16,13 @@ COMMENT=	An x86 CPU identification utili
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	pci.3:${PORTSDIR}/devel/libpci
+LIB_DEPENDS=	pci:${PORTSDIR}/devel/libpci
 
 ONLY_FOR_ARCHS=	i386 amd64
 
 USE_GMAKE=	yes
 ALL_TARGET=	x86info lsmsr
-USE_GNOME=	pkgconfig
+USE_PKGCONFIG=	build
 USE_PYTHON_BUILD=yes
 MAKE_JOBS_SAFE=	yes
 
@@ -32,11 +32,6 @@ PLIST_FILES=	bin/lsmsr bin/x86info
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} < 701102
-BUILD_DEPENDS+=	${LOCALBASE}/include/cpu.h:${PORTSDIR}/sysutils/devcpu
-CFLAGS+=	-I${LOCALBASE}/include
-.endif
-
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/x86info ${PREFIX}/bin
 	${INSTALL_PROGRAM} ${WRKSRC}/lsmsr ${PREFIX}/bin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207260648.q6Q6mmrm048651>