aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Remove the perl build. Farewell, old friend.Mark Murray2002-05-161-5/+0
| | | | Notes: svn path=/head/; revision=96722
* Remove my MAINTAINER= from here, as it is in src/MAINTAINERMark Murray2002-04-211-2/+0
| | | | Notes: svn path=/head/; revision=95187
* Fix cross-building, etc:Ruslan Ermilov2001-09-291-17/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* [ Very nasty nautical expletive removed ]Mark Murray2001-09-211-1/+0
| | | | | | | Remove debugging code that should never have been committed. Notes: svn path=/head/; revision=83770
* Through some hackery-pokery, allow folks to cd to src/gnu/usr.bin/perlMark Murray2001-09-201-1/+18
| | | | | | | | | | and do the usual "make obj && make depend all". This sort of stuff makes my teeth itch, but folks wanted it badly enough, so here it is. Notes: svn path=/head/; revision=83720
* Commit the first version of BSDPAN.Josef Karthauser2001-04-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | BSDPAN is the collection of modules that provides tighter than ever integration of Perl into BSD Unix. Currently, BSDPAN does the following: o makes p5- FreeBSD ports PREFIX-clean; o registers Perl modules in the FreeBSD package database with a package name derived from the module name. The name is of the form: bsdpan-ModuleName-V.VV. Anyone interested in where BSDPAN is developing should read Anton's message to the ports mailling list: Message-ID: <20010105040828.A26011@heechee.tobez.org> Submitted by: Anton Berezin <tobez@tobez.org> Notes: svn path=/head/; revision=75140
* Fix cross-building.Marcel Moolenaar2000-11-201-5/+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
* Always build and install suidperl. Only install suidperl setuid whenWarner Losh2000-08-131-5/+1
| | | | | | | | | | | | ENABLE_SUIDPERL is set to true. When perl is updated to remove the fork mail code, additional warnings will enable the users to know what is gonig on and how to correct it. Markm will make those commits as part of his perl patch integration. suidperl is installed with execute permissions so that markm's added error messages wil be seen by the user. Notes: svn path=/head/; revision=64575
* Don't build suidperl by default. Make users specifically enable itsWarner Losh2000-08-101-1/+1
| | | | | | | building. Notes: svn path=/head/; revision=64516
* Userland build stuff for Perl5.006.Mark Murray2000-06-251-1/+6
| | | | | | | | This is cleaned up quite a lot since 5.00502, and the library modules are broken out into individual dirs. This should please a lot folk. Notes: svn path=/head/; revision=62081
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
| | | | Notes: svn path=/head/; revision=50472
* System Perl is now 5.00503! There is support for threads, but this isMark Murray1999-05-021-1/+2
| | | | | | | not currently enabled. Thread-boffins are welcome to send me patches. Notes: svn path=/head/; revision=46316
* Allow NOSUIDPERL to DTRT.Mark Murray1998-09-301-2/+6
| | | | Notes: svn path=/head/; revision=39835
* Bring in the Perl5 BMake files. This ends the easy stuff.Mark Murray1998-09-091-0/+5
| | | | | | | 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-091-14/+0
| | | | Notes: svn path=/head/; revision=38979
* Don't build sperl if you don't want to.Dima Ruban1998-03-261-1/+5
| | | | Notes: svn path=/head/; revision=34890
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-1/+1
| | | | Notes: svn path=/head/; revision=8858
* Bring back perl/usub as usub/, this time containing an updated curseperlJordan K. Hubbard1995-03-241-1/+1
| | | | | | | | which is also installed by default (the reason for which should also be plain shortly). Notes: svn path=/head/; revision=7314
* Initial import of Perl 4.046 bmakedGary Clark II1994-09-101-0/+10
Notes: svn path=/cvs2svn/branches/lwall/; revision=2635