aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-07-26 14:48:48 +0800
committereadler <eadler@FreeBSD.org>2012-07-26 14:48:48 +0800
commitb462c7ff7973274dc5f92a960eb66de85875596d (patch)
treec1d1bb843bdc26798403c6a3d2bc182e3ab70567 /sysutils
parent287b78cf3453b7a629c2f7dbd3f55ce0a8797608 (diff)
downloadfreebsd-ports-gnome-b462c7ff7973274dc5f92a960eb66de85875596d.tar.gz
freebsd-ports-gnome-b462c7ff7973274dc5f92a960eb66de85875596d.tar.zst
freebsd-ports-gnome-b462c7ff7973274dc5f92a960eb66de85875596d.zip
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
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/x86info/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/sysutils/x86info/Makefile b/sysutils/x86info/Makefile
index 539c873112b4..601c8593565f 100644
--- a/sysutils/x86info/Makefile
+++ b/sysutils/x86info/Makefile
@@ -16,13 +16,13 @@ COMMENT= An x86 CPU identification utility
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