head	1.19;
access;
symbols
	RELENG_4_11_0_RELEASE:1.9.2.2
	RELENG_4_11:1.9.2.2.0.12
	RELENG_4_11_BP:1.9.2.2
	RELENG_4_10_0_RELEASE:1.9.2.2
	RELENG_4_10:1.9.2.2.0.10
	RELENG_4_10_BP:1.9.2.2
	RELENG_4_9_0_RELEASE:1.9.2.2
	RELENG_4_9:1.9.2.2.0.8
	RELENG_4_9_BP:1.9.2.2
	RELENG_4_8_0_RELEASE:1.9.2.2
	RELENG_4_8:1.9.2.2.0.6
	RELENG_4_8_BP:1.9.2.2
	RELENG_4_7_0_RELEASE:1.9.2.2
	RELENG_4_7:1.9.2.2.0.4
	RELENG_4_7_BP:1.9.2.2
	RELENG_4_6_2_RELEASE:1.9.2.2
	RELENG_4_6_1_RELEASE:1.9.2.2
	RELENG_4_6_0_RELEASE:1.9.2.2
	RELENG_4_6:1.9.2.2.0.2
	RELENG_4_6_BP:1.9.2.2
	RELENG_4_5_0_RELEASE:1.9.2.1
	RELENG_4_5:1.9.2.1.0.6
	RELENG_4_5_BP:1.9.2.1
	RELENG_4_4_0_RELEASE:1.9.2.1
	RELENG_4_4:1.9.2.1.0.4
	RELENG_4_4_BP:1.9.2.1
	RELENG_4_3_0_RELEASE:1.9.2.1
	RELENG_4_3:1.9.2.1.0.2
	RELENG_4_3_BP:1.9.2.1
	RELENG_4_2_0_RELEASE:1.9.2.1
	RELENG_4_1_1_RELEASE:1.9
	PRE_SMPNG:1.12
	RELENG_4_1_0_RELEASE:1.9
	RELENG_3_5_0_RELEASE:1.7.2.2
	RELENG_4_0_0_RELEASE:1.9
	RELENG_4:1.9.0.2
	RELENG_4_BP:1.9
	RELENG_3_4_0_RELEASE:1.7.2.2
	RELENG_3_3_0_RELEASE:1.7.2.2
	RELENG_3_2_PAO:1.7.2.1.0.2
	RELENG_3_2_PAO_BP:1.7.2.1
	RELENG_3_2_0_RELEASE:1.7.2.1
	RELENG_3_1_0_RELEASE:1.7
	RELENG_3:1.7.0.2
	RELENG_3_BP:1.7
	RELENG_2_2_8_RELEASE:1.3.6.1
	RELENG_3_0_0_RELEASE:1.7
	RELENG_2_2_7_RELEASE:1.3.6.1
	RELENG_2_2_6_RELEASE:1.3
	RELENG_2_2_5_RELEASE:1.3
	RELENG_2_2_2_RELEASE:1.3
	RELENG_2_2_1_RELEASE:1.3
	RELENG_2_2_0_RELEASE:1.3
	RELENG_2_1_7_RELEASE:1.3
	RELENG_2_1_6_1_RELEASE:1.3
	RELENG_2_1_6_RELEASE:1.3
	RELENG_2_2:1.3.0.6
	RELENG_2_2_BP:1.3
	RELENG_2_1_5_RELEASE:1.3
	RELENG_2_1_0_RELEASE:1.3
	RELENG_2_1_0:1.3.0.4
	RELENG_2_1_0_BP:1.3
	RELENG_2_0_5_RELEASE:1.3
	RELENG_2_0_5:1.3.0.2
	RELENG_2_0_5_BP:1.3
	RELENG_2_0_5_ALPHA:1.2
	RELEASE_2_0:1.1.1.1
	BETA_2_0:1.1.1.1
	ALPHA_2_0:1.1.1.1.0.2
	perl_4_036_bmake:1.1.1.1
	lwall:1.1.1;
locks; strict;
comment	@# @;


1.19
date	2002.05.16.09.57.05;	author markm;	state dead;
branches;
next	1.18;

1.18
date	2002.04.21.08.03.25;	author markm;	state Exp;
branches;
next	1.17;

1.17
date	2001.09.29.13.17.53;	author ru;	state Exp;
branches;
next	1.16;

1.16
date	2001.09.21.13.50.30;	author markm;	state Exp;
branches;
next	1.15;

1.15
date	2001.09.20.12.22.23;	author markm;	state Exp;
branches;
next	1.14;

