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/glib2/Makefile,v rcsdiff: /ftp/cvs/cvsroot/pkgsrc/devel/glib2/Makefile,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.1 retrieving revision 1.175.2.1 diff -u -p -r1.1 -r1.175.2.1 --- pkgsrc/devel/glib2/Makefile 2002/03/24 20:27:13 1.1 +++ pkgsrc/devel/glib2/Makefile 2010/08/22 00:10:22 1.175.2.1 @@ -1,38 +1,34 @@ -# $NetBSD: Makefile,v 1.1 2002/03/24 20:27:13 dmcmahill Exp $ -# +# $NetBSD: Makefile,v 1.175.2.1 2010/08/22 00:10:22 spz Exp $ + +.include "Makefile.common" -DISTNAME= glib-2.0.0 -PKGNAME= ${DISTNAME:S/glib/glib2/} CATEGORIES= devel -MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v2.0/ \ - ftp://ftp.cs.umn.edu/pub/gimp/gtk/v2.0/ \ - http://www.ameth.org/gimp/pub/gtk/v2.0/ \ - ${MASTER_SITE_GNOME:=stable/sources/glib/} - -MAINTAINER= packages@netbsd.org -HOMEPAGE= http://www.gtk.org/docs/glib_toc.html -COMMENT= Some useful routines for C programming - -BUILD_USES_MSGFMT= yes -GNU_CONFIGURE= yes -USE_BUILDLINK_ONLY= yes -USE_GMAKE= yes -USE_LIBTOOL= yes -LIBTOOL_OVERRIDE= ${WRKSRC}/libtool -USE_PERL5= yes -CONFIGURE_ARGS+= --includedir=${PREFIX}/include/glib -CPPFLAGS+= -I${BUILDLINK_DIR}/PTL/include -MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}" - -# GLib needs a working pre-emptive pthreads implementation -USE_PTHREAD= native ptl2 - -test: build - cd ${WRKSRC} && ${MAKE_ENV} ${MAKE_PROGRAM} check 2>&1 | \ - tee ${WRKDIR}/check.log - -.include "../../converters/libiconv/buildlink.mk" -.include "../../devel/gettext-lib/buildlink.mk" -.include "../../devel/pkgconfig/buildlink.mk" -.include "../../mk/pthread.buildlink.mk" + +COMMENT= Some useful routines for C programming (glib2) + +USE_TOOLS+= msgfmt perl:run + +PKGCONFIG_OVERRIDE= glib-2.0-uninstalled.pc.in +PKGCONFIG_OVERRIDE+= glib-2.0.pc.in +PKGCONFIG_OVERRIDE+= gmodule-2.0-uninstalled.pc.in +PKGCONFIG_OVERRIDE+= gmodule-2.0.pc.in +PKGCONFIG_OVERRIDE+= gmodule-export-2.0.pc.in +PKGCONFIG_OVERRIDE+= gmodule-no-export-2.0-uninstalled.pc.in +PKGCONFIG_OVERRIDE+= gmodule-no-export-2.0.pc.in +PKGCONFIG_OVERRIDE+= gobject-2.0-uninstalled.pc.in +PKGCONFIG_OVERRIDE+= gobject-2.0.pc.in +PKGCONFIG_OVERRIDE+= gthread-2.0-uninstalled.pc.in +PKGCONFIG_OVERRIDE+= gthread-2.0.pc.in +PKGCONFIG_OVERRIDE+= gio-2.0.pc.in +PKGCONFIG_OVERRIDE+= gio-unix-2.0.pc.in + +# need pcre utf8 + unicode-properties +BUILDLINK_API_DEPENDS.pcre+= pcre>=7.4nb1 + +LIBS.SunOS+= -lnsl -lsocket + +.include "../../converters/libiconv/buildlink3.mk" +.include "../../devel/gettext-lib/buildlink3.mk" +.include "../../devel/pcre/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" .include "../../mk/bsd.pkg.mk"