Blame SOURCES/agg-2.4-depends.patch

05012c
--- agg-2.4.orig/font_freetype/Makefile.am	2005-10-18 11:45:40.000000000 +0100
05012c
+++ agg-2.4/font_freetype/Makefile.am	2006-07-10 15:11:55.000000000 +0100
05012c
@@ -4,8 +4,9 @@
05012c
 agginclude_HEADERS = agg_font_freetype.h
05012c
 lib_LTLIBRARIES = libaggfontfreetype.la
05012c
 
05012c
-libaggfontfreetype_la_LDFLAGS = -version-info @AGG_LIB_VERSION@ @FREETYPE_LIBS@ 
05012c
+libaggfontfreetype_la_LDFLAGS = -version-info @AGG_LIB_VERSION@
05012c
 libaggfontfreetype_la_SOURCES = agg_font_freetype.cpp
05012c
 libaggfontfreetype_la_CXXFLAGS = -I$(top_srcdir)/include @FREETYPE_CFLAGS@ 
05012c
+libaggfontfreetype_la_LIBADD = ../src/libagg.la @FREETYPE_LIBS@
05012c
 endif
05012c
 
05012c
--- agg-2.4.orig/src/platform/sdl/Makefile.am	2005-10-17 23:49:35.000000000 +0100
05012c
+++ agg-2.4/src/platform/sdl/Makefile.am	2006-07-10 15:11:55.000000000 +0100
05012c
@@ -5,6 +5,6 @@
05012c
 libaggplatformsdl_la_LDFLAGS = -version-info @AGG_LIB_VERSION@
05012c
 libaggplatformsdl_la_SOURCES = agg_platform_support.cpp
05012c
 libaggplatformsdl_la_CXXFLAGS = -I$(top_srcdir)/include @SDL_CFLAGS@
05012c
-libaggplatformsdl_la_LIBADD = @SDL_LIBS@
05012c
+libaggplatformsdl_la_LIBADD = ../../libagg.la @SDL_LIBS@
05012c
 endif
05012c
 
05012c
--- agg-2.5.orig/configure.in	2006-10-09 05:06:36.000000000 +0100
05012c
+++ agg-2.5/configure.in	2007-01-07 14:07:39.000000000 +0000
05012c
@@ -122,7 +122,8 @@
05012c
 fi
05012c
 AM_CONDITIONAL(ENABLE_X11,[test x$no_x = x -a xno != x$enable_platform -a x$win32_host != xyes])
05012c
 AC_SUBST(x_includes)
05012c
-AC_SUBST(x_libraries)
05012c
+test -n "$x_libraries" && X_LDFLAGS="-L$x_libraries"
05012c
+AC_SUBST(X_LDFLAGS)
05012c
 dnl ###############################################
05012c
 
05012c
 dnl Settung up library version
05012c
--- agg-2.5.orig/src/platform/X11/Makefile.am	2006-12-11 00:59:45.000000000 +0000
05012c
+++ agg-2.5/src/platform/X11/Makefile.am	2007-01-07 14:07:39.000000000 +0000
05012c
@@ -1,8 +1,8 @@
05012c
 if ENABLE_X11
05012c
 lib_LTLIBRARIES = libaggplatformX11.la
05012c
 
05012c
-libaggplatformX11_la_LDFLAGS = -version-info @AGG_LIB_VERSION@  -L@x_libraries@
05012c
+libaggplatformX11_la_LDFLAGS = -version-info @AGG_LIB_VERSION@ @X_LDFLAGS@
05012c
 libaggplatformX11_la_SOURCES = agg_platform_support.cpp
05012c
 libaggplatformX11_la_CXXFLAGS =  -I$(top_srcdir)/include -I@x_includes@
05012c
-libaggplatformX11_la_LIBADD = -lX11
05012c
+libaggplatformX11_la_LIBADD = ../../libagg.la -lX11
05012c
 endif