openbsd-ports/games/gcompris/patches/patch-src_goocanvas_src_Makefile_in
2012-11-24 08:54:01 +00:00

37 lines
1.6 KiB
Plaintext

$OpenBSD: patch-src_goocanvas_src_Makefile_in,v 1.6 2012/11/24 08:54:01 ajacoutot Exp $
We need the bundled libgoocanvas because the one in ports misses some
functions. However, we need to rename it to prevent undefined refs.
XXX make it compile with gtk+2 2.22 (*_DISABLE_DEPRECATED)
--- src/goocanvas/src/Makefile.in.orig Mon Nov 19 01:38:21 2012
+++ src/goocanvas/src/Makefile.in Sat Nov 24 08:25:46 2012
@@ -109,7 +109,7 @@ AM_V_lt = $(am__v_lt_@AM_V@)
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
am__v_lt_0 = --silent
libgoocanvas_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
+ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) -avoid-version \
$(AM_CFLAGS) $(CFLAGS) $(libgoocanvas_la_LDFLAGS) $(LDFLAGS) \
-o $@
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
@@ -347,7 +347,7 @@ INCLUDES = \
-DG_LOG_DOMAIN=\"GooCanvas\" \
@GCOMPRIS_CFLAGS@
-lib_LTLIBRARIES = libgoocanvas.la
+lib_LTLIBRARIES = libgoocanvas-gc.la
libgoocanvas_la_LIBADD = @GCOMPRIS_LIBS@ $(INTLLIBS)
@PLATFORM_WIN32_TRUE@no_undefined = -no-undefined
libtool_opts = \
@@ -486,7 +486,7 @@ clean-libLTLIBRARIES:
echo "rm -f \"$${dir}/so_locations\""; \
rm -f "$${dir}/so_locations"; \
done
-libgoocanvas.la: $(libgoocanvas_la_OBJECTS) $(libgoocanvas_la_DEPENDENCIES) $(EXTRA_libgoocanvas_la_DEPENDENCIES)
+libgoocanvas-gc.la: $(libgoocanvas_la_OBJECTS) $(libgoocanvas_la_DEPENDENCIES) $(EXTRA_libgoocanvas_la_DEPENDENCIES)
$(AM_V_CCLD)$(libgoocanvas_la_LINK) -rpath $(libdir) $(libgoocanvas_la_OBJECTS) $(libgoocanvas_la_LIBADD) $(LIBS)
mostlyclean-compile: