Fix installation of packages in the chroot due to previous
changes. --HG-- extra : convert_revision : xtraeme%40gmail.com-20090818175825-sazm2dea97y4m0ky
This commit is contained in:
@@ -4,6 +4,8 @@ CONF_FILE = xbps-src.conf
|
||||
|
||||
.PHONY: all
|
||||
all:
|
||||
sed -e "s|@@XBPS_INSTALL_PREFIX@@|$(PREFIX)|g" \
|
||||
$(CONF_FILE) > $(CONF_FILE).new
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
@@ -13,6 +15,7 @@ install:
|
||||
install -d $(DESTDIR)$(ETCDIR); \
|
||||
fi
|
||||
|
||||
if [ ! -f $(DESTDIR)$(ETCDIR)/$(CONF_FILE) ]; then \
|
||||
install -m 644 $(CONF_FILE) $(DESTDIR)$(ETCDIR); \
|
||||
if [ ! -f $(DESTDIR)$(ETCDIR)/$(CONF_FILE) ]; then \
|
||||
install -m 644 $(CONF_FILE).new \
|
||||
$(DESTDIR)$(ETCDIR)/$(CONF_FILE); \
|
||||
fi
|
||||
|
@@ -2,6 +2,11 @@
|
||||
# Configuration file for xbps-src.
|
||||
#
|
||||
|
||||
#
|
||||
# Directory where XBPS has been installed. By default /usr/local.
|
||||
#
|
||||
XBPS_INSTALLDIR=@@XBPS_INSTALL_PREFIX@@
|
||||
|
||||
#
|
||||
# Global directory where the xbps distribution files are stored.
|
||||
# Templates, patches and helper files should all be in that directory.
|
||||
|
Reference in New Issue
Block a user