Lines 31-37
Link Here
|
31 |
src_compile() { |
31 |
src_compile() { |
32 |
LDFLAGS=-L/usr/lib/postgresql econf --with-pgsql-include=/usr/include/postgresql || die |
32 |
LDFLAGS=-L/usr/lib/postgresql econf --with-pgsql-include=/usr/include/postgresql || die |
33 |
cd ${S}/src |
33 |
cd ${S}/src |
34 |
sed -i -e "s:^\(LIBS\).*:\1 = -lssl -lcrypto -lpq -lwx_gtk2-2.4 -lwx_gtk2_xrc-2.4 -lwx_gtk2_stc-2.4:" Makefile |
34 |
|
|
|
35 |
# 2005-03-03 -- Fix include paths if using GTK2 or not -- Bug#78902 |
36 |
if use gtk2; then |
37 |
sed -i -e "s:^\(LIBS\).*:\1 = -lssl -lcrypto -lpq -lwx_gtk2-2.4 -lwx_gtk2_xrc-2.4 -lwx_gtk2_stc-2.4:" Makefile |
38 |
else |
39 |
sed -i -e "s:^\(LIBS\).*:\1 = -lssl -lcrypto -lpq -lwx_gtk-2.4 -lwx_gtk_xrc-2.4 -lwx_gtk_stc-2.4:" Makefile |
40 |
fi |
35 |
|
41 |
|
36 |
cd ${S} |
42 |
cd ${S} |
37 |
emake || die |
43 |
emake || die |