Commit graph

407 commits

Author SHA1 Message Date
jlam
daad0f3d6c Modify the pkginstall framework so that it manages all aspects of
INSTALL/DEINSTALL script creation within pkgsrc.

If an INSTALL or DEINSTALL script is found in the package directory,
it is automatically used as a template for the pkginstall-generated
scripts.  If instead, they should be used simply as the full scripts,
then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC
explicitly, e.g.:

	INSTALL_SRC=	${PKGDIR}/INSTALL
	DEINSTALL_SRC=	# emtpy

As part of the restructuring of the pkginstall framework internals,
we now *always* generate temporary INSTALL or DEINSTALL scripts.  By
comparing these temporary scripts with minimal INSTALL/DEINSTALL
scripts formed from only the base templates, we determine whether or
not the INSTALL/DEINSTALL scripts are actually needed by the package
(see the generate-install-scripts target in bsd.pkginstall.mk).

In addition, more variables in the framework have been made private.
The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are
more sensible names given the very few exported variables in this
framework.  The only public variables relating to the templates are:

	INSTALL_SRC		INSTALL_TEMPLATE
	DEINSTALL_SRC		DEINSTALL_TEMPLATE
				HEADER_TEMPLATE

The packages in pkgsrc have been modified to reflect the changes in
the pkginstall framework.
2006-03-14 01:14:26 +00:00
itohy
7bda48e229 Make perl5 modules build with pthread library from pkgsrc. 2006-03-09 11:10:47 +00:00
joerg
85221dcdda Use SUBST framework instead of FILES_SUBST_SED. 2006-01-19 02:09:09 +00:00
jlam
0ad8d38951 Restore binary compatibility with previous versions of perl-5.8.x that
were lost in PKGREVISION nb7.  We do this by avoiding inspecting the
value of ${WRKSRC} within the package Makefile and instead deferring
using ${WRKSRC} until we actually need the value (after extraction).
This is necessary because WRKSRC is defined in bsd.pkg.mk, which is
too late.

Bump the PKGREVISION to 8.
2006-01-15 07:40:30 +00:00
jlam
272ec6a7a1 Use the vendor-supplied set of fixes for the following security advisories:
CVE-2005-3916 - format string vulnerability in scripts using syslog()
    CVS-2005-3962 - format string vulnerability in Perl_sv_vcatpvfn()

Bump the PKGREVISION to 7.
2006-01-13 20:04:48 +00:00
jlam
b4f42ad08e Finish removing extraneous code only useful for snapshots missed in the
previous commit.
2006-01-13 19:15:11 +00:00
jlam
3290b09220 Remove snapshot and release-candidate code since they're outdated and are
no longer applicable to the current "stable" development branch.  Also,
fix the HOMEPAGE to point to perl.org instead of perl.com.
2006-01-13 16:48:11 +00:00
jlam
d12148e1c9 Ensure that the hints files are always writable before modifying them.
Fixes build problems on platforms without threads.
2005-12-30 23:16:33 +00:00
jlam
2927908735 Perl has no dependencies, so force patch the Configure script to make
library searches to start in the system directories instead of in the
pkgsrc-controlled directories.  This change is in the same spirit as
the one that caused the PKGREVISION bump to 6, but is more likely to
work on IRIX where plibpth needs to be set from the Configure script.
This time, we patch the Configure script instead of setting libpth in
the hints file because we depend on the values of variables which are
defined after the hints file is sourced by the Configure script.

XXX This breaks building perl on a platform that has native pthreads
XXX with PREFER_NATIVE_PTHREADS=no, but that's not really worthwhile
XXX to fix.
2005-12-29 17:54:45 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
jlam
0acd04a5f6 Tell the Configure script the correct LDFLAGS needed to link threaded
applications much sooner.  We do this by making every hints file create
a usethreads.cbu script that prepends the correct LDFLAGS to the
ldflags and lddlflags Perl variables.  This should fix PR pkg/31091,
which detailed a problem with building threaded perl on a platform
withat native pthreads that used GNU Pth as its pthread library.

While we're here, also fix some minor variable quoting issues.

Bump the PKGREVISION to 6.
2005-12-22 15:23:17 +00:00
jlam
f4cc8975af Fix for Perl format string vulnerability noted in CVE-2005-3962:
perl suffers from an integer wrap overflow inside the explicit
    parameter format string functionality. This has been confirmed to
    be a vector for remote code execution.

Bump PKGREVISION to 5.
2005-12-18 15:25:29 +00:00
jlam
2558c0291d Change my MAINTAINER email address to the one I've been using for
pkgsrc work.
2005-12-17 05:20:21 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
jlam
6300e91e28 Teach pkgsrc to modify the installed .packlist files so that if MANZ is
"yes", then they list the compressed manpages.  Implementation stolen
from the PLIST MANZ-handling code in bsd.pkg.mk added by Stoned Elipot.
This should fix pkg/31499.
2005-10-19 05:01:52 +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
joerg
07dbbd3e81 Bump revision since the linking changed on DragonFly. Suggested by
jlam@.
2005-10-10 17:33:15 +00:00
joerg
2e1ac9954c Nuke last chunk of patch, it got appended by configure. 2005-10-10 17:11:32 +00:00
joerg
3fa24ec5b9 Just use -pthread on DragonFly for thread linkage. 2005-10-10 17:07:36 +00:00
wiz
5c11268df7 Remove some more *LEGACY* settings that are over a month old and
thus were before 2005Q3.
2005-10-05 13:29:49 +00:00
reed
5f24b12922 Set LIBSWANTED and SYSLIBPATH for DragonFly.
Tests that failed are:

