From 74b3cb0e64b1a58d7cf9d96f0ad65baa262ce2e4 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 23 Aug 2014 09:06:46 +0200 Subject: [PATCH] Only build/install xbps-uchroot(8) on linux. --- NEWS | 3 +++ bin/Makefile | 5 ++++- configure | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 94ac35fc..afea5829 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,8 @@ xbps-0.38 (???): + * xbps-uchroot(8) is now only built on linux, because it's not portable to other + Operating Systems. + * Added support to replace virtual packages when the package to be installed matches a virtual pkgname, for example: diff --git a/bin/Makefile b/bin/Makefile index e4915a6d..e51be558 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -9,7 +9,10 @@ SUBDIRS += xbps-reconfigure SUBDIRS += xbps-remove SUBDIRS += xbps-rindex SUBDIRS += xbps-uhelper -SUBDIRS += xbps-uchroot SUBDIRS += xbps-checkvers +ifeq (${XBPS_OS},linux) +SUBDIRS += xbps-uchroot +endif + include ../mk/subdir.mk diff --git a/configure b/configure index 38865792..22affaf5 100755 --- a/configure +++ b/configure @@ -140,6 +140,7 @@ echo "Configuring xbps for ... $OS" rm -f $CONFIG_MK echo "# Common vars used by XBPS on $OS." >$CONFIG_MK +echo "XBPS_OS = $OS" >>$CONFIG_MK echo "VERSION = $VERSION" >>$CONFIG_MK echo "TOPDIR ?= $TOPDIR" >>$CONFIG_MK echo "PREFIX ?= $PREFIX" >>$CONFIG_MK