openbsd-ports/devel/g-wrap/patches/patch-test_Makefile_in
2005-03-31 23:38:26 +00:00

30 lines
1.3 KiB
Plaintext

$OpenBSD: patch-test_Makefile_in,v 1.2 2005/03/31 23:38:26 alek Exp $
--- test/Makefile.in.orig Fri Nov 8 05:40:48 2002
+++ test/Makefile.in Thu Mar 31 00:22:30 2005
@@ -209,7 +209,7 @@ test_link_wct_LDADD = ../g-wrap/libgw-wc
# ===========================================================================
-AM_CFLAGS = -O2 -Wall -Wno-uninitialized -Werror -g \
+AM_CFLAGS = -O2 -Wall -Wno-uninitialized \
-I ${top_srcdir}/g-wrap \
${GW_GLIB_CFLAGS_ADD} \
${GW_GUILE_GTK_CFLAGS_ADD}
@@ -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)) \