Don't depend on python-expat-2.5 but use the python module.
Noticed by and ok steven@
This commit is contained in:
parent
512831896b
commit
1fd96a8a5e
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.21 2007/04/24 20:55:56 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.22 2007/05/04 08:40:23 bernd Exp $
|
||||
|
||||
COMMENT= "library for loading GLADE interface files at runtime"
|
||||
V= 2.6.0
|
||||
DISTNAME= libglade-${V}
|
||||
PKGNAME= libglade2-${V}
|
||||
PKGNAME= libglade2-${V}p0
|
||||
SHARED_LIBS += glade-2.0 0.8 # .0.7
|
||||
|
||||
CATEGORIES= devel
|
||||
@ -23,8 +23,8 @@ WANTLIB= X11 Xau Xcursor Xdmcp Xext Xfixes Xi Xinerama Xrandr \
|
||||
glitz gmodule-2.0 gobject-2.0 m pango-1.0 pangocairo-1.0 \
|
||||
pangoft2-1.0 png z
|
||||
|
||||
MODULES= devel/gettext
|
||||
RUN_DEPENDS= :python-expat-*:lang/python/2.5,-expat
|
||||
MODULES= devel/gettext lang/python
|
||||
RUN_DEPENDS= ${MODPY_EXPAT_DEPENDS}
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
|
||||
xml2.>=7:libxml->=2.6.16p6:textproc/libxml
|
||||
@ -35,7 +35,8 @@ USE_GMAKE= Yes
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
LDFLAGS="-L${LOCALBASE}/lib" \
|
||||
PYTHON="${MODPY_BIN}"
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/libxml2
|
||||
|
Loading…
Reference in New Issue
Block a user