summaryrefslogtreecommitdiff
path: root/devel/libgtop
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-10-21 14:59:59 +0000
committerwiz <wiz@pkgsrc.org>2002-10-21 14:59:59 +0000
commitec971a4363f37f01d841163bf6567670ffd9bb7e (patch)
tree92c1f18deb82a2dfda20b6285e0142486cc6aaf5 /devel/libgtop
parent112db1d63638edd73a0ff188032201c8cb6228e6 (diff)
downloadpkgsrc-ec971a4363f37f01d841163bf6567670ffd9bb7e.tar.gz
Convert to buildlink2.
Diffstat (limited to 'devel/libgtop')
-rw-r--r--devel/libgtop/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/devel/libgtop/Makefile b/devel/libgtop/Makefile
index 8c05fb88c38..7d6153f0066 100644
--- a/devel/libgtop/Makefile
+++ b/devel/libgtop/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2002/10/19 10:54:51 rh Exp $
+# $NetBSD: Makefile,v 1.63 2002/10/21 14:59:59 wiz Exp $
DISTNAME= libgtop-1.0.12
PKGREVISION= 3
@@ -8,9 +8,9 @@ MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgtop/1.0/}
MAINTAINER= tron@netbsd.org
COMMENT= library to retrieve system information, used in GNOME
+USE_BUILDLINK2= yes
USE_PERL5= build
BUILD_USES_MSGFMT= yes
-DEPENDS+= gnome-libs>=1.4.1.2nb1:../../x11/gnome-libs
NOT_FOR_PLATFORM= SunOS-*-*
OSVERSION_SPECIFIC= yes
@@ -31,11 +31,8 @@ IGNORE+= "(More information can be found in libgtop.info.)"
USE_X11BASE= YES
USE_GMAKE= YES
USE_LIBTOOL= YES
-USE_LIBINTL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
-CPPFLAGS+= -I${LOCALBASE}/include # libintl.h
-
# The following flags are for debugging purposes. They don't need to
# be used unless you are actively developing/debugging libgtop.
#CPPFLAGS+= -DLIBGTOP_ENABLE_DEBUG -DLIBGTOP_FATAL_WARNINGS
@@ -43,9 +40,11 @@ CPPFLAGS+= -I${LOCALBASE}/include # libintl.h
#LDFLAGS+= -g
GNU_CONFIGURE= YES
-CONFIGURE_ARGS+= --with-glib-prefix=${LOCALBASE} \
+CONFIGURE_ARGS+= --with-glib-prefix=${BUILDLINK_PREFIX.glib} \
--with-catgets --with-libgtop-guile=no
CONFIGURE_ENV+= AWK="${AWK}" LN_S="${LN} -s" PERL="${PERL5}"
+.include "../../devel/gettext-lib/buildlink2.mk"
+.include "../../x11/gnome-libs/buildlink2.mk"
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"