openbsd-ports/games/gcompris/patches/patch-src_goocanvas_src_Makefile_in
2011-01-14 21:29:42 +00:00

37 lines
1.5 KiB
Plaintext

$OpenBSD: patch-src_goocanvas_src_Makefile_in,v 1.3 2011/01/14 21:29:42 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 Dec 6 21:30:13 2010
+++ src/goocanvas/src/Makefile.in Fri Jan 14 20:55:30 2011
@@ -86,7 +86,7 @@ AM_V_lt = $(am__v_lt_$(V))
am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
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)
@@ -318,7 +318,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 = \
@@ -456,7 +456,7 @@ clean-libLTLIBRARIES:
echo "rm -f \"$${dir}/so_locations\""; \
rm -f "$${dir}/so_locations"; \
done
-libgoocanvas.la: $(libgoocanvas_la_OBJECTS) $(libgoocanvas_la_DEPENDENCIES)
+libgoocanvas-gc.la: $(libgoocanvas_la_OBJECTS) $(libgoocanvas_la_DEPENDENCIES)
$(AM_V_CCLD)$(libgoocanvas_la_LINK) -rpath $(libdir) $(libgoocanvas_la_OBJECTS) $(libgoocanvas_la_LIBADD) $(LIBS)
mostlyclean-compile: