openbsd-ports/devel/pango/patches/patch-examples_Makefile_in
marcm 9ab02dd5bb Fix the cause, not the symptom. The essentially reverts my last diff
and does it right.  Gives pango a fighting chance on static arches.
Requires a fix to XFree86 as well, but that's in the works.
2003-08-13 16:57:51 +00:00

13 lines
811 B
Plaintext

$OpenBSD: patch-examples_Makefile_in,v 1.7 2003/08/13 16:57:51 marcm Exp $
--- examples/Makefile.in.orig Sun Jun 8 21:41:51 2003
+++ examples/Makefile.in Thu Jun 19 09:18:58 2003
@@ -527,7 +527,7 @@ pango.modules:
if find ../modules -name '*.so' | grep 'so' > /dev/null ; then \
echo "Writing a pango.modules file to use when running examples before installing Pango."; \
(cd ../modules && \
- ../pango/pango-querymodules `find . -name '*.la' | grep -v \.libs` > ../examples/pango.modules ) ;\
+ LD_LIBRARY_PATH=../pango/.libs ../pango/pango-querymodules `find . -name '*.so' | grep -v \.libs` > ../examples/pango.modules ) ;\
else \
echo "No dynamic modules found; will use only static modules for uninstalled example programs."; \
touch pango.modules; \