Commit graph

65 commits

Author SHA1 Message Date
obache
bc96e3ca50 Bump default BUILD_DEPENDS for Module::Build packages to match current
stable branch status, perl-5.12.2 or external one same version as bundled one.
2011-08-15 04:48:36 +00:00
adam
1f337496f7 Changes 5.14.1:
* Several modules were updated to fix minor bugs.
* Tests were fixed.
* Documentation was improved.

Changes 5.14.0:
* Unicode version 6.0 is now supported.
* Regular expressions can now be reset to the default modifiers.
* Four new regular expression modifiers, "/d", "/l" , "/u", and "/a", were
  introduced.
* The substitution operators now support the modifier "/r" to work
  non-destructively, leaving the original unmodified.
* Larger octals can now be specified.
* Array and hash operators can now experimentally operate directly on hard
  references.
* printf-like functions now understand post-1980 size modifiers.
* Exception handling was made more reliable and consistent.
* Other enhancements and many bug fixes were made

PkgSrc:
* Fixed configuring on Mac OS X 10.7.
2011-08-05 18:06:14 +00:00
sno
bf3355ee5c Updating lang/perl5 from 5.12.1 to 5.12.1nb1
pkgsrc changes:
- preparing for databases/p5-gdbm (using Makefile.common)
- supporting external access to perl install dirs (dirs.mk)
- fixing some errors/warnings from pkglint
- adding conflict to packages of CPAN modules which are in Perl5 code
  on the one hand and are broken with perl-5.10+

Bumping PKGREVISION (dependencies changed, rebuild highly recommended).
Recursive rebuild is not required.
2010-08-27 05:27:37 +00:00
morr
8053a2232c Fix issue with PLIST generation by not reading existing .packlist. 2010-05-09 18:46:34 +00:00
sno
d701d73e37 Adding support to install via bundled Module::Install by allowing
PERL5_MODULE_TYPE set to Module::Install::Bundled.
2010-01-16 15:02:14 +00:00
sno
eb321fc56c - enabling some tuning options to control 64-bit usage of built perl
- add support for Module::Install

Oked by joerg@
2009-06-11 10:32:29 +00:00
rillig
79a38fed91 cleanup: replaced _PKG_SILENT and _PKG_DEBUG with RUN. 2009-05-16 07:22:01 +00:00
sno
19003a0cb9 Fix PR pkg/40944 by using the Module::Build from Perl's Core as default.
Oked by tron@ and he@
2009-03-21 23:11:29 +00:00
joerg
35471bc4bb Improve AIX support to the point that dynamic modules work. Bump
revision. In collaboration with Jens Rehsack.
2008-12-20 13:08:00 +00:00
minskim
8cfdb52849 If perl is buildlinked, used perl in ${BUILDLINK_PREFIX.perl} and
do not rely on the tools framework.
2007-11-18 21:44:56 +00:00
heinz
3449f06ac1 Enable installation to DESTDIR for all packages based on Module::Build. 2007-05-26 12:46:20 +00:00
rillig
0faa35202e The error messages on AIX are weird, but maybe someone understands them. 2007-04-21 09:41:00 +00:00
rillig
bc85a438af PERL5_CONFIGURE_DIRS may now contain directory names relative to
${WRKSRC}. This saves some keystrokes when writing Makefiles.
2006-10-04 22:24:49 +00:00
rillig
a3de4e93a9 Only do the build and test actions when NO_BUILD does not prevent them. 2006-10-04 21:31:34 +00:00
itohy
7bda48e229 Make perl5 modules build with pthread library from pkgsrc. 2006-03-09 11:10:47 +00:00
jlam
cd4158806c Split out the packlist-handling code from modules.mk into a separate
packlist.mk file, and replace the custom code in perl5/Makefile that
duplicated the same packlist handling to just use the routines in
packlist.mk.
2005-10-19 04:40:23 +00:00
jlam
ced1a72013 Restore perllocal.pod-generating behavior of ExtUtils::MakeMaker
because some Perl modules make some (bad) assumptions about the
structure of a MakeMaker-generated Makefile.  Instead, remove the
perllocal.pod file whenever a p5-* module or perl itself is removed.