1.14
date	2001.04.03.18.38.50;	author joe;	state Exp;
branches;
next	1.13;

1.13
date	2000.11.20.02.17.31;	author marcel;	state Exp;
branches;
next	1.12;

1.12
date	2000.08.13.01.40.06;	author imp;	state Exp;
branches;
next	1.11;

1.11
date	2000.08.10.22.59.53;	author imp;	state Exp;
branches;
next	1.10;

1.10
date	2000.06.25.14.48.02;	author markm;	state Exp;
branches;
next	1.9;

1.9
date	99.08.27.23.36.14;	author peter;	state Exp;
branches
	1.9.2.1;
next	1.8;

1.8
date	99.05.02.15.29.35;	author markm;	state Exp;
branches;
next	1.7;

1.7
date	98.09.30.20.24.59;	author markm;	state Exp;
branches
	1.7.2.1;
next	1.6;

1.6
date	98.09.09.07.20.10;	author markm;	state Exp;
branches;
next	1.5;

1.5
date	98.09.09.06.48.53;	author markm;	state dead;
branches;
next	1.4;

1.4
date	98.03.26.06.06.06;	author dima;	state Exp;
branches;
next	1.3;

1.3
date	95.05.30.05.02.42;	author rgrimes;	state Exp;
branches
	1.3.6.1;
next	1.2;

1.2
date	95.03.24.04.33.35;	author jkh;	state Exp;
branches;
next	1.1;

1.1
date	94.09.10.06.27.29;	author gclarkii;	state Exp;
branches
	1.1.1.1;
next	;

1.9.2.1
date	2000.10.05.09.54.37;	author markm;	state Exp;
branches;
next	1.9.2.2;

1.9.2.2
date	2002.02.19.16.21.34;	author ru;	state Exp;
branches;
next	1.9.2.3;

1.9.2.3
date	2012.11.17.07.23.07;	author svnexp;	state Exp;
branches;
next	;

1.7.2.1
date	99.05.05.13.28.33;	author markm;	state Exp;
branches;
next	1.7.2.2;

1.7.2.2
date	99.08.29.14.34.08;	author peter;	state Exp;
branches;
next	;

1.3.6.1
date	98.04.01.21.08.11;	author dima;	state Exp;
branches;
next	;

1.1.1.1
date	94.09.10.06.27.30;	author gclarkii;	state Exp;
branches;
next	;


desc
@@


1.19
log
@Remove the perl build. Farewell, old friend.
@
text
@# $FreeBSD: src/gnu/usr.bin/perl/Makefile,v 1.18 2002/04/21 08:03:25 markm Exp $

SUBDIR= libperl miniperl perl suidperl library pod utils x2p BSDPAN

.include <bsd.subdir.mk>
@


1.18
log
@Remove my MAINTAINER= from here, as it is in src/MAINTAINER
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.17
log
@Fix cross-building, etc:

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
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/perl/Makefile,v 1.16 2001/09/21 13:50:30 markm Exp $
a3 2

MAINTAINER=markm@@freebsd.org
@


1.16
log
@[ Very nasty nautical expletive removed ]

Remove debugging code that should never have been committed.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/perl/Makefile,v 1.15 2001/09/20 12:22:23 markm Exp $
d3 1
a3 5
.ifmake !install && !distribute
_MINI=	miniperl
.endif

SUBDIR= libperl ${_MINI} perl suidperl library pod utils x2p BSDPAN
a5 12

.BEGIN:
.ifmake depend || all
	if [ \! -f ${.OBJDIR}/build-tools ] ; then \
		cd ${.CURDIR}/libperl && ${MAKE} depend && ${MAKE} all ; \
		cd ${.CURDIR}/miniperl && ${MAKE} depend && ${MAKE} all ; \
		touch ${.OBJDIR}/build-tools ; \
	fi
.endif
.ifmake cleandir || clean
	@@rm -f ${.OBJDIR}/build-tools
.endif
@


1.15
log
@Through some hackery-pokery, allow folks to cd to src/gnu/usr.bin/perl
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.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/perl/Makefile,v 1.14 2001/04/03 18:38:50 joe Exp $
a13 1
		${ECHO} TESTING TESTING TESTING ; \
@


1.14
log
@Commit the first version of BSDPAN.

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>
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/perl/Makefile,v 1.13 2000/11/20 02:17:31 marcel Exp $
d3 5
a7 1
SUBDIR= libperl perl suidperl library pod utils x2p BSDPAN
d10 13
@


