build fix (use DISTRCONF at all)

This commit is contained in:
Anton Farygin 2004-04-09 18:21:32 +00:00
parent 0eb5eadc4e
commit 561733261d
2 changed files with 3 additions and 2 deletions

View File

@ -39,7 +39,6 @@
top_dir = .
include $(top_dir)/Makefile.common
include $(TOP)/config
VERSION = $(CFGversion)
@ -164,7 +163,7 @@ unpack:
rm -rf $(top_dir)/$(TMP_PKG)
mkdir $(top_dir)/$(TMP_PKG)
pushd $(top_dir)/$(TMP_PKG); \
for f in `cat $(top_dir)/../REQ`; do \
for f in `cat $(top_dir)/../req`; do \
rpm2cpio $(CFGrepo)/$$f-*.rpm | cpio -id; \
done

View File

@ -14,6 +14,8 @@
#
#*****************************************************************************
include $(DISTRCONF)
ARCH := $(patsubst i%86,i386,$(shell uname -m))
ARCH := $(patsubst sparc%,sparc,$(ARCH))