aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/x2p
Commit message (Collapse)AuthorAgeFilesLines
* Remove the perl build. Farewell, old friend.Mark Murray2002-05-165-77/+0
| | | | Notes: svn path=/head/; revision=96722
* Nice set of fixes to use SCRIPT instead of PROG, thus fixing upMark Murray2002-02-103-27/+20
| | | | | | | | | | a lot of nasty STRIP= problems. This has the added side effect if neatening up some leaf makefiles very nicely. Submitted by: ru Notes: svn path=/head/; revision=90479
* Fix cross-building, etc:Ruslan Ermilov2001-09-291-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. To cross-build, one now needs to set TARGET_ARCH, and not the MACHINE_ARCH. MACHINE_ARCH should never be changed manually! 2. Initialize DESTDIR= explicitly for bootstrap-tools, build-tools, and cross-tools stages. This fixes broken header and library dependencies problem. We build them in the host environment, and obviously want them to depend on host headers and libraries. The problem with broken header dependencies for bootstrap-tools and cross-tools was already partially solved (see BOOTSTRAPPING tests in bsd.prog.mk and bsd.lib.mk), but it was still there for build-tools if the user ran "make world DESTDIR=/foo". Also, for all of these stages, the library dependencies were broken because of how bsd.libnames.mk define DPADD members. We still provide a glue to install bootstrap- and cross-tools under the ${WORLDTMP}. Removed PATH overrides for bootstrap-, build-, and cross-tools stages. There is just no reason why we would need to override it, and the hacks to clean up the ${WORLDTMP} in the -DNOCLEAN case are no longer needed with fixes from this step. That is, we now never use ${WORLDTMP} headers and libraries, and we don't use any ${WORLDTMP} installed binaries during these stages. Again, these stages depend solely on the host environment, including compiler, headers, and libraries. 3. Moved "miniperl" back from cross-tools (it has nothing to do with a cross-compiler) to build-tools where it belongs. The change from step 1 let to do this. Also, to make this work, build-tools targets of "cc_tools" and "miniperl" were modified to call "depend". Here follow the detailed explanations. There are two categories of build tools, for now. In the first category there are "cc_tools" and "miniperl". They occupy the whole (sub)directory, and nothing needs to be done in this subdirectory later during the "all" stage. They are also constructed using system makefiles. We must build the .depend early in the build-tools stage because: 1) They use (and depend on) the host environment. 2) If we don't do this in build-tools, the "depend" stage of buildworld will do this for us; wrong library and header dependencies will be recorded (DESTDIR=${WORLDTMP}) and, what's worse, the "all" stage may then clobber the build-architecture format tools (that we built in the build-tools stage) with the target-architecture format ones, breaking cross build. In the second category there are all other build-tools. They share their directory with the "main" module that needs them in the "all" stage, and they don't show up themselves in the .depend file. The portion of this fix was already committed in gnu/usr.bin/cc/cc_tools/Makefile,v 1.52. 4. "libperl" is no longer a build tool, and "miniperl" is the stand-alone application. I had to make this change because build-tools and "all" stages share the same object directory. Without this change, if we cross compile, libperl.a is first built for the build architecture during the build-tools stage (for the purposes of immediate linkage with "miniperl"). Later on, the "all" stage sees this library as up-to-date, and doesn't rebuild it. The effect is that the wrong format static libperl library is installed with installworld. 5. Fixed "includes" to install secure/lib/libtelnet headers if required. Reviewed by: bde Notes: svn path=/head/; revision=84136
* Fix cross-building.Marcel Moolenaar2000-11-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=68927
* Fix the upgrade-build case.Mark Murray2000-06-274-5/+8
| | | | Notes: svn path=/head/; revision=62161
* Revert the libcrypt/libmd stuff back to how it was. This should not havePeter Wemm1999-12-181-1/+1
| | | | | | | | | | | happened as it was working around problems elsewhere (ie: binutils/ld not doing the right thing according to the ELF design). libcrypt has been adjusted to not need the runtime -lmd. It's still not quite right (ld is supposed to work damnit) but at least it doesn't impact all the users of libcrypt in Marcel's cross-build model. Notes: svn path=/head/; revision=54782
* Add libmd to LDFLAGS. libmd is needed by libcrypt.Marcel Moolenaar1999-12-161-1/+1
| | | | Notes: svn path=/head/; revision=54680
* Rename a macro; it gets set at "make world" time, and I had a localMark Murray1999-09-251-1/+1
| | | | | | | mod that masked this. D'uh. Notes: svn path=/head/; revision=51643
* Low-level, but significant cleanup of Perl's build process.Mark Murray1999-09-242-29/+8
| | | | | | | This should significantly ease "make; make install" loops. Notes: svn path=/head/; revision=51629
* Allow perl to be built with thread support.Mark Murray1999-09-041-2/+16
| | | | | | | Submitted by: Doug Ambrisko <ambrisko@whistle.com> Notes: svn path=/head/; revision=50882
* $Id$ -> $FreeBSD$Peter Wemm1999-08-275-5/+5
| | | | Notes: svn path=/head/; revision=50472
* Big cleanup of the perl build.Mark Murray1998-09-221-3/+3
| | | | | | | | | | | | | | | | 1) Inspired by JB's finding of a hardcoded /usr/bin/ranlib in the config files, these have been properly cleaned up and have been personalised for FreeBSD, not MarkM. 2) Inspired by Peter, copying of the lib/ext etc dirs has been replaced by a link farm. 3) Common code has been moved to a higher-level Makefile.inc. This has been tested with a make -j8. Notes: svn path=/head/; revision=39561
* Generalise the build a bit more.Mark Murray1998-09-161-2/+2
| | | | | | | | | | | | | | 1) Fix up the NOSHARED stuff (bde) 2) Accomodate CFLAGS (vanilla) 3) Provide separate files for i386 and alpha (Doug Rabson) In case 3, the supplied files were corrupted, but the concepts sound enough, so I just copied what exists into config.SH-{elf|aout}.{i386|alpha}. Alpha team, go ahead and do what is necessary on config.SH-elf.alpha. :-) Notes: svn path=/head/; revision=39367
* Allow libperl to be a shared library.Mark Murray1998-09-121-1/+1
| | | | | | | | | This has the delightful side effect of fixing ELF .so objects. Asked-for-by: peter Notes: svn path=/head/; revision=39109
* Fix parallel building.Mark Murray1998-09-121-7/+8
| | | | | | | | | | | | (Tested by make -j12 buildworld on a 4-cpu SMP box). Address (but not solve) ELF shareable objects causing perl to dump core. (I have a heck of a lot to learn about ELF). Lots of help by: bde, jkh, jb and others Notes: svn path=/head/; revision=39100
* Dorkus sum. I managed to commit an earlier version of this. This fixes theMark Murray1998-09-104-6/+6
| | | | | | | | | | | | | broken perl build. * NOTE * * NOTE * * NOTE * PERL5 RELIES IN A MAKE WORLD FOR THE BOOTSTRAP!! * NOTE * * NOTE * * NOTE * Notes: svn path=/head/; revision=39044
* Bring in the Perl5 BMake files. This ends the easy stuff.Mark Murray1998-09-095-0/+88
| | | | | | | I'll be doiung the rest in stages. Notes: svn path=/head/; revision=38983
* Old Perl is leaving us. Goodbye, faithful friend.Mark Murray1998-09-0920-7386/+0
| | | | Notes: svn path=/head/; revision=38979
* Use the installed version of perl for `make install'. It is nowBruce Evans1998-07-071-11/+3
| | | | | | | | bootstrapped by `make world'. The version just built in ".." normally won't work if the target system is not binary compatible. Notes: svn path=/head/; revision=37485
* Allow the makefile to choose the perl executable to run h2ph ratherJohn Birrell1998-05-121-2/+11
| | | | | | | than relying on the #!/usr/bin/perl in the first line of the script. Notes: svn path=/head/; revision=35986
* Don't generate a2p.h or y.tab.h from a2p.y. Neither is actually used,Bruce Evans1998-05-051-1/+2
| | | | | | | | and building a2p.h clobbered the unrelated source file a2p.h if ${.OBJDIR} == ${.CURDIR}. Notes: svn path=/head/; revision=35732
* Fixed races in `make -jN' using new yacc rules.Bruce Evans1998-05-041-2/+2
| | | | Notes: svn path=/head/; revision=35708
* Build perl header files for machine/* too.Steve Price1998-02-211-1/+1
| | | | | | | | PR: 672 Submitted by: Jun Kuriyama <kuriyama@opt.phys.waseda.ac.jp> Notes: svn path=/head/; revision=33704
* Remove bogus redeclaration of setenv().Jordan K. Hubbard1997-01-071-2/+4
| | | | | | | Fixes make world failure #3 for today (part of an ongoing series). Notes: svn path=/head/; revision=21392
* Remove a couple of private malloc() implementations, one of whichPoul-Henning Kamp1996-12-231-516/+0
| | | | | | | was unused afterall. Notes: svn path=/head/; revision=20877
* Grab h2ph from /usr/bin, not /usr/local/bin!Paul Traina1996-09-171-1/+1
| | | | Notes: svn path=/head/; revision=18328
* recording cvs-1.6 file deathPeter Wemm1995-12-301-2715/+0
| | | | Notes: svn path=/cvs2svn/branches/ATT/; revision=13122
* Change `install' to `${INSTALL}' so that default install flags can beBruce Evans1995-07-251-2/+2
| | | | | | | specified in the top level Makefiles. Notes: svn path=/head/; revision=9701
* Remove trailing whitespace.Rodney W. Grimes1995-05-3014-65/+104
| | | | Notes: svn path=/head/; revision=8858
* Export ${DESTDIR} to h2ph so that the *.ph files end up in the DESTDIRRodney W. Grimes1995-02-141-1/+1
| | | | | | | directories instead of /usr/share/perl. Notes: svn path=/head/; revision=6393
* Fix to h2ph "undefined function" bugUgen J.S. Antsilevich1995-02-031-6/+14
| | | | | | | | | | i reported today earlier..tested and works OK.. ( To those who want to experience bug try running aub with old version of socket.ph and with new one or just any perl script "requiring " <sys/socket.ph> or <sys/cdefs.ph> ) Notes: svn path=/head/; revision=6153
* Add usr/share/perl/sys to mtree file, remove private mkdir from Makefile.Rodney W. Grimes1995-01-031-1/+0
| | | | Notes: svn path=/head/; revision=5349
* Add the files y.tab.h and a2p.c that get automatically generated toAndreas Schulz1994-11-281-0/+1
| | | | | | | | the CLEANFILES target. Remove the file a2p.c from the source tree, this get generated anew from a2p.y. Notes: svn path=/head/; revision=4851
* Test test test! sigh!Paul Traina1994-10-295-222/+18
| | | | | | | | | | | | | Perl's scripts are still trying to execute perl out of /usr/gnu/bin/perl. The hack Larry was using for h2ph.1 doesn't work with the new macros, so make it a real man page. Also, we weren't building the .ph files, add them as an afterinstall rule in the x2p subdirectory. Notes: svn path=/head/; revision=3985
* Include of bsd.prog.mk should almost always be the last line of the file.Rodney W. Grimes1994-09-121-4/+5
| | | | | | | | Fix missing ${DESTDIR} in 2 places (rgrimes) Submitted by: bde Notes: svn path=/head/; revision=2684
* Added CURDIR directives for some installs.Gary Clark II1994-09-111-2/+3
| | | | | | | | Reviewed by: Gary Clark II Submitted by: Rod Grimes Notes: svn path=/head/; revision=2666
* Initial import of Perl 4.046 bmakedGary Clark II1994-09-1022-0/+10768
Notes: svn path=/cvs2svn/branches/lwall/; revision=2635