- disable mpfr module, this needs mpfr 3.x after all.

This commit is contained in:
jasper 2011-05-15 14:35:58 +00:00
parent f5a1e59407
commit 0bc83b4283
4 changed files with 9 additions and 27 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.3 2011/05/15 14:11:52 jasper Exp $
# $OpenBSD: Makefile,v 1.4 2011/05/15 14:35:58 jasper Exp $
COMMENT= GObject JavaScriptCore bridge
GNOME_PROJECT= seed
GNOME_VERSION= 3.0.0
REVISION= 1
REVISION= 2
SHARED_LIBS += seed-gtk3 0.0 # 0.0
CATEGORIES= devel www
@ -25,10 +25,10 @@ WANTLIB += GL ICE SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender Xt Xxf86vm atk-1.0
WANTLIB += c cairo cairo-gobject dbus-1 dbus-glib-1 drm enchant
WANTLIB += expat ffi fontconfig freetype gailutil-3 gdk-3 gdk_pixbuf-2.0
WANTLIB += gio-2.0 girepository-1.0 glib-2.0 gmodule-2.0 gmp gobject-2.0
WANTLIB += gio-2.0 girepository-1.0 glib-2.0 gmodule-2.0 gobject-2.0
WANTLIB += gstapp-0.10 gstbase-0.10 gstinterfaces-0.10 gstpbutils-0.10
WANTLIB += gstreamer-0.10 gstvideo-0.10 gthread-2.0 gtk-3 icudata
WANTLIB += icui18n icuuc jpeg m mpfr pango-1.0 pangocairo-1.0
WANTLIB += icui18n icuuc jpeg m pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pcre pixman-1 png pthread pthread-stubs
WANTLIB += readline soup-2.4 sqlite3 stdc++ termcap util webkitgtk-3.0
WANTLIB += xcb xcb-render xcb-shm xml2 xslt z
@ -36,7 +36,6 @@ WANTLIB += xcb xcb-render xcb-shm xml2 xslt z
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= x11/gnome/js-common
LIB_DEPENDS= devel/gobject-introspection \
devel/mpfr \
www/webkit,gtk3
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
@ -50,8 +49,9 @@ CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--enable-libxml-module \
--enable-gtkbuilder-module \
--enable-cairo-module \
--enable-gettext-module \
--enable-mpfr-module
--enable-gettext-module
# MPFR module needs mpfr 3.x, so disable it for now.
CONFIGURE_ARGS+= --disable-mpfr-module
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-configure,v 1.1.1.1 2011/05/13 09:59:35 jasper Exp $
--- configure.orig Fri May 13 10:56:00 2011
+++ configure Fri May 13 10:56:45 2011
@@ -14172,8 +14172,8 @@ for ac_lib in '' mpfr; do
if test -z "$ac_lib"; then
ac_res="none required"
else
- ac_res=-l$ac_lib
- LIBS="-l$ac_lib $other_LIBS $ac_func_search_save_LIBS"
+ ac_res="-l$ac_lib -lgmp"
+ LIBS="-l$ac_lib -lgmp $other_LIBS $ac_func_search_save_LIBS"
fi
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_search_mpfr_init2=$ac_res

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2011/05/13 09:59:35 jasper Exp $
@comment $OpenBSD: PFRAG.shared,v 1.2 2011/05/15 14:35:58 jasper Exp $
@lib lib/libseed-gtk3.so.${LIBseed-gtk3_VERSION}
lib/seed-gtk3/libseed_DynamicObject.so
lib/seed-gtk3/libseed_cairo.so
@ -9,7 +9,6 @@ lib/seed-gtk3/libseed_ffi.so
lib/seed-gtk3/libseed_gettext.so
lib/seed-gtk3/libseed_gtkbuilder.so
lib/seed-gtk3/libseed_libxml.so
lib/seed-gtk3/libseed_mpfr.so
lib/seed-gtk3/libseed_multiprocessing.so
lib/seed-gtk3/libseed_os.so
lib/seed-gtk3/libseed_readline.so

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/05/13 09:59:35 jasper Exp $
@comment $OpenBSD: PLIST,v 1.2 2011/05/15 14:35:58 jasper Exp $
%%SHARED%%
@bin bin/seed
include/seed-gtk3/
@ -7,7 +7,6 @@ include/seed-gtk3/seed-module.h
include/seed-gtk3/seed.h
lib/libseed-gtk3.a
lib/libseed-gtk3.la
lib/pkgconfig/
lib/pkgconfig/seed.pc
lib/seed-gtk3/
lib/seed-gtk3/libseed_DynamicObject.a
@ -28,8 +27,6 @@ lib/seed-gtk3/libseed_gtkbuilder.a
lib/seed-gtk3/libseed_gtkbuilder.la
lib/seed-gtk3/libseed_libxml.a
lib/seed-gtk3/libseed_libxml.la
lib/seed-gtk3/libseed_mpfr.a
lib/seed-gtk3/libseed_mpfr.la
lib/seed-gtk3/libseed_multiprocessing.a
lib/seed-gtk3/libseed_multiprocessing.la
lib/seed-gtk3/libseed_os.a