2006-06-16 00:13:58 +02:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.33 2006/06/15 22:13:59 jlam Exp $
|
2004-01-04 00:06:43 +01:00
|
|
|
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
|
|
PERL5_BUILDLINK3_MK:= ${PERL5_BUILDLINK3_MK}+
|
|
|
|
|
2004-03-05 20:25:06 +01:00
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
|
|
BUILDLINK_DEPENDS+= perl
|
|
|
|
.endif
|
2004-01-04 00:06:43 +01:00
|
|
|
|
2004-03-05 20:25:06 +01:00
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nperl}
|
|
|
|
BUILDLINK_PACKAGES+= perl
|
|
|
|
|
|
|
|
.if !empty(PERL5_BUILDLINK3_MK:M+)
|
2006-06-09 10:38:53 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2005-05-22 21:11:12 +02:00
|
|
|
USE_TOOLS+= perl
|
Update lang/perl5 to 5.8.7. Changes from version 5.8.6 include updates
for many "core" modules, UTF-8 and Unicode bugfixes, and ithreads
bugfixes.
The major changes are in the pkgsrc infrastructure to handle Perl and
Perl modules. All pkgsrc-installed Perl modules are now installed in
"vendor" directories, and the perl interpreter has been modifed to
search for libraries in the following order: site, vendor, perl. The
Perl library is stored in a directory that is named for the Perl ABI
version associated with the Perl release, so any updates of Perl to
newer versions can be done "in-place" as long as Perl ABI version
remains the same. All Perl scripts and man pages are stored in
locations that won't conflict between site, vendor, and perl modules,
and a new utility perllink(1) now manages symlinks to those scripts
and man pages under the usual ${LOCALBASE}/bin and ${LOCALBASE}/man/man1.
PERL5_SITEPREFIX may be set to the prefix where local, site-specific
modules will be installed, e.g. PERL5_SITEPREFIX=/usr/local. Note
that modules installed here are completely unmanaged by pkgsrc.
Update the buildlink and tool dependencies on perl to require perl>=5.8.7
to reflect the new locations for Perl modules and the Perl shared
library.
2005-08-06 08:18:44 +02:00
|
|
|
PERL5_REQD+= 5.8.7
|
2005-05-19 05:09:52 +02:00
|
|
|
TOOLS_DEPENDS.perl= # buildlink3 will handle the dependency
|
2006-04-06 08:21:32 +02:00
|
|
|
BUILDLINK_API_DEPENDS.perl+= perl>=${PERL5_REQD}
|
2005-06-24 08:43:43 +02:00
|
|
|
BUILDLINK_PKGSRCDIR.perl?= ../../lang/perl5
|
2004-01-04 00:06:43 +01:00
|
|
|
|
2005-05-19 00:42:07 +02:00
|
|
|
PERL5_OPTIONS?= # empty
|
Update lang/perl5 to 5.8.7. Changes from version 5.8.6 include updates
for many "core" modules, UTF-8 and Unicode bugfixes, and ithreads
bugfixes.
The major changes are in the pkgsrc infrastructure to handle Perl and
Perl modules. All pkgsrc-installed Perl modules are now installed in
"vendor" directories, and the perl interpreter has been modifed to
search for libraries in the following order: site, vendor, perl. The
Perl library is stored in a directory that is named for the Perl ABI
version associated with the Perl release, so any updates of Perl to
newer versions can be done "in-place" as long as Perl ABI version
remains the same. All Perl scripts and man pages are stored in
locations that won't conflict between site, vendor, and perl modules,
and a new utility perllink(1) now manages symlinks to those scripts
and man pages under the usual ${LOCALBASE}/bin and ${LOCALBASE}/man/man1.
PERL5_SITEPREFIX may be set to the prefix where local, site-specific
modules will be installed, e.g. PERL5_SITEPREFIX=/usr/local. Note
that modules installed here are completely unmanaged by pkgsrc.
Update the buildlink and tool dependencies on perl to require perl>=5.8.7
to reflect the new locations for Perl modules and the Perl shared
library.
2005-08-06 08:18:44 +02:00
|
|
|
. if !empty(PERL5_OPTIONS:Mthreads)
|
2006-06-16 00:13:58 +02:00
|
|
|
INSTALL_TEMPLATES+= ${.CURDIR}/../../lang/perl5/files/install_threads.tmpl
|
Update lang/perl5 to 5.8.7. Changes from version 5.8.6 include updates
for many "core" modules, UTF-8 and Unicode bugfixes, and ithreads
bugfixes.
The major changes are in the pkgsrc infrastructure to handle Perl and
Perl modules. All pkgsrc-installed Perl modules are now installed in
"vendor" directories, and the perl interpreter has been modifed to
search for libraries in the following order: site, vendor, perl. The
Perl library is stored in a directory that is named for the Perl ABI
version associated with the Perl release, so any updates of Perl to
newer versions can be done "in-place" as long as Perl ABI version
remains the same. All Perl scripts and man pages are stored in
locations that won't conflict between site, vendor, and perl modules,
and a new utility perllink(1) now manages symlinks to those scripts
and man pages under the usual ${LOCALBASE}/bin and ${LOCALBASE}/man/man1.
PERL5_SITEPREFIX may be set to the prefix where local, site-specific
modules will be installed, e.g. PERL5_SITEPREFIX=/usr/local. Note
that modules installed here are completely unmanaged by pkgsrc.
Update the buildlink and tool dependencies on perl to require perl>=5.8.7
to reflect the new locations for Perl modules and the Perl shared
library.
2005-08-06 08:18:44 +02:00
|
|
|
. endif
|
2004-12-19 01:01:43 +01:00
|
|
|
|
Update lang/perl5 to 5.8.7. Changes from version 5.8.6 include updates
for many "core" modules, UTF-8 and Unicode bugfixes, and ithreads
bugfixes.
The major changes are in the pkgsrc infrastructure to handle Perl and
Perl modules. All pkgsrc-installed Perl modules are now installed in
"vendor" directories, and the perl interpreter has been modifed to
search for libraries in the following order: site, vendor, perl. The
Perl library is stored in a directory that is named for the Perl ABI
version associated with the Perl release, so any updates of Perl to
newer versions can be done "in-place" as long as Perl ABI version
remains the same. All Perl scripts and man pages are stored in
locations that won't conflict between site, vendor, and perl modules,
and a new utility perllink(1) now manages symlinks to those scripts
and man pages under the usual ${LOCALBASE}/bin and ${LOCALBASE}/man/man1.
PERL5_SITEPREFIX may be set to the prefix where local, site-specific
modules will be installed, e.g. PERL5_SITEPREFIX=/usr/local. Note
that modules installed here are completely unmanaged by pkgsrc.
Update the buildlink and tool dependencies on perl to require perl>=5.8.7
to reflect the new locations for Perl modules and the Perl shared
library.
2005-08-06 08:18:44 +02:00
|
|
|
. if ${PKG_INSTALLATION_TYPE} == "overwrite"
|
2004-01-04 00:06:43 +01:00
|
|
|
#
|
|
|
|
# Perl keeps headers and odd libraries in an odd path not caught by the
|
|
|
|
# default BUILDLINK_FILES_CMD, so name them to be symlinked into
|
|
|
|
# ${BUILDLINK_DIR}.
|
|
|
|
#
|
|
|
|
BUILDLINK_FILES.perl= \
|
2004-01-12 16:50:22 +01:00
|
|
|
${PERL5_SUB_INSTALLARCHLIB}/CORE/* \
|
|
|
|
${PERL5_SUB_INSTALLARCHLIB}/auto/DynaLoader/DynaLoader.a
|
Update lang/perl5 to 5.8.7. Changes from version 5.8.6 include updates
for many "core" modules, UTF-8 and Unicode bugfixes, and ithreads
bugfixes.
The major changes are in the pkgsrc infrastructure to handle Perl and
Perl modules. All pkgsrc-installed Perl modules are now installed in
"vendor" directories, and the perl interpreter has been modifed to
search for libraries in the following order: site, vendor, perl. The
Perl library is stored in a directory that is named for the Perl ABI
version associated with the Perl release, so any updates of Perl to
newer versions can be done "in-place" as long as Perl ABI version
remains the same. All Perl scripts and man pages are stored in
locations that won't conflict between site, vendor, and perl modules,
and a new utility perllink(1) now manages symlinks to those scripts
and man pages under the usual ${LOCALBASE}/bin and ${LOCALBASE}/man/man1.
PERL5_SITEPREFIX may be set to the prefix where local, site-specific
modules will be installed, e.g. PERL5_SITEPREFIX=/usr/local. Note
that modules installed here are completely unmanaged by pkgsrc.
Update the buildlink and tool dependencies on perl to require perl>=5.8.7
to reflect the new locations for Perl modules and the Perl shared
library.
2005-08-06 08:18:44 +02:00
|
|
|
. endif
|
2004-01-04 00:06:43 +01:00
|
|
|
.endif # PERL5_BUILDLINK3_MK
|
|
|
|
|
2004-01-05 12:05:44 +01:00
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|