Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 317905 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-4 / +6 lines)
Line  Link Here
0
-- jb
0
++ jb
Lines 89-98 Link Here
89
89
90
		mkdir -p build/jbsrc || exit 1
90
		mkdir -p build/jbsrc || exit 1
91
91
92
		if ! gobject_cflags_libs=`pkg-config --cflags --libs 'gobject-2.0 >= 2.8.0' 2>/dev/null`; then
92
		if ! gobject_cflags=`pkg-config --cflags 'gobject-2.0 >= 2.8.0' 2>/dev/null`; then
93
			echo "ERROR: the GLib library was not found" >&2
93
			echo "ERROR: the GLib library was not found" >&2
94
			exit 1
94
			exit 1
95
		fi
95
		fi
96
		gobject_libs=`pkg-config --libs 'gobject-2.0 >= 2.8.0' 2>/dev/null`
96
97
97
		sed -e 's|^#jb_include ["<]\(.*\)[">]|#include "\1.h"|' \
98
		sed -e 's|^#jb_include ["<]\(.*\)[">]|#include "\1.h"|' \
98
			jbsrc/jb.c > build/jbsrc/jb.c || exit 1
99
			jbsrc/jb.c > build/jbsrc/jb.c || exit 1
Lines 103-116 Link Here
103
			-DG_LOG_DOMAIN="\"jb\"" \
104
			-DG_LOG_DOMAIN="\"jb\"" \
104
			-DJB_SOURCES="\"$jb_c_sources $jb_h_sources\"" \
105
			-DJB_SOURCES="\"$jb_c_sources $jb_h_sources\"" \
105
			-DJB_PACKAGE_SOURCES="\"$jb_c_package_sources $jb_h_package_sources\"" \
106
			-DJB_PACKAGE_SOURCES="\"$jb_c_package_sources $jb_h_package_sources\"" \
106
			$gobject_cflags_libs \
107
			$gobject_cflags \
107
			$jb_cflags \
108
			$jb_cflags \
108
			$jb_cppflags \
109
			$jb_cppflags \
109
			$jb_ldflags \
110
			$jb_ldflags \
110
			build/jbsrc/jb.c \
111
			build/jbsrc/jb.c \
111
			$jb_c_sources \
112
			$jb_c_sources \
112
			$jb_c_package_sources \
113
			$jb_c_package_sources \
113
			$jb_libs; then
114
			$jb_libs \
115
			$gobject_libs; then
114
			echo "ERROR: cannot build jb" >&2
116
			echo "ERROR: cannot build jb" >&2
115
			exit 1
117
			exit 1
116
		fi
118
		fi

Return to bug 317905