summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2018-07-15 18:19:44 +0900
committerAkinori Hattori <hattya@gentoo.org>2018-07-15 18:19:44 +0900
commit2cc4953f436b02eab1f096d6fbf5fc798e14537d (patch)
treea562cffeda7c5d2282bf81fca7cd993ee136408e /dev-scheme/gauche-qdbm
parentdev-scheme/gauche-qdbm: update patches (diff)
downloadgentoo-2cc4953f436b02eab1f096d6fbf5fc798e14537d.tar.gz
gentoo-2cc4953f436b02eab1f096d6fbf5fc798e14537d.tar.bz2
gentoo-2cc4953f436b02eab1f096d6fbf5fc798e14537d.zip
dev-scheme/gauche-qdbm: respect CFLAGS/LDFLAGS
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-scheme/gauche-qdbm')
-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 74e522e3ad73..5c5b0bc5a3f0 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