../ext/POSIX/t/posix.t

not ok 3 -     read to array element # TODO read to array element not working
# Failed at /home/reed/pkgsrc/lang/perl5/work/perl-5.8.7/ext/POSIX/t/posix.t lin
e 40
#      got undef
# expected 'perl
# '

not ok 11 - masked SIGINT received
2005-08-22 17:40:20 +00:00
jlam
f289925989 Remove the empty $sitearch directory even if it's outside of ${PREFIX} --
the perl installation will always create it and it's surprising when
it suddenly appears on your filesystem.
2005-08-18 17:26:48 +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
d2d692d4e6 Alter the configuration so that:
$(prefix) == $(siteprefix) == $(vendorprefix)

so that if a perl module is configured with "perl Makefile.PL PREFIX=...",
then that single PREFIX definition will override all three of the
above, and files will be properly installed into the correct relative
path.  Also, patch a test so that it understands the different behavior
of the pkgsrc ExtUtils::MakeMaker module.  Bump the PKGREVISION to 2.
2005-08-08 16:39:58 +00:00
jlam
0680c23678 Fix an error in ExtUtils::MakeMaker that didn't output the definitions
for INSTALLSITESCRIPT and INSTALLVENDORSCRIPT in MakeMaker-generated
Makefiles.  Bump the PKGREVISION to 1.
2005-08-07 21:47:24 +00:00
jlam
c3f904e0b4 Remove redundant patch. 2005-08-07 00:29:47 +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
3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00
jlam
e26a9ed756 Drop support for TOOLS_DEPMETHOD.<tool>. The new way to specify a
run-time dependency (DEPENDS) on a tool is to append a ":run" modifier
to the tool name, e.g.,

	USE_TOOLS+=	perl:run

Tools without modifiers or with an explicit ":build" modifier will
cause build dependencies (BUILD_DEPENDS) on those tools to be added.
This makes the notation a bit more compact.
2005-07-15 20:14:02 +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
jschauma
8fcc13103d sort out 32- and 64bit flags for IRIX 2005-07-13 15:20:29 +00:00
minskim
5a81300c39 Use "test -h", instead of "test", to test symlinks. This should have
been committed with the previous change.  Noted by jlam@.

Bump PKGREVISION.
2005-06-30 17:24:49 +00:00
minskim
4b5081ec4d Make sure that the path to "test" in ${TOOLS_DIR} is not embedded in
Config.pm.  Bump PKGREVISION.
2005-06-30 13:07:39 +00:00
jlam
c2fb31ba79 Drop the perl-5.6.x package from pkgsrc. Remove lang/perl58 and update
lang/perl5 to perl-5.8.6nb4.  Modify packages that referred to
lang/perl58 to point to lang/perl5 instead.
2005-06-24 06:43:43 +00:00
jlam
c031213a0a Quoting fix. 2005-05-27 22:15:53 +00:00
jlam
df940ef30d .undef is unnecessary since the temporary variable used in the for loop
goes away by itself.
2005-05-27 22:15:34 +00:00
wiz
0ecd8e6abf Add RMD160 checksum. 2005-05-25 12:37:37 +00:00
jlam
9f94b112f0 Remove the old tools framework and references to _USE_NEW_TOOLS. 2005-05-22 19:11:12 +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
5e50c57ea0 Split the conditional which seems to occasionally be malformed. This
probably has something to do with how make deals with short-circuit
evaluation of conditionals, but it's a simple matter to split the
conditional since USE_PERL5 is eventually going away.
2005-05-19 05:01:47 +00:00
jlam
c51012ebef When perl5/buildlink3.mk is included by a package Makefile, the buildlink
framework will handle adding the correct dependency.
2005-05-19 03:09:52 +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
jlam
a5cd03b385 We don't need to check for whether the variables are defined before
using them, as these values are referenced till later when the variables
will definitely have the correct value.  This removes the need to
include vars.mk here.
2005-05-12 21:01:16 +00:00
jlam
500efa9480 Allow vars.mk to be included multiple times. We avoid excessive
computation by caching the variables using MAKEVARS.
2005-05-12 20:59:29 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +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
45f42ddba8 Perl's Configure needs to be restricted from finding libraries that
we don't want it to find.  The usual buildlink techniques don't work
here since the Configure script uses a file existence test instead of
a linker test to see if the library exists.  For each operating system
that we support in pkgsrc, there should be corresponding
LIBSWANTED.${OPSYS} and SYSLIBPATH.${OPSYS} definitions in the Perl
package Makefiles to ensure we only get what we ask for.