While here, rename some of the install/deinstall templates to more
descriptive names.

Bump the PKGREVISION to 3.
2005-08-12 19:59:03 +00:00
jlam
86f9268481 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 06:18:44 +00:00
jlam
7a6521287b Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary
packages.
2005-07-13 18:01:18 +00:00
jlam
5a4310c9a2 Move the PLIST_SUBST lines that substitute for PERL5_* variables from
perl5/module.mk into tools/perl.mk so that the substitution occurs for
all packages that use perl.
2005-05-20 03:00:16 +00:00
jlam
d6f6120540 Goal: Remove USE_PERL5 from pkgsrc.
Plan:
	(1) Change USE_PERL5=build into USE_TOOLS+=perl.
	(2) Change all other USE_PERL5 into including perl5/buildlink3.mk.

Possibly, for packages that don't actually build anything with perl,
but merely require it for the perl interpreter, we can instead do:

	USE_TOOLS+=		perl
	TOOLS_DEPMETHOD.perl=	DEPENDS

but this is more verbose than simply including the perl5/buildlink3.mk
file.

Move the PERL5_REQD computation into a lang/perl5/version.mk file,
and only do the USE_PERL5 logic in bsd.pkg.use.mk if we're not using
the new tools framework.  This consolidates all of the perl-handling
into two places -- lang/perl5 and mk/tools/perl.mk.
2005-05-18 22:42:07 +00:00
heinz
a80c501c1e BUILDING_PERL5 is _always_ defined now, so test for a specific value.
This fixes (at least) the build of mail/p5-razor-agents on NetBSD 1.6.2.
Ok'ed by jlam.
2005-04-01 22:37:44 +00:00
tv
1c339cbc89 Don't check USE_BUILDLINK3 any more. 2005-03-24 22:19:06 +00:00
jlam
73f10c0cf4 Enforce the values that PERL5_MODULE_TYPE can take. 2005-02-26 00:04:48 +00:00
wiz
9ed6b7d771 Depend on latest p5-Module-Build to get .packlist files. 2005-02-25 15:57:12 +00:00
jlam
cc44d0be98 * Teach devel/p5-Module-Build to write .packlists just like MakeMaker.pm
does.  This allows us to use dynamic PLISTs for Perl modules that are
  built using Module::Build.  Bump the PKGREVISION of p5-Module-Build
  to 1.

* Drop the use of PERL5_USES_MODULE_BUILD and introduce a new variable
  PERL5_MODULE_TYPE that is either "MakeMaker" or "Module::Build" that
  names the framework used to build/install the module.

* Split out the variables set in perl5/buildlink3.mk that are also used
  by perl5/module.mk into a new file perl5/vars.mk.  Move some PERL5_*
  variable definitions from pkgsrc/mk/bsd.pkg.use.mk into perl5/vars.mk.
  This just centralizes the common PERL5_* definitions into a single
  file location.

* Convert the known packages that use Module::Build to set
  PERL5_MODULE_TYPE and PERL5_PACKLIST:

	devel/p5-Class-Container
	devel/p5-Exception-Class
	devel/p5-Log-Dispatch
	devel/p5-Array-Compare
	textproc/p5-Pod-Coverage
	www/p5-Apache-Session-Wrapper
	www/p5-MasonX-Request-WithApacheSession
