Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/pkgsrc/devel/libstatgrab/Makefile,v rcsdiff: /ftp/cvs/cvsroot/pkgsrc/devel/libstatgrab/Makefile,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.14 retrieving revision 1.15 diff -u -p -r1.14 -r1.15 --- pkgsrc/devel/libstatgrab/Makefile 2007/11/06 21:17:34 1.14 +++ pkgsrc/devel/libstatgrab/Makefile 2008/04/09 16:18:39 1.15 @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.14 2007/11/06 21:17:34 reed Exp $ +# $NetBSD: Makefile,v 1.15 2008/04/09 16:18:39 jlam Exp $ DISTNAME= libstatgrab-0.12 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= devel MASTER_SITES= ftp://ftp.uk.i-scream.org/pub/i-scream/libstatgrab/ \ ftp://ftp.i-scream.org/pub/i-scream/libstatgrab/ \ @@ -11,35 +11,17 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.i-scream.org/libstatgrab/ COMMENT= Provides a useful interface to system statistics -GNU_CONFIGURE= yes -USE_LIBTOOL= yes +.include "options.mk" USE_TOOLS+= pkg-config perl:run + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes PKGCONFIG_OVERRIDE= libstatgrab.pc.in -REPLACE_PERL+= src/statgrab/statgrab-make-mrtg-config.in -REPLACE_PERL+= src/statgrab/statgrab-make-mrtg-index.in +REPLACE_PERL+= src/statgrab/statgrab-make-mrtg-config.in +REPLACE_PERL+= src/statgrab/statgrab-make-mrtg-index.in CONFIGURE_ARGS+= --disable-examples -.include "../../mk/bsd.prefs.mk" - -BUILD_DEFS+= WITHOUT_STATGRAB -BUILD_DEFS+= WITHOUT_SAIDAR - -.if defined(WITHOUT_STATGRAB) -CONFIGURE_ARGS+= --disable-statgrab -PLIST_SUBST+= STATGRAB="@comment " -.else -PLIST_SUBST+= STATGRAB="" -.endif - -.if defined(WITHOUT_SAIDAR) -CONFIGURE_ARGS+= --disable-saidar -PLIST_SUBST+= SAIDAR="@comment " -.else -PLIST_SUBST+= SAIDAR="" -.include "../../devel/ncurses/buildlink3.mk" -.endif - .include "../../mk/bsd.pkg.mk"