2017-11-08 15:26:12 +00:00
|
|
|
# All patches annotated with XXKVM are to prevent any kvm(3) which
|
|
|
|
# results in an abort() for the caller.
|
2003-01-31 18:35:57 +00:00
|
|
|
|
2007-09-16 02:52:56 +00:00
|
|
|
COMMENT= portable library for obtaining system information
|
2003-01-31 18:35:57 +00:00
|
|
|
|
2019-04-27 13:45:24 +00:00
|
|
|
GNOME_VERSION= 2.40.0
|
2007-12-28 14:31:52 +00:00
|
|
|
GNOME_PROJECT= libgtop
|
2010-09-30 07:44:35 +00:00
|
|
|
PKGNAME= libgtop2-${VERSION}
|
2022-11-05 17:06:22 +00:00
|
|
|
REVISION= 4
|
2009-10-12 10:18:32 +00:00
|
|
|
|
2015-12-11 14:07:30 +00:00
|
|
|
SHARED_LIBS= gtop-2.0 10.0 # .10.0
|
2006-01-03 18:07:27 +00:00
|
|
|
|
2003-01-31 18:35:57 +00:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
2022-11-04 09:28:13 +00:00
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
2011-05-24 12:37:15 +00:00
|
|
|
|
2008-03-17 08:38:31 +00:00
|
|
|
# GPLv2
|
2019-07-12 20:44:34 +00:00
|
|
|
PERMIT_PACKAGE= Yes
|
2008-02-09 16:52:24 +00:00
|
|
|
|
2022-11-05 17:06:22 +00:00
|
|
|
WANTLIB += Xau c ffi glib-2.0 gobject-2.0 iconv intl kvm pcre2-8
|
2016-04-20 06:20:38 +00:00
|
|
|
WANTLIB += pthread
|
2003-01-31 18:35:57 +00:00
|
|
|
|
2016-04-20 06:20:38 +00:00
|
|
|
MODULES= x11/gnome
|
2007-12-28 14:31:52 +00:00
|
|
|
|
2019-11-13 18:33:08 +00:00
|
|
|
DEBUG_PACKAGES = ${BUILD_PACKAGES}
|
|
|
|
|
2010-11-15 19:45:56 +00:00
|
|
|
LIB_DEPENDS= devel/glib2
|
2003-01-31 18:35:57 +00:00
|
|
|
|
2014-04-02 09:36:09 +00:00
|
|
|
MODGNOME_TOOLS += gobject-introspection
|
2011-09-20 20:51:51 +00:00
|
|
|
|
2004-08-01 06:06:35 +00:00
|
|
|
CONFIGURE_STYLE= gnu
|
2011-09-28 09:47:46 +00:00
|
|
|
CONFIGURE_ENV= GMSGFMT="${LOCALBASE}/bin/msgfmt" \
|
2010-09-30 07:44:35 +00:00
|
|
|
ac_cv_header_sys_mount_h=yes
|
2003-01-31 18:35:57 +00:00
|
|
|
|
2010-04-08 15:57:46 +00:00
|
|
|
.ifdef DEBUG
|
|
|
|
CONFIGURE_ARGS+= --enable-debug
|
|
|
|
CPPFLAGS+= -DDEBUG \
|
|
|
|
-DLIBGTOP_ENABLE_DEBUG \
|
|
|
|
-DLIBGTOP_FATAL_WARNINGS
|
|
|
|
.endif
|
|
|
|
|
2017-11-03 11:22:11 +00:00
|
|
|
post-extract:
|
|
|
|
cp ${FILESDIR}/procio.c ${WRKSRC}/sysdeps/openbsd/
|
|
|
|
|
2003-01-31 18:35:57 +00:00
|
|
|
.include <bsd.port.mk>
|