diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-09-26 08:12:29 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-09-28 23:14:47 +0200 |
commit | d6a9072d0d9e99de43bd5883227d8204f5736d84 (patch) | |
tree | 33d178d01e113326694cad24e79b9c844a5f59dd | |
parent | ec935b458f0c3cebfc0cd8522d82513bfa455fc8 (diff) |
fix w3m compile
-rw-r--r-- | package/libgc/Makefile | 4 | ||||
-rw-r--r-- | package/w3m/Makefile | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/package/libgc/Makefile b/package/libgc/Makefile index dc3d6d8f9..0a9aa490e 100644 --- a/package/libgc/Makefile +++ b/package/libgc/Makefile @@ -10,7 +10,7 @@ PKG_MD5SUM:= f40d9a47c90d60791eeecb484f8df5ee PKG_DESCR:= garbage collector library PKG_SECTION:= libs/misc PKG_BUILDDEP:= libatomic_ops -HOST_BUILDDEP:= libatomic_ops-host +HOST_BUILDDEP:= libatomic_ops-host libgc-host PKG_URL:= http://www.hboehm.info/gc/ PKG_SITES:= http://www.hboehm.info/gc/gc_source/ PKG_OPTS:= dev @@ -24,6 +24,8 @@ include $(ADK_TOPDIR)/mk/package.mk $(eval $(call HOST_template,LIBGC,libgc,$(PKG_VERSION)-${PKG_RELEASE})) $(eval $(call PKG_template,LIBGC,libgc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) +TARGET_CPPFLAGS+= -DNO_GETCONTEXT + libgc-install: $(INSTALL_DIR) $(IDIR_LIBGC)/usr/lib $(CP) $(WRKINST)/usr/lib/libgc*.so* \ diff --git a/package/w3m/Makefile b/package/w3m/Makefile index 2eaf0d9c4..9f5f7c942 100644 --- a/package/w3m/Makefile +++ b/package/w3m/Makefile @@ -10,7 +10,7 @@ PKG_MD5SUM:= 1b845a983a50b8dec0169ac48479eacc PKG_DESCR:= console web browser PKG_SECTION:= app/browser PKG_DEPENDS:= libgc libncurses -PKG_BUILDDEP:= libgc-host libgc ncurses +PKG_BUILDDEP:= libgc ncurses PKG_URL:= http://w3m.sourceforge.net/ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=w3m/} @@ -23,6 +23,7 @@ $(eval $(call PKG_template,W3M,w3m,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS}, TARGET_LDFLAGS+= -lncurses -ltinfo CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes CONFIGURE_ARGS+= --with-termlib=ncurses \ + --with-gc=${STAGING_TARGET_DIR}/usr \ --enable-image=no w3m-install: |