This now needs python.

This commit is contained in:
ajacoutot 2011-09-21 13:10:18 +00:00
parent 368cfb12f6
commit cd736da792
3 changed files with 12 additions and 20 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.133 2011/09/21 11:29:44 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.134 2011/09/21 13:10:18 ajacoutot Exp $
COMMENT-main= general-purpose utility library
COMMENT-docs= glib2 documentation
@ -10,7 +10,7 @@ EXTRACT_SUFX= .tar.xz
PKGNAME-main= glib2-${VERSION}
PKGNAME-docs= glib2-docs-${VERSION}
REVISION-main= 0
REVISION-main= 1
CATEGORIES= devel
@ -37,13 +37,8 @@ MULTI_PACKAGES= -main -docs
MODULES= devel/gettext \
lang/python
# Although gtester-report(1) and gdbus-codegen(1) are python scripts, we
# do not want to force a dependency on python.
MODPY_RUNDEP= No
# Python is needed for the regress tests.
MODPY_BUILDDEP= Yes
MODPY_ADJ_FILES= glib/gtester-report \
codegen/gdbus-codegen.in \
gio/gdbus-2.0/codegen/gdbus-codegen.in \
gio/tests/gdbus-testserver.py
WANTLIB-main += ${WANTLIB} c pthread z pcre fam ffi
@ -68,7 +63,6 @@ REGRESS_DEPENDS= devel/desktop-file-utils \
USE_GMAKE= Yes
USE_LIBTOOL= Yes
USE_GROFF= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \

View File

@ -1,9 +0,0 @@
@comment $OpenBSD: PFRAG.shared-main,v 1.5 2011/05/11 06:22:17 ajacoutot Exp $
@unexec-delete rm -f %D/lib/gio/modules/giomodule.cache
lib/gio/modules/libgiofam.so
@lib lib/libgio-2.0.so.${LIBgio-2.0_VERSION}
@lib lib/libglib-2.0.so.${LIBglib-2.0_VERSION}
@lib lib/libgmodule-2.0.so.${LIBgmodule-2.0_VERSION}
@lib lib/libgobject-2.0.so.${LIBgobject-2.0_VERSION}
@lib lib/libgthread-2.0.so.${LIBgthread-2.0_VERSION}
@exec %D/bin/gio-querymodules %D/lib/gio/modules/

View File

@ -1,8 +1,9 @@
@comment $OpenBSD: PLIST-main,v 1.21 2011/09/20 21:09:34 ajacoutot Exp $
@comment $OpenBSD: PLIST-main,v 1.22 2011/09/21 13:10:18 ajacoutot Exp $
@conflict glib2-fam-*
@pkgpath devel/glib2
@pkgpath devel/glib2,-fam
@unexec-delete rm -f %D/share/glib-2.0/schemas/gschemas.compiled
@unexec-delete rm -f %D/lib/gio/modules/giomodule.cache
@bin bin/gdbus
bin/gdbus-codegen
@bin bin/gio-querymodules
@ -269,19 +270,25 @@ lib/gio/
lib/gio/modules/
@comment lib/gio/modules/libgiofam.a
@comment lib/gio/modules/libgiofam.la
lib/gio/modules/libgiofam.so
lib/glib-2.0/
lib/glib-2.0/include/
lib/glib-2.0/include/glibconfig.h
lib/libgio-2.0.a
lib/libgio-2.0.la
@lib lib/libgio-2.0.so.${LIBgio-2.0_VERSION}
lib/libglib-2.0.a
lib/libglib-2.0.la
@lib lib/libglib-2.0.so.${LIBglib-2.0_VERSION}
lib/libgmodule-2.0.a
lib/libgmodule-2.0.la
@lib lib/libgmodule-2.0.so.${LIBgmodule-2.0_VERSION}
lib/libgobject-2.0.a
lib/libgobject-2.0.la
@lib lib/libgobject-2.0.so.${LIBgobject-2.0_VERSION}
lib/libgthread-2.0.a
lib/libgthread-2.0.la
@lib lib/libgthread-2.0.so.${LIBgthread-2.0_VERSION}
lib/pkgconfig/gio-2.0.pc
lib/pkgconfig/gio-unix-2.0.pc
lib/pkgconfig/glib-2.0.pc
@ -511,5 +518,5 @@ share/locale/yi/LC_MESSAGES/glib20.mo
share/locale/zh_CN/LC_MESSAGES/glib20.mo
share/locale/zh_HK/LC_MESSAGES/glib20.mo
share/locale/zh_TW/LC_MESSAGES/glib20.mo
%%SHARED%%
@exec %D/bin/glib-compile-schemas %D/share/glib-2.0/schemas >/dev/null
@exec %D/bin/gio-querymodules %D/lib/gio/modules/