--- pgadmin3-1.0.2.ebuild 2005-03-03 13:23:14.194409152 -0500 +++ pgadmin3-1.0.2.new.ebuild 2005-03-03 13:25:35.816879264 -0500 @@ -31,7 +31,13 @@ src_compile() { LDFLAGS=-L/usr/lib/postgresql econf --with-pgsql-include=/usr/include/postgresql || die cd ${S}/src - sed -i -e "s:^\(LIBS\).*:\1 = -lssl -lcrypto -lpq -lwx_gtk2-2.4 -lwx_gtk2_xrc-2.4 -lwx_gtk2_stc-2.4:" Makefile + + # 2005-03-03 -- Fix include paths if using GTK2 or not -- Bug#78902 + if use gtk2; then + sed -i -e "s:^\(LIBS\).*:\1 = -lssl -lcrypto -lpq -lwx_gtk2-2.4 -lwx_gtk2_xrc-2.4 -lwx_gtk2_stc-2.4:" Makefile + else + sed -i -e "s:^\(LIBS\).*:\1 = -lssl -lcrypto -lpq -lwx_gtk-2.4 -lwx_gtk_xrc-2.4 -lwx_gtk_stc-2.4:" Makefile + fi cd ${S} emake || die