1.13
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
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/perl/Makefile,v 1.12 2000/08/13 01:40:06 imp Exp $
d3 1
a3 1
SUBDIR= libperl perl suidperl library pod utils x2p
@


1.12
log
@Always build and install suidperl.  Only install suidperl setuid when
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.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/perl/Makefile,v 1.11 2000/08/10 22:59:53 imp Exp $
d3 1
a3 1
SUBDIR= libperl miniperl perl suidperl library pod utils x2p
a5 4

build-tools:
	cd ${.CURDIR}/libperl && make build-tools
	cd ${.CURDIR}/miniperl && make build-tools
@


1.11
log
@Don't build suidperl by default.  Make users specifically enable its
building.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/perl/Makefile,v 1.10 2000/06/25 14:48:02 markm Exp $
d3 1
a3 5
.if defined(BUILD_SUIDPERL) && ${BUILD_SUIDPERL} == "true"
_suidperl=	suidperl
.endif

SUBDIR= libperl miniperl perl ${_suidperl} library pod utils x2p
@


1.10
log
@Userland build stuff for Perl5.006.

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.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/perl/Makefile,v 1.9 1999/08/27 23:36:14 peter Exp $
d3 1
a3 1
.if !defined(NOSUIDPERL)
@


1.9
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
d7 2
a8 1
SUBDIR= libperl miniperl perl ${_suidperl} pod utils x2p
d10 4
@


1.9.2.1
log
@MFC: Merge the CURRENT perl-building method to STABLE. This will
dramatically reduce the dependance on miniperl.

NOTE!! This does not bring Perl-5.6.0 to STABLE !!

NOTE!! You should delete /usr/bin/miniperl !!
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/perl/Makefile,v 1.12 2000/08/13 01:40:06 imp Exp $
d3 3
a5 1
SUBDIR= libperl miniperl perl suidperl library pod utils x2p
d7 1
a8 4

build-tools:
	cd ${.CURDIR}/libperl && make build-tools
	cd ${.CURDIR}/miniperl && make build-tools
@


1.9.2.2
log
@MFC: cross-building fixes.
@
text
@d1 1
a1 1
# $FreeBSD$
d6 4
@


1.9.2.3
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/gnu/usr.bin/perl/Makefile 90934 2002-02-19 16:21:35Z ru $
@


1.8
log
@System Perl is now 5.00503! There is support for threads, but this is
not currently enabled. Thread-boffins are welcome to send me patches.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.7 1998/09/30 20:24:59 markm Exp $
@


1.7
log
@Allow NOSUIDPERL to DTRT.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.6 1998/09/09 07:20:10 markm Exp $
d8 1
@


1.7.2.1
log
@MFC: system Perl is now 5.00503!
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.8 1999/05/02 15:29:35 markm Exp $
a7 1
MAINTAINER=markm@@freebsd.org
@


1.7.2.2
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.6
log
@Bring in the Perl5 BMake files. This ends the easy stuff.

I'll be doiung the rest in stages.
@
text
@d1 1
a1 1
#	$Id$
d3 5
a7 1
SUBDIR= libperl miniperl perl suidperl pod utils x2p
@


1.5
log
@Old Perl is leaving us. Goodbye, faithful friend.
@
text
@d1 1
a1 5
#
# Bmake file for perl 4.036
#
# Note: I'm not sure what to do with c2ph located in misc...
#
d3 1
a3 5
SUBDIR= perl tperl usub lib x2p

.if !defined(NOSUIDPERL) && exists(${.CURDIR}/sperl)
SUBDIR+=sperl
.endif
a5 1

@


1.4
log
@Don't build sperl if you don't want to.
@
text
@@


1.3
log
@Remove trailing whitespace.
@
text
@d7 5
a11 1
SUBDIR= perl tperl sperl usub lib x2p
@


1.3.6.1
log
@MFC: don't compile sperl in NOSUIDPERL defined
@
text
@d7 1
a7 1
SUBDIR= perl tperl usub lib x2p
d9 1
a9 3
.if !defined(NOSUIDPERL) && exists(${.CURDIR}/sperl)
SUBDIR+=sperl
.endif
a10 1
.include <bsd.subdir.mk>
@


1.2
log
@Bring back perl/usub as usub/, this time containing an updated curseperl
which is also installed by default (the reason for which should also be
plain shortly).
@
text
@d7 1
a7 1
SUBDIR= perl tperl sperl usub lib x2p  
@


1.1
log
@Initial revision
@
text
@d7 1
a7 1
SUBDIR= perl tperl sperl lib x2p  
@


1.1.1.1
log
@Initial import of Perl 4.046 bmaked

@
text
@@
