summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsborrill <sborrill@pkgsrc.org>2017-01-05 12:44:54 +0000
committersborrill <sborrill@pkgsrc.org>2017-01-05 12:44:54 +0000
commit8b0102f71cecfc9bcc138f164142905fc0a7850f (patch)
treeb67c0d23b24f77e10e7fd76cd85b66ee8853f37b
parentb7b80bd57be834d9fe73a6642f5354e5d2020897 (diff)
downloadpkgsrc-8b0102f71cecfc9bcc138f164142905fc0a7850f.tar.gz
Fix build by getting configure not to check for dependencies that will never
be needed.
-rw-r--r--sysutils/xenstoretools/Makefile17
1 files changed, 13 insertions, 4 deletions
diff --git a/sysutils/xenstoretools/Makefile b/sysutils/xenstoretools/Makefile
index c4293435c65..6dce4140916 100644
--- a/sysutils/xenstoretools/Makefile
+++ b/sysutils/xenstoretools/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2017/01/05 08:38:40 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2017/01/05 12:44:54 sborrill Exp $
#
# VERSION is set in xentool46/version.mk
@@ -26,6 +26,18 @@ INSTALL_DIRS= xenstore
INSTALL_MAKE_FLAGS+= XENSTORE_XENSTORED=n
GNU_CONFIGURE= yes
+# configure checks for more components than are required to build the
+# xenstore subdirectory, so provide dummy args to allow it to complete
+# without adding unnecessary dependencies
+CONFIGURE_ARGS+= ac_cv_path_AS86=/dummy
+CONFIGURE_ARGS+= ac_cv_path_LD86=/dummy
+CONFIGURE_ARGS+= ac_cv_path_BCC=/dummy
+CONFIGURE_ARGS+= ac_cv_lib_yajl_yajl_alloc=yes
+CONFIGURE_ARGS+= ac_cv_lib_z_deflateCopy=yes
+CONFIGURE_ARGS+= ac_cv_header_argp_h=yes
+CONFIGURE_ARGS+= ac_cv_lib_argp_argp_usage=yes
+CONFIGURE_ARGS+= pixman_CFLAGS=dummy
+CONFIGURE_ARGS+= pixman_LIBS=/dummy
PKG_SYSCONFSUBDIR= xen
WRKSRC= ${WRKDIR}/xen-${VERSION}/tools
@@ -58,8 +70,5 @@ pre-build:
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../devel/glib2/buildlink3.mk"
-.include "../../devel/yajl/buildlink3.mk"
-.include "../../devel/argp/buildlink3.mk"
-.include "../../x11/pixman/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"