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