summaryrefslogtreecommitdiffstats
path: root/perl-install/Makefile.config
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/Makefile.config')
-rw-r--r--perl-install/Makefile.config7
1 files changed, 4 insertions, 3 deletions
diff --git a/perl-install/Makefile.config b/perl-install/Makefile.config
index de17135c8..d32328662 100644
--- a/perl-install/Makefile.config
+++ b/perl-install/Makefile.config
@@ -1,3 +1,6 @@
+ARCH := $(patsubst i%86,i386,$(shell uname -m))
+ARCH := $(patsubst sparc%,sparc,$(ARCH))
+
VERSION = 2.2.10-BOOT
SUDO = sudo
SO_FILES = c/blib/arch/auto/c/c.so
@@ -11,10 +14,8 @@ STAGE2 = $(ROOTDEST)/Mandrake/base/mdkinst_stage2
BASE = $(ROOTDEST)/Mandrake/base
DESTREP4PMS = $(DEST)$(REP4PMS)
PERL = perl
-LOCALFILES = $(patsubst %, ../tools/%,e2fsck.shared ddcprobe/ddcxinfos pnp_serial/pnp_serial xhost+ extract_archive)
+LOCALFILES = $(patsubst %, ../tools/%,$(ARCH)/e2fsck.shared ddcprobe/ddcxinfos pnp_serial/pnp_serial xhost+ extract_archive)
DIRS = c Newt pci_probing resize_fat #po
CFLAGS = -Wall
override CFLAGS += -pipe
-ARCH := $(patsubst i%86,i386,$(shell uname -m))
-ARCH := $(patsubst sparc%,sparc,$(ARCH))