From owner-cvs-all Sun Nov 19 18:17:40 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DECF837B479; Sun, 19 Nov 2000 18:17:35 -0800 (PST) Received: (from marcel@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA43924; Sun, 19 Nov 2000 18:17:35 -0800 (PST) (envelope-from marcel@FreeBSD.org) Message-Id: <200011200217.SAA43924@freefall.freebsd.org> From: Marcel Moolenaar Date: Sun, 19 Nov 2000 18:17:35 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src Makefile.inc1 src/gnu/usr.bin/perl Makefile Makefile.inc src/gnu/usr.bin/perl/library Makefile.inc src/gnu/usr.bin/perl/miniperl Makefile src/gnu/usr.bin/perl/pod Makefile.inc src/gnu/usr.bin/perl/utils Makefile.inc ... X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG marcel 2000/11/19 18:17:35 PST Modified files: . Makefile.inc1 gnu/usr.bin/perl Makefile Makefile.inc gnu/usr.bin/perl/library Makefile.inc gnu/usr.bin/perl/miniperl Makefile gnu/usr.bin/perl/pod Makefile.inc gnu/usr.bin/perl/utils Makefile.inc gnu/usr.bin/perl/x2p Makefile.inc Log: Fix cross-building. o Move building libperl and miniperl from build-tools to cross-tools. libperl uses MACHINE_ARCH to determine the right configuration, which doesn't match the build machine when cross-building if they are built as build- tools. o Since miniperl needs to be built as a cross-tool, it needs to be installed under /usr/obj so that it can be used (cross-tools have a special object directory to avoid build conflicts. As a downside, you can't easily run cross-tools from their object directory). Remove the install and distribute override targets. To avoid having miniperl installed by installworld, remove it from SUBDIR. o We can't pickup miniperl from the object directory but since it's installed, depend on PATH. This is save, because the makefiles are run with a known path. o Build libperl again as part of the library target. A _libperl variable existed, but it was never defined. o Add chmod to the list of saved tools, because perl conditionally uses it during install. The bootstrap-tools and cross-tools targets are modified to avoid building profiled and shared libraries. While here, have these targets build static binaries instead of shared binaries. Approved by: markm Revision Changes Path 1.176 +18 -13 src/Makefile.inc1 1.13 +2 -6 src/gnu/usr.bin/perl/Makefile 1.19 +2 -2 src/gnu/usr.bin/perl/Makefile.inc 1.6 +2 -2 src/gnu/usr.bin/perl/library/Makefile.inc 1.17 +1 -3 src/gnu/usr.bin/perl/miniperl/Makefile 1.4 +2 -2 src/gnu/usr.bin/perl/pod/Makefile.inc 1.6 +2 -2 src/gnu/usr.bin/perl/utils/Makefile.inc 1.7 +2 -2 src/gnu/usr.bin/perl/x2p/Makefile.inc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message