In this particular case, add the appropriate definitions for OpenBSD
so that we don't pick up random libraries that may also be installed
on the system.
2005-03-24 02:33:08 +00:00
jlam
50c3906534 Forcibly set the locations for the version-specific directories.
Before, we were possibly using the values gleaned from a pre-existing
perl binary via perl5/vars.mk (pulled in by bsd.pkg.use.mk), which
would lead to the new perl using the pre-existing perl's version-specific
libraries.  Bump the PKGREVISION of lang/perl5 to 11 and lang/perl58
to 4.
2005-03-23 16:52:01 +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
jlam
192963838b Drop maintainership of perl-5.6.x. We should move pkgsrc to using
perl58 for everything, and remove this package altogether.
2005-01-03 03:37:08 +00:00
grant
4cf31e6533 actually bump PKGREVISION of perl58 and BUILDLINK_RECOMMENDED to address
PR pkg/28619. this should have been part of the PKGREVISION bump of p5-*.
2004-12-20 13:25:09 +00:00
grant
908e765695 since perl is now built with threads on most platforms, the perl archlib
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").

binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.

addresses PR pkg/28619 from H. Todd Fujinaka.
2004-12-20 11:30:55 +00:00
jlam
48876679d9 Create a modifier PERL5_OPTIONS that specifies properties of the perl
installation needed when including perl5/buildlink3.mk.  The only
option currently supported is "threads", which implies that a perl
that supports threads is required.  The requirement is checked at
pre-install time using an INSTALL script template by both the package
build and the binary package.

Add PERL5_OPTIONS+=threads to both devel/p5-SDL and graphics/p5-GD
since those modules require a perl that supports threads.
2004-12-19 00:01:43 +00:00
wiz
8f84de9622 Remove duplicate "the" in comment. 2004-12-15 14:57:58 +00:00
kristerw
0d60aa9537 Change ALL_TARGET to BUILD_TARGET. 2004-12-12 03:02:36 +00:00
jlam
9518343102 Remove MIPSpro bits that added -n32 or -64 depending on the ABI; this
handling has been moved into mk/compiler/mipspro.mk.
2004-10-01 20:52:25 +00:00
jlam
ca70938428 Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,
which are the full option names used to set rpath directives for the
linker and the compiler, respectively.  In places were we are invoking
the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is
inserted in case the flag is a word, e.g. -rpath.  The default values
of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the
compiler that you use.  They may be overridden on a ${OPSYS}-specific
basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG,
respectively.  Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-08-27 06:29:06 +00:00
wiz
5a1ea1fb96 Remove references to buildlink2. 2004-07-06 22:51:34 +00:00
wiz
4237d54a34 Unused. 2004-07-06 22:41:15 +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
jschauma
77c09ecc76 Rework how proper ABI flags are set on IRIX, using patch provided by
Georg Schwarz in PR pkg/25057:

- check for PKGSRC_COMPILER instead of USE_MIPSPRO:
  USE_MIPSPRO would imply the former, but not the other way around.
  That is, it's conceivable to have a system that has PKGSRC_COMPILER
  set (to mipspro), but not USE_MIPSPRO.

- Allow passing of -Duse64bitint if ABI == 64 even if the compiler is not
  mipspro.  (Note: we could test this on a non-IRIX 64bit platform by
  setting ABI to '64'.  I think that should work, too, but I can't test
  that right now.)
2004-05-05 03:14:33 +00:00
jlam
2d9728cce1 Allow perl-thread to be an acceptable perl when checking dependencies. 2004-04-26 04:46:00 +00:00
tv
a1465c99cc Add Interix to NOT_FOR_PLATFORM; porting will be done on only perl 5.8. 2004-04-23 17:25:28 +00:00
jschauma
725bf2464a Address PR pkg/25147:
only set mipspro specific compiler flags when using mipspro.
Otherwise, defaults will do.
2004-04-12 03:07:50 +00:00
jschauma
2e469426f7 Make this build under Irix with mipspro compilers:
MIPSPro compiler/preprocessor behaves differently if invoked on
stdin vs file.  In configure, we test for stdin, but lateron we use files.
So force it to work the way we know it does.
2004-04-12 02:51:22 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
uebayasi
8e043c6038 Test if a conditional variable is defined before expanding it. From
Ralf-P. Weinmann on tech-pkg@.
2004-03-02 06:13:28 +00:00
jlam
99b8496906 Turn PERL5_REQD into a list of values, the highest of which will be used
to choose the correct Perl dependency.
2004-02-10 02:18:04 +00:00
jlam
7699290f10 If we're passing through MAKEFLAGS variables whose values may contain
spaces, use the :Q modifier instead of double-quoting the value.  This
avoids breakage when executing the just-in-time su targets.
2004-02-06 19:04:24 +00:00
jlam
a7d877ca6a Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. In
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives
a value only once due to the multiple inclusion protection in the
bulldlink3.mk files.  In the case where a package includes several
buildlink3.mk files that each want a slightly different version of another
dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the
strictest <pkg> dependency to be matched.
2004-01-24 03:26:45 +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
c31927e838 If PERL5_REQD is at least 5.8, then set BUILDLINK_PKGSRCDIR.perl properly
to point to ../../lang/perl58.  This fixes PR 23573 and PR 24031.
2004-01-19 23:50:20 +00:00
jlam
26a49132b6 Back out previous change... it doesn't seem to be needed. 2004-01-19 13:01:39 +00:00
jlam
64537a259e Add a variable "PERL5_PATH" that's the full path to the actual perl
binary.  This is different from ${PERL5} in that if perl is installed
using pkgviews, then PERL5_PATH points within perl's depot directory.
2004-01-16 12:46:51 +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
06f713b14d Rearrange order of tests and protect more of the code that depends on
${PERL5} being present from being seen if ${PERL5} is in fact not there.
2004-01-13 07:12:01 +00:00
jlam
baf90848b6 Bump the PKGREVISION of lang/perl5. Changes between versions 5.6.1nb9
and 5.6.1nb10 include pulling in changes from the latest Perl sources
that add a more complete set of directories on NetBSD systems to the
rpath of Perl modules so that they may find libperl.so.  The module
build/installation is now robust against the user overriding the value
of INSTALLARCHLIB.
2004-01-13 01:08:57 +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
cjep
0bf6bf3ffd Use tabs (not spaces) to make indentation 2004-01-11 19:41:39 +00:00
jlam
4fb76c0ccb Adding a MESSAGE file noting where these packages search for plugins or
modules that may be added by other packages.
2004-01-08 19:18:00 +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
reed
0e61bce9a1 Make sure perl5 build doesn't wait for manual input at the
site-specific manual pages step in Configure. (Okay'd by jlam@.)
This closes my PR #23009.
2004-01-06 17:17:53 +00:00
jlam
89dcadebb7 Missing space before ] 2004-01-05 22:27:19 +00:00
jlam
bc18e39bab Make this look more like lang/perl58/Makefile, and bl3ify. 2004-01-05 22:15:14 +00:00
jlam
d279e6f535 Use S/+$// instead of C/\+$// to save a backslash. Very highly
recommended by seb :)
2004-01-05 11:05:44 +00:00
jlam
47bb2aae5f Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk. 2004-01-04 23:34:04 +00:00
jlam
339cd13cb2 Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.
2004-01-03 23:06:43 +00:00
reed
7e5d8c6dc9 For BSD/OS, define LIBSWANTED.BSDOS and SYSLIBPATH.BSDOS.
(I hadn't needed before, since didn't have other libraries
installed that it tried to detect.)
2003-12-05 05:31:12 +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
grant
c1fa93bd0a fix test for Solaris linker by also grepping for "ld: Solaris Link
Editors", reported by Dima Veselov <kab00m@lich.phys.spbu.ru> in
private mail.

