summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-scheme/gauche-qdbm/files/gauche-qdbm-gauche-package.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-scheme/gauche-qdbm/files/gauche-qdbm-gauche-package.patch b/dev-scheme/gauche-qdbm/files/gauche-qdbm-gauche-package.patch
index 74e522e3ad7..5c5b0bc5a3f 100644
--- a/dev-scheme/gauche-qdbm/files/gauche-qdbm-gauche-package.patch
+++ b/dev-scheme/gauche-qdbm/files/gauche-qdbm-gauche-package.patch
@@ -18,7 +18,9 @@
-GOSH = @GOSH@
-GAUCHE_CONFIG = @GAUCHE_CONFIG@
+DESTDIR =
++CFLAGS = @CFLAGS@
+CPPFLAGS = @CPPFLAGS@ # AC_LIB_LINKFLAGS adds to this..
++LDFLAGS = @LDFLAGS@
+GOSH = "@GOSH@"
+GAUCHE_CONFIG = "@GAUCHE_CONFIG@"
+GAUCHE_PACKAGE = "@GAUCHE_PACKAGE@"
@@ -79,9 +81,7 @@
-$(MODULE)_head.c $(MODULE)_tail.c :
- $(GAUCHE_CONFIG) --fixup-extension $(MODULE)
+$(PACKAGE).$(SOEXT): $(qdbm_SRCS)
-+ $(GAUCHE_PACKAGE) compile --verbose \
-+ --libs="$(qdbm_LIBS)" --cppflags="$(CPPFLAGS)" \
-+ $(PACKAGE) $(qdbm_SRCS)
++ $(GAUCHE_PACKAGE) compile --verbose --cppflags="$(CPPFLAGS)" --cflags="$(CFLAGS)" --ldflags="$(LDFLAGS)" --libs="$(qdbm_LIBS)" $(PACKAGE) $(qdbm_SRCS)
check : all
@rm -f test.log