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

31 lines
1.2 KiB
Plaintext

$OpenBSD: patch-g-wrap_Makefile_in,v 1.2 2005/03/31 23:38:26 alek Exp $
--- g-wrap/Makefile.in.orig Fri Nov 8 05:40:46 2002
+++ g-wrap/Makefile.in Thu Mar 31 00:23:50 2005
@@ -197,7 +197,7 @@ lib_LTLIBRARIES = \
#AM_CFLAGS = -O2 -g -Wall -Wno-uninitialized -Werror
-AM_CFLAGS = -O2 -g -Wall -Werror \
+AM_CFLAGS = -O2 -Wall \
${GW_GLIB_CFLAGS_ADD} \
${GW_GUILE_GTK_CFLAGS_ADD}
@@ -214,7 +214,7 @@ libgwrap_wct_la_LIBADD = @GUILE_LIBS@
################## (g-wrap gw-wct) section
nodist_libgw_wct_la_SOURCES = gw-wct.c
-libgw_wct_la_LDFLAGS = -rpath $(libdir) -module -export-dynamic @GUILE_LIBS@
+libgw_wct_la_LDFLAGS = -rpath $(libdir) -L${DESTDIR}${prefix}/lib -module -export-dynamic @GUILE_LIBS@
libgw_wct_la_LIBADD = libgwrap-wct.la
test_link_gw_wct_SOURCES = dummy-main.c
test_link_gw_wct_LDADD = ./libgw-wct.la
@@ -222,7 +222,7 @@ test_link_gw_wct_LDADD = ./libgw-wct.la
################## From ../g-wrapped
LOCALPWD = $(shell pwd)
-SETGWPPATH = "(set! %load-path (cons \"${LOCALPWD}/..\" %load-path))"
+SETGWPPATH = "(set! %load-path (cons \"${LOCALPWD}/..\" %load-path)) (set! %load-path (cons \"${prefix}/share\" %load-path))"
################## (g-wrap gw-standard) section