openbsd-ports/devel/pango/patches/patch-examples_Makefile_in

13 lines
810 B
Plaintext

$OpenBSD: patch-examples_Makefile_in,v 1.2 2002/08/09 21:26:43 nino Exp $
--- examples/Makefile.in.orig Thu Aug 1 14:24:05 2002
+++ examples/Makefile.in Fri Aug 9 22:26:55 2002
@@ -508,7 +508,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; \