pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/xenstoretools Fix build by getting configure ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9e00cec3b8f1
branches:  trunk
changeset: 356835:9e00cec3b8f1
user:      sborrill <sborrill%pkgsrc.org@localhost>
date:      Thu Jan 05 12:44:54 2017 +0000

description:
Fix build by getting configure not to check for dependencies that will never
be needed.

diffstat:

 sysutils/xenstoretools/Makefile |  17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r 2df520a67ed9 -r 9e00cec3b8f1 sysutils/xenstoretools/Makefile
--- a/sysutils/xenstoretools/Makefile   Thu Jan 05 12:38:30 2017 +0000
+++ b/sysutils/xenstoretools/Makefile   Thu Jan 05 12:44:54 2017 +0000
@@ -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_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 @@
 .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"



Home | Main Index | Thread Index | Old Index