also move hints/ patches to patch-b* to keep track of them more
easily.
2003-10-05 14:19:09 +00:00
grant
53e4b5d862 add rcs id 2003-10-05 14:16:41 +00:00
reed
393264ebf5 Link under BSD/OS too. (Okay'd by jlam.) 2003-10-04 07:38:45 +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
jschauma
984894c669 Use LIBSWANTED.IRIX and remove inclusion of libiconv buildlink as it's no
longer needed.  Suggested by jlam@.
2003-09-13 17:05:08 +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
jlam
d56bc0d72f Only include libiconv/buildlink2.mk on IRIX. It's not needed on NetBSD. 2003-09-13 10:18:06 +00:00
jlam
3e9653bd0b All pkgsrc-installed perl modules are installed in the "site" directories,
so pass INSTALLDIRS=site to the Makefile.PL script.  This overrides any
INSTALLDIRS setting in Makefile.PL.
2003-09-13 08:25:03 +00:00
jlam
53df45b090 Catch up with changes in how PERL5_ARCHLIB is computed in bsd.pkg.mk.
bsd.pkg.mk automatically converts PERL5_ARCHLIB to be prefixed by
${LOCALBASE} if this is an overwrite package, so simply strip that away to
get the relative directory.
2003-09-13 08:22:07 +00:00
jlam
e0ab7bbdde Skip appending to perllocal.pod. We don't keep this consistent anyway
with binary packages.

XXX We should be adding to and removing from perllocal.pod in
XXX VIEW-{INSTALL,DEINSTALL} actions from the INSTALL/DEINSTALL
XXX scripts.
2003-09-13 01:56:25 +00:00
jlam
3239a2dc12 Make including module.mk work in a pkgviews world, where perl's PREFIX
isn't the same as the module's PREFIX.
2003-09-12 23:39:42 +00:00
jlam
08146e6b1c Make this work in pkgviews world where perl's prefix isn't necessarily
buildlink2's idea of BUILDLINK_PREFIX.perl (which usuall ${LOCALBASE}).
2003-09-12 23:10:03 +00:00
jschauma
b159961244 Unlike perl58, this versions appears to require some libiconv functionality,
so add the appropriate buildlink.  Doesn't affect NetBSD, but makes this
work under Irix.  Apparently this is a change I forgot to commit a long time
ago.
2003-08-26 15:59:14 +00:00
jlam
8f27c44a6c Explicitly choose the library directory structure. Also create
${PREFIX}/share/mk before installing into it.
2003-08-26 02:30:27 +00:00
jmmv
3f542b2ed3 Add missing .endif. *sigh* 2003-08-03 20:52:30 +00:00
jmmv
9561b342dd Go back to the 'target' conditional. 'commands' fails on the 1.5 branch,
according to private mail by Thorsten Frueauf.
2003-08-03 11:47:01 +00:00
jmmv
9e7247e000 Use !commands(do-configure) instead of !target(do-configure). 2003-07-30 15:12:28 +00:00
jmmv
3cd568e4b7 Let a package override the contents of the do-configure target, if needed.
Closes PR pkg/21111 by Todd Vierling.
2003-07-22 23:44:46 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
jschauma
7ad68d53f0 Make this work on Irix with both n32 and 64 ABI. 2003-06-27 02:08:52 +00:00
jlam
1c480293dd Bump PKGREVISIONs of lang/perl5 and lang/perl58: modify the build so that
libgcc.a isn't linked "whole archive" into the perl executable on newer
NetBSD systems (>1.5.x).  Newer NetBSD systems have libgcc_pic.a linked
into shared libraries, so this hack isn't needed.  This change was tested
by building and testing textproc/xerces-p, a C++ perl5 module that uses
functions in libgcc.a.
2003-06-23 07:45:01 +00:00
jlam
d200bfb2de Modify lang/perl5 and lang/perl58 to install man3 pages again. However,
we install them into a private directory under the the normal Perl
installation and configure Perl so that site-specific Perl man3 pages
are installed into a private directory within site_perl.  This avoids
manpage conflicts between 3rd-party modules, the standard Perl library,
and other packages.

The changes implement some unfinished work that is alluded to in the
MakeMaker.pm module by allowing "installsiteman{1,3}dir" to be set
during the configuration process and are used to provide default values
for INSTALLSITEMAN{1,3}DIR during the Perl module build/install process.

Bump PKGREVISIONs for lang/perl5 and lang/perl58.
2003-05-27 21:57:25 +00:00
heinz
38e4a2c5e4 Replaced two outdated US ftp servers 2003-03-18 10:06:26 +00:00
jlam
3ef633718c (1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG;
Makefiles simply need to use this value often, for better or for
    worse.

(2) Create a new variable FIX_RPATH that lists variables that should
    be cleansed of -R or -rpath values if ${_USE_RPATH} is "no".  By
    default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and
    additional variables may be appended from package Makefiles.
2003-03-14 19:37:30 +00:00
seb
ddcd03149b Most, if not all, packages using perl5/module.mk are perl5 modules
using ExtUtils::MakeMaker style Makefile: usually they provide a
'test' target.

So adding 'TEST_TARGET?=test' here gives us a lot of packages with
the test target enabled.
2003-03-05 16:07:44 +00:00
grant
c2ec4cb5eb fix previous change for FreeBSD/gcc3. 2003-02-27 14:05:01 +00:00
grant
38442a8e44 fix some indenting and strip unneeded parens. 2003-02-27 04:32:33 +00:00
grant
ed30d30f4b adopt some patches from FreeBSD ports, allowing this to build on
FreeBSD 5.0 (and probably Solaris w/ gcc3).

also, make really sure we don't try to use perl's malloc().
2003-02-21 14:42:14 +00:00
jlam
9c743a9576 It's BUILDLINK_DEPMETHOD.perl that should append "full". 2003-02-18 15:58:49 +00:00
jklos
be88583b1c BUILDLINK_DEPENDS.perl was incorrectly set to full; full is not a package
name. Changed to perl-5*.
2003-02-18 10:34:10 +00:00
jlam
e5c5173ba1 Require that we use a full dependency on perl when building/installing
Perl modules.
2003-02-17 20:08:46 +00:00
dillo
5f4ad95078 convert to use test target from bsd.pkg.mk
addresses PR pkg/19416
2003-02-17 15:27:58 +00:00
wiz
690f1eb317 Unused. 2002-12-24 20:19:55 +00:00
jschauma
3085a1c183 Make this compile and install cleanly on IRIX. 2002-12-24 00:56:53 +00:00
cjep
77c08729ba Whitespace fix 2002-12-23 16:14:38 +00:00
grant
028534a47d mark this NOT_FOR_PLATFORM Darwin, since the earliest version of perl
with Darwin support is perl58 and attempting to build this version
fails.
2002-12-23 16:10:45 +00:00
wiz
aaac5ddb21 Remove support for buildlink.mk -- noone uses it any longer. 2002-12-23 14:36:29 +00:00
grant
c662fe261a correct HOMEPAGE. 2002-10-23 23:33:21 +00:00
seb
fc707a2aeb Introduce target perl5-configure.
Now a package using this file can be configured by the regular
do-configure target if PERL5_CONFIGURE is _not_ set to YES (which is
the default), and then have a the standard perl configuration step
done by say the post-configure target.

Example:
        PERL5_CONFIGURE=        NO
        post-configure: perl5-configure

Usually in such a case PERL5_CONFIGURE_DIRS would have to be
adjusted, as well as other directory variables. See following commit
to graphics/p5-PerlMagick package for a complete example.

The previous behavior is preserved if PERL5_CONFIGURE default
value is left untouched, i.e. the do-configure target does the
standard perl configuration.

Please note that this new feature was made up by Johnny Lam. Thanks again!
2002-09-26 12:31:28 +00:00
wiz
e8817c9088 Complete standardization of messages according to latest pkglint. 2002-09-24 12:29:55 +00:00
jlam
cb9c0e2464 perl5/module.mk is intended to be included by packages that build
and install perl5 modules.

The following targets are provided by this file:

do-configure          runs the standard perl configuration in
                      each of the directories specified in
                      ${PERL5_CONFIGURE_DIRS}.

The following variables may be set prior to including this file:

PERL5_CONFIGURE       if "YES", then run the standard perl
                      configuration assuming Makefile.PL exists;
                      defaults to "YES".

PERL5_CONFIGURE_DIRS  list of directories in which to run the
                      standard perl configuration; defaults to
                      ${CONFIGURE_DIRS}.

PERL5_LDFLAGS         extra linker flags to pass on to the build
                      process.

This file also does the PERL5_PACKLIST handling to generate a PLIST.  When
all p5-* packages have been modified to use module.mk, then the
PERL5_PACKLIST code in bsd.pkg.mk can be removed.
2002-09-23 08:56:13 +00:00
jlam
9fbd525603 Only add a build dependency on perl if USE_PERL5 == "build". 2002-09-05 20:44:44 +00:00
jlam
3bf1875402 If USE_PERL5 is "build", then only set a build dependency on perl. 2002-09-05 20:43:19 +00:00
jlam
49b3a8c326 Respect new USE_PERL5 semantics by pulling over a change from buildlink.mk. 2002-08-25 19:41:18 +00:00
jlam
e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00
jlam
84ec437ca0 Make use of USE_PERL5 and the other perl-related bits in bsd.pkg.mk instead
of duplicating all of the logic in this file.
2002-07-24 19:43:10 +00:00
jlam
a62b4afb0b Correctly build from lang/perl58 if we need perl-5.8.0 on Darwin. 2002-07-22 22:04:33 +00:00
jlam
80743a4834 Adapt to using perl-5.8.0. Perl 5.8.0 removes the need for libperl as
DynaLoader.a is now an archive of PIC objects.
2002-07-22 22:00:49 +00:00
skrll
08bdd44549 mkdir -> ${MKDIR}
rmdir -> ${RMDIR}
rm -> ${RM} (${RM} added to PLIST_SUBST)
chmod -> ${CHMOD}
chown -> ${CHOWN}
2002-02-15 10:12:28 +00:00
wiz
3cef02bae4 Remove patch-ai sha1, since the file doesn't exist. 2002-02-08 09:36:27 +00:00
jlam
acef69cb6b Fix long-standing bug where -R${PREFIX}/lib wasn't being recorded in the
LDDLFLAGS because ${PREFIX} is not defined for the sub-scripts that are
executed by the Configure script.  This resulted in -R/lib.
2002-01-30 22:35:57 +00:00
jlam
01c10a95a2 Move post-patch target that modified files to pre-configure, so that the
result of "make patch" can be used for "mkpatches".
2002-01-30 22:34:15 +00:00
jlam
44ec524e48 Update lang/perl5 to 5.6.1nb7. Changes from version 5.6.1nb6 include
changing the default module/library search path to have site_perl come
before the standard directories.  In other words, the previous search path
on an i386 was:

    /usr/pkg/lib/perl5/5.6.1/i386-netbsd
    /usr/pkg/lib/perl5/5.6.1
    /usr/pkg/lib/perl5/site_perl/5.6.1/i386-netbsd
    /usr/pkg/lib/perl5/site_perl/5.6.1
    /usr/pkg/lib/perl5/site_perl

but it is now:

    /usr/pkg/lib/perl5/site_perl/5.6.1/i386-netbsd
    /usr/pkg/lib/perl5/site_perl/5.6.1
    /usr/pkg/lib/perl5/site_perl
    /usr/pkg/lib/perl5/5.6.1/i386-netbsd
    /usr/pkg/lib/perl5/5.6.1

The rationale for this is that when we install a module that is newer than
one in the standard library, the new module goes into the site_perl
directory as it's an add-on module.  However, we can't use the newer module
without modifying either the scripts of the perl environment to find the
newer module explicitly because of the order of the library search path:
the site_perl directories come after the standard directories.  The normal
solution is to directly replace the module in the standard library with
the newer module.  However, this isn't really on option when installing
via pkgsrc because the older module files are owned by the perl package.

By placing the the site_perl directories before the standard directories,
newer modules that we install via pkgsrc are simply found before the older
ones in the standard library.
2002-01-28 00:25:27 +00:00
jlam
d71f0b8699 Typo. 2001-12-14 19:26:11 +00:00
jlam
c89586b58b Use 'rm -f' instead of 'rm' in case the files don't already exist. 2001-12-14 19:24:53 +00:00
jlam
b3575da1cb Install perl5.6.1 as statically linked if perl is statically linked. Also
provide a way to avoid building a statically linked perl on platforms
where it doesn't matter.  Currently, by empirical evidence in pkg/14871,
this includes mipsel and probably mipseb.  Other platforms can add
themselves if/when they discover it doesn't matter for them either.
Closes pkg/14871 by John Hawkinson <jhawk@mit.edu>.
2001-12-14 05:32:35 +00:00
jlam
ee80084104 Only replace -L${LOCALBASE}/lib with "-L*" options from ${LDFLAGS} so that
we don't accidentally add options that the linker doesn't understand, such
as "-Wl,-R*".  This should fix pkg/14907 by John Klos john@sixgirls.org
where the a.out linker ld doesn't understand extra flags passed in from
LDFLAGS from the pkgsrc environment when building a perl package.
2001-12-11 06:08:58 +00:00
wiz
0ea2848a64 Move comment to separate line to unconfuse lintpkgsrc. 2001-12-03 17:51:14 +00:00
jlam
801397f4bb Use PKGREVISION to manage package-specific versions numbers that differ
from the distfile version number.  G/C the version number stuff from
perl5/Makefile.common, preserving only PERL5_DIST_VERS as it's still used
by libperl.
2001-12-03 07:55:43 +00:00
jlam
28dc06397c Create ECHO_BUILDLINK_MSG for printing buildlink diagnostics. It's just
set to '${ECHO_MSG} "=>"' for now.
2001-11-30 17:21:54 +00:00
jlam
62bb1dd4b2 Add PERL5OPT to the CONFIGURE_ENV, so that configure scripts that use
perl will use the correct local include and library search paths.
2001-11-28 05:40:18 +00:00
jlam
65b5c46cab Rearrange and separate out code that only pertains to USE_BUILDLINK_ONLY
packages.  This file can now completely replace USE_PERL5.
2001-11-28 05:18:02 +00:00
jlam
acb03b4aaa Use ${BUILDLINK_TARGETS.perl} as the pre-configure requisites so we can
override it's value.
2001-11-28 04:54:24 +00:00
jlam
2d24242885 Complete idea behind previous commit. 2001-11-25 23:18:23 +00:00
jlam
654a754082 Allow passing flags to linker and to compiler via LDFLAGS and CPPFLAGS
settings in the package Makefile.
2001-11-25 23:09:19 +00:00
jlam
3200d221e0 Add buildlink.mk file for use by perl5 module package Makefiles. This
buildlink.mk file can replace the use of USE_PERL5: it defines all of the
same perl variables as bsd.pkg.mk, adds a dependency on perl>=${PERL5_REQD}
and conditionally includes bsd.perl.mk.  It also creates a buildlinkified
Config.pm that makes the local include/library search path include
${BUILDLINK_DIR} instead of hard-coding ${LOCALBASE}.  There's more to be
done to make this more useful in strongly buildlinkifying a package, but
it's useful now as-is in weakly buildlinkifying a package.
2001-11-24 04:40:31 +00:00
zuntum
a437fd43cc Move pkg/ files into package's toplevel directory 2001-11-01 00:20:13 +00:00
jlam
6b56087a7a ftp.digital.com doesn't hold the CPAN mirror any longer. It's at
gatekeeper.dec.com.
2001-10-25 21:15:08 +00:00
veego
b9a10835a2 Add 'dl' to the LIBSWANTED.SunOS line.
Now the perl configure script finds a dlopen on SunOS and builds a shared
libperl, which makes it possible to build mod_perl.
2001-10-21 06:56:30 +00:00
jlam
15c0280d2d Add a patch to the perl package that causes perl modules from CPAN to link
directly against -lperl when built.  Combined with the previous update of
perl to add ${LOCALBASE}/lib to the rpath when creating shared
libraries/modules, these two changes make using mod_perl.so (ap-perl) more
painless.  All perl shared modules now contain interlibrary dependencies to
the shared libraries they need.  Instead of needing (at least on ELF):

        LoadFile !/usr/lib/libm.so
        LoadFile lib/perl5/5.6.1/i386-netbsd/CORE/libperl.so
        ...
        # Any other libraries needed by perl shared modules need to listed
        # with LoadFile here.
        ...
        LoadModule perl_module lib/httpd/mod_perl.so
        AddModule mod_perl.c

you'd need only the last two lines as the mod_perl authors intended.

I've tested this patch for many weeks now, successfully loading and using
the p5-Apache-ASP module as my test bed, and I haven't noticed any problems
with normal perl usage.

Also comment the Makefile slightly better.
2001-10-14 19:55:47 +00:00
jlam
26426041cb The previous change (making ExtUtils recognize -Wl,-R as the prefix for a
linker rpath flag) deserves a bump in the package version number.  Go to
perl-5.6.1nb5.
2001-10-02 06:46:43 +00:00
jlam
f49b05e650 Teach the ExtUtils modules (the ones that create Makefiles for perl
modules) about -Wl,-R.  We cause -Wl,-R/path/to/libdir in LIBS settings
to now get propagated correctly to the link command for shared modules.
The rpath flag is also silently coerced to start with -Wl,-R or -R
depending on the contents of ${LDDLFLAGS} to deal with either cc or ld
being invoked.
2001-10-02 06:37:55 +00:00
jlam
2eea86c397 Update perl to 5.6.1nb4. Changes from version 5.6.1nb3 include:
* Ensure that shared objects/libraries created by perl Makefiles include
  the correct run-time library search path by also including the local
  libraries directories.  For example, shared objects are linked on ELF
  platforms with "cc -Wl,-R/usr/pkg/lib -L/usr/pkg/lib", and not just
  "cc -L/usr/pkg/lib" as before.
2001-10-01 07:05:10 +00:00
jlam
c537c54dcf The perl Configure script has a check for several directories, including
/usr/local/scripts and forces the scripts to be installed there if it
exists.  We override this by explicitly setting "scriptdir" to
"${PREFIX}/bin".  This should fix the problem noted in pkg/14050 by
Brian Stark <bpstark@pacbell.net>.
2001-09-26 03:12:14 +00:00
jlam
2ae2e32a34 Note that if LIBSWANTED.${OPSYS} isn't defined, then the perl defaults for
that OS is used.
2001-09-17 18:11:36 +00:00
tron
95a495ffdf Solve SunOS build problem in a much cleaner way by predefining "libswanted"
for Perl's configuration script as suggested by Johnny C. Lam in private
e-mail.
2001-09-17 18:04:42 +00:00
tron
f2f891d4fb Stop configure from trying to use "libiconv" because "/usr/include/iconv.h"
exists under SunOS.
2001-09-17 11:14:51 +00:00
jlam
71f03aac07 Search for <machine/ieeefp.h> instead of <ieeefp.h>. This fixes the
problem reported in pkg/13663 by John Klos <john@sixgirls.org> where on
older (pre-current) NetBSD/vax, <ieeefp.h> exists but <machine/ieeefp.h>
doesn't, which was broken since <ieeefp.h> included <machine/ieeefp.h>.
2001-09-14 05:00:35 +00:00
jlam
dfe309aab4 Update perl to 5.6.1nb3. User-visible changes from the previous version
include:

- Re-adding ${LOCALBASE}/include and ${LOCALBASE}/lib to the local compiler
  search paths,

Other changes include:

- Migrating the setting to not install man3 pages from patch-ab into the
  package Makefile so that they aren't installed across all pkgsrc platforms.

- Better document SYSLIBPATH.${OPSYS}.
2001-09-12 18:58:57 +00:00
jlam
3c7130fadb Note conflict with perl-base-*, pointed out by David Brownlee
<abs@formula1.com>.
2001-09-06 17:33:50 +00:00
jlam
b56ee42f19 Update perl to 5.6.1nb2. Changes from perl-5.6.1nb1 include undoing the
perl mess I created a year ago and making this a vanilla perl installation
again, and explicitly setting the system library path so that /usr/local/*
doesn't appear anywhere.

The installed perl library now also includes CGI.pm-2.752.  The www/p5-CGI
package installs in to ${PERL5_SITEARCH} so there is no conflict with the
"standard" CGI.pm.
2001-09-05 17:13:40 +00:00
tv
4f6288056f Perl5 needs a "nb1" version bump to make sure everything which depends on
it is updated not to have the perl-mk dependency.

This braindead nature of pkgsrc to register all dependencies recursively
into binary pkgs *will* be fixed.
2001-07-09 17:21:22 +00:00
tv
d6c0d5882c * Make perl stop installing anything in the man3 directory. It's starting
to install things like "open.3" and "lib.3" which confuse users.  Perl
  ships with a documentation tool, "perldoc", for this purpose; create a
  MESSAGE indicating that it should be used instead.  (Perl still installs
  command line program manual pages in man1.)

* Integrate bsd.perl.mk into the perl5-base build where it should have been
  from the beginning.  The separate perl-mk pkg makes binary packages of
  perl-mk completely useless[*].  Older perl builders will not break, since
  <bsd.pkg.mk> contains fallback definitions that are evaluated at pkg
  build time.

=====

[*] bsd.perl.mk is tightly bound to the version of perl that is installed.
    The version name "perl-mk-1.1" is completely useless as a binary pkg,
    since keeping multiple binary versions of perl on a FTP server means
    that one of the perl-mk's will get clobbered.

    However, putting the current pkgsrc PERL5_DIST_VERS in the perl-mk pkg
    is also a problem, because that doesn't necessarily reflect the
    installed version of perl.  Snarfing the installed version at perl-mk
    build time would be even uglier, since you could not then walk the tree
    without perl being installed.

    The cleanest solution is to integrate bsd.perl.mk into the perl5-base
    pkg, and let those who have not upgraded perl yet use the runtime
    definitions in <bsd.pkg.mk>.
2001-07-09 17:10:25 +00:00
tron
f868463c0c Add mirror site in Finland and Germany. 2001-06-07 12:39:24 +00:00
jlam
a9dd17e584 Update perl to 5.6.1. Changes from perl-5.6.0 include many bug fixes,
the plugging of several memory leaks, fixes to the regular expression
engine, the addition of a Unicode character classes, better support for
64-bit platorms, and updates of many modules in the base Perl Library.
See perldelta.pod for more details.

Also update p5-Data-Dumper, p5-Devel-DProf, and p5-Devel-Peek to the
latest versions distributed with the perl-5.6.1 sources, and libperl to
5.6.1 to match the perl package.
2001-06-07 04:25:31 +00:00
jlam
c14ef19cf3 Update perl to 5.6.0nb6 as a result of requiring the new version of perl-base
(5.6.0nb2).
2001-05-20 05:16:07 +00:00
jlam
4240ca2c86 Update dependency on perl-mk to 1.1. 2001-04-22 06:28:30 +00:00
agc
fb467f5ac2 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:22:34 +00:00
manu
2d8ee1582d Modified the link process of the perl executable so that all libgcc.a is
included in the perl executable. We need this to make the upcoming
xerces-perl package working.
This hack should be made obsolete by gcc-3.0, which will have a libgcc.so.
See http://mail-index.netbsd.org/tech-pkg/2001/04/07/0000.html for more details
2001-04-12 18:14:16 +00:00
wiz
b24cf71748 Bump to 5.6.0nb4: Depend on perl-mk. 2001-02-20 16:33:35 +00:00
agc
82acd159f7 Move the COMMENT from being in its own file to a definition in the
package Makefile.
2001-02-17 09:06:56 +00:00
jlam
755b6bf050 Remove unneeded patches (moved to lang/perl5-base/patches). 2000-09-05 09:22:00 +00:00