2005-02-24 22:38:41 +00:00
wiz
7077a89a60 Remove :Q that broke things, introduced in previous. 2005-02-23 10:42:07 +00:00
wiz
24ccacd771 Add basic Module::Build support; set PERL5_USES_MODULE_BUILD
for packages that want it.
2005-02-21 12:08:45 +00:00
wiz
5a1ea1fb96 Remove references to buildlink2. 2004-07-06 22:51:34 +00:00
wiz
e693520bba Do not unset USE_GCC3, just complain if building
with GCC on AIX. Okayed by grant.
2004-07-03 14:13:06 +00:00
xtraeme
bff0059010 PR pkg/25428: Georg Schwarz, remove an extra '\' in front of ${TRUE},
to fix the problems seen in the PLIST files.
2004-06-09 17:53:04 +00:00
recht
943e779c8b Set LC_ALL=C while doing perl5-configure. This fixes the problem that
the PERL defintionen in the Makefile resulting from Makefile.PL gets
set to 0 if LANG || LC_<something> is set to something else (read non english).
ok'd by jlam@
2004-05-05 08:29:44 +00:00
jlam
bc9660dc1e Override OPTIMIZE instead of PASTHRU_INC to pass ${CFLAGS} and ${CPPFLAGS}
into the Perl module build.  OPTIMIZE works for all versions of Perl.
2004-01-21 09:40:49 +00:00
jlam
83b22db1bf PERL5_INSTALLARCHLIB is no longer directly set by this file, so create one
in the perl5-post-install target where it's needed for perl-5.6.1.
2004-01-13 08:02:12 +00:00
jlam
1dbf1ed26d module.mk is included by perl5*/Makefile, so be careful not to clutter
MAKE_FLAGS with stuff that's only useful for building modules (and also
breaks the build of perl).

This fixes the breakage of perl modules not finding libperl.so caused by
the changes in revision 1.30 of this file.
2004-01-13 07:15:41 +00:00
jlam
6a67141da3 The build and install stages require slightly different values for
INSTALLARCHLIB.  During the build, INSTALLARCHLIB refers to the
directory where libperl.so may be found, which should point into the
default view.  During the install, INSTALLARCHLIB refers to the
directory where the perllocal.pod file should be installed, which
should point into the package prefix.
2004-01-13 00:59:14 +00:00
jlam
4c13539455 We need PERL5_INSTALLARCHLIB, so compute its value appropriately. 2004-01-12 15:50:22 +00:00
jlam
662f2b7e7a Fix PLIST issues for perl5 in the overwrite case after removing
packlist -> PLIST generator from bsd.pkg.mk to perl5/module.mk.
2004-01-08 18:03:04 +00:00
erh
76cc1bbdbb On AIX, perl doesn't like building with gcc.
Force it to use /usr/bin/cc instead.
2003-12-03 17:29:12 +00:00
jlam
31104a316c It's actually PASTHRU_INC, not INC. 2003-11-27 04:11:40 +00:00
jlam
5859da67ec Make PERL5_SUB_* public so that they may be used in buildlink2.mk files
and also in package Makefiles.
2003-11-25 19:30:21 +00:00
jlam
87dbaa95f1 MakeMaker provides two hooks, INC and OTHERLDFLAGS, to pass options to the
compiler and linker.  Use them to pass CPPFLAGS and LDFLAGS from pkgsrc.
2003-11-25 17:45:56 +00:00
jlam
f79c8b61ed Make PERL5_INSTALLSITELIB, PERL5_INSTALLSITEARCH, etc. public so that
package Makefiles can refer to the directory in which they install Perl5
site modules.
2003-11-25 15:37:35 +00:00
jlam
4320c4dc4b Final answer to perllocal.pod problem: just remove the file on pkgviews
installations.
2003-09-13 22:58:07 +00:00
jlam
3ddda2522b Sprinkle .PHONY. 2003-09-13 22:50:58 +00:00
jlam
fab0157394 Instead of trying to avoid creating perllocal.pod, go ahead and create it,
except ignore it when linkfarming.  This avoids conflicts between the many
perllocal.pod files across different depoted packages.
2003-09-13 21:29:44 +00:00
jlam
f5662c8d05 Back out INSTALL_TARGET?= pure_install since it will break several
packages that build and install perl5 modules as part of a larger
installation.
2003-09-13 15:20:53 +00:00
jlam
69872634e9 Rename _PERL5_VAR.* to _PERL5_SITEVAR.* and move them to somewhere global
so the the remainder of this file can use their values.  Also override the
PREFIX with the module's PREFIX so the default directories end up pointing
in the right place.
2003-09-13 15:04:59 +00:00
jlam
bdb6cb0107 Need to override the directory that scripts are installed into. For some
reason, there isn't a sitescript variable.
2003-09-13 14:13:14 +00:00
jlam
03329d04b2 _PERL_{INSTALLSITELIB,etc.} shouldn't be added to MAKEFLAGS since their
values change for every dependent package that you enter and invoke a
sub-make.
2003-09-13 13:53:31 +00:00