$OpenBSD: patch-test_Makefile_in,v 1.1.1.1 2005/02/24 01:42:47 todd Exp $
--- test/Makefile.in.orig	Thu Nov  7 22:40:48 2002
+++ test/Makefile.in	Thu Mar 27 09:47:57 2003
@@ -696,6 +696,7 @@ gw-test-enumeration.scm gw-test-enumerat
 
 #           (read-enable 'positions) \
 #
+GW_SLIB_DIR="(set! %load-path (cons \"${prefix}/share\" %load-path))"
 
 gw-test-parent.scm gw-test-parent.h gw-test-parent.c gw-test-parent.html gw-test-parent-autogen.h: gw-test-parent-spec.scm
 	LD_LIBRARY_PATH=${LOCALPWD}/..:${LOCALPWD}/..:${LD_LIBRARY_PATH} \
@@ -729,7 +730,7 @@ gw-test-glib.scm gw-test-glib.h gw-test-
 
 test-gw-gtkobj.scm test-gw-gtkobj.h test-gw-gtkobj.c test-gw-gtkobj.html test-gw-gtkobj-autogen.h: test-gw-gtkobj-spec.scm
 	LD_LIBRARY_PATH=${LOCALPWD}/..:${LOCALPWD}/..: \
-        guile -c \
+        guile -c ${GW_SLIB_DIR} \
           "(set! %load-path (cons \"${G_WRAP_MODULE_DIR}\" %load-path)) \
            (set! %load-path (cons \".\" %load-path)) \
            (use-modules (g-wrap)) \
