tag 355824 patch thanks The attached patch implements Ross's suggestion, making freebirth use pkg-config to determine CFLAGS and LDFLAGS, which fixes the build.
-- Matt
diff -ru freebirth-0.3.2-orig/debian/rules freebirth-0.3.2/debian/rules --- freebirth-0.3.2-orig/debian/rules 2006-04-06 13:33:56.000000000 -0700 +++ freebirth-0.3.2/debian/rules 2006-04-06 13:52:11.000000000 -0700 @@ -5,7 +5,8 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -CFLAGS=-g -O2 -Wall -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -DXTHREADS -I/usr/X11R6/include -I/usr/include/atk-1.0 +CFLAGS=-g -O2 -Wall $(shell pkg-config --cflags gtk+-2.0) +LDFLAGS=$(shell pkg-config --libs gtk+-2.0) # Handle DEB_BUILD_OPTIONS ifneq "$(findstring debug,$(DEB_BUILD_OPTIONS))" "" @@ -24,7 +25,7 @@ dh_testdir # Add here commands to compile the package. - $(MAKE) CFLAGS="$(CFLAGS)" + $(MAKE) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" /usr/bin/docbook-to-man debian/freebirth.sgml > debian/freebirth.1 touch build-stamp
signature.asc
Description: Digital signature