summaryrefslogtreecommitdiff
path: root/package/heimdal/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-13 00:31:52 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-13 00:31:52 +0100
commit3e9ec766c9b289becc53fba5fc57eb20723eeab7 (patch)
tree265634e99e345211208f28c6a996b22ccfedff4b /package/heimdal/Makefile
parentb6a5c9e0b1ed79e56e7dc8b3a0b2a61856fda576 (diff)
parentd29b7059e0e3dacc3e051c310eabaecabe19a8d2 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/heimdal/Makefile')
-rw-r--r--package/heimdal/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/package/heimdal/Makefile b/package/heimdal/Makefile
index dfe5c0c65..dfffe8523 100644
--- a/package/heimdal/Makefile
+++ b/package/heimdal/Makefile
@@ -70,8 +70,9 @@ endif
TCFLAGS+= -I${STAGING_DIR}/usr/include/et -pthread
-CONFIGURE_ARGS+= ${CONFIGURE_OPTS}
-CONFIGURE_ENV+= ac_cv_func_getaddrinfo_numserv=yes
+CONFIGURE_ARGS+= ${CONFIGURE_OPTS} --with-cross-tools=${STAGING_TOOLS}/bin
+CONFIGURE_ENV+= cross_compiling=yes \
+ ac_cv_func_getaddrinfo_numserv=yes
ifeq ($(ADK_HOST_CYGWIN),y)
EXEEXT:= .exe
@@ -79,17 +80,23 @@ endif
pre-configure:
(cd ${WRKBUILD}; rm -rf config.{cache,status} ; \
- ./configure ${CONFIGURE_OPTS} \
+ ./configure --prefix=$(STAGING_TOOLS) \
+ --disable-pk-init \
+ --without-openldap \
+ --disable-otp \
);
+ ${MAKE} -C ${WRKBUILD}/include
${MAKE} -C ${WRKBUILD}/lib/roken
${MAKE} -C ${WRKBUILD}/lib/vers
${MAKE} -C ${WRKBUILD}/lib/editline
${MAKE} -C ${WRKBUILD}/lib/asn1 asn1_compile$(EXEEXT)
${MAKE} -C ${WRKBUILD}/lib/sl slc$(EXEEXT)
- ${INSTALL_BIN} ${WRKBUILD}/lib/asn1/asn1_compile$(EXEEXT) \
+ ${INSTALL_BIN} ${WRKBUILD}/lib/roken/make-roken$(EXEEXT) \
${STAGING_TOOLS}/bin
${INSTALL_BIN} ${WRKBUILD}/lib/sl/slc$(EXEEXT) \
${STAGING_TOOLS}/bin
+ ${MAKE} -C ${WRKBUILD}/lib/roken install
+ ${MAKE} -C ${WRKBUILD}/lib/asn1 install
${MAKE} -C ${WRKBUILD}/lib/asn1 clean
${MAKE} -C ${WRKBUILD}/lib/roken clean
${MAKE} -C ${WRKBUILD} clean