1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
Commit Graph

107 Commits

Author SHA1 Message Date
Sergey Matveychuk
97ff74d771 - Create PREFIX/SITE_PERL/PERL_ARCH/auto dirrectory on install
Pointed out by:	kris
Approved by:	tobez
2004-11-25 11:01:14 +00:00
Anton Berezin
b6b33242e7 Update to 5.8.5. 2004-07-30 08:31:19 +00:00
Anton Berezin
b316205598 Add a knob WITHOUT_PERL_64BITINT. This is primarily intended for those
who wish to keep compatibility with files generated by Storable::store
from a previous version of perl, and were unlucky enough to not use
portable Storable::nstore instead.

Submitted by:	kuriyama
2004-07-25 11:25:11 +00:00
Anton Berezin
ceb8fe7d89 1. Update to 5.8.4.
2. Make this port respect Makefile.local.
3. Transfer manpages to Makefile.man.
4. Move manpages for modules, included into distribution, into
   lib/perl5/PERL_VER/perl/man/man3, to eliminate file conflicts
   with p5 ports for modules included with perl.
5. Use PREFIX/SITE_PERL_REL instead of SITE_PERL in the Makefile.
6. Switch to bzipped sources.
7. Other small adjustments.

PR:	65925, 66096, 67205

Submitted by:	foxfair (1), Charles Swiger <chuck@pkix.net> (1), krion (3)
Reported by:	Roy Badami <roy@gnomon.org.uk> (2)
2004-05-30 23:13:56 +00:00
Trevor Johnson
8232e82f85 SIZEify (maintainer timeout) 2004-03-31 03:12:58 +00:00
Joe Marcus Clarke
3302f9e6ed Respect OSVERSION in the pkg-install script. This allows package building
tinderboxes to do the righ thing reagrding Perl in a chroot/jail environment
regardless of the underlying host OS version.

Approved by:	perl (tobez)
2004-03-05 21:38:03 +00:00
David E. O'Brien
573c510881 Fix the perl builds. 2004-03-01 15:38:43 +00:00
David E. O'Brien
8ae891fb97 Fix "pkg_add -r perl" for 5.2-CURRENT (and later). This will now install
perl 5.8 for 5.2-CURRENT.

Approved by:	perl
2004-03-01 08:54:11 +00:00
Philip Paeps
7360591d8a This fixes a little bug introduced in r1.8.
When installing with pkg_add(1), the ${SITE_PERL} directory was not created
causing system headers not to be perlified and installed by h2ph.  This made
some things break in very mysterious ways.

The pkg-install script used by pkg_add(1) doesn't know about the many special
variables in bsd.port.mk, so it shouldn't try to rely on them.

Noticed by:	bento, kris
Approved by:	kris
2004-02-19 09:40:50 +00:00
Joe Marcus Clarke
3fd283a81f Set PKGMESSAGE to a bogus file on recent versions of -CURRENT where Perl 5.8
is the default.

Obtained from:	lang/perl5
2004-02-05 06:12:40 +00:00
Joe Marcus Clarke
24dd9dbacc Run use.perl port by default from the port as well as the package. 2004-02-04 19:20:40 +00:00
Joe Marcus Clarke
e9b5bbd01b Update the pkg-install script to run use.perl port after install on recent
versions of -CURRENT.

Reported by:	kris
2004-02-04 19:13:30 +00:00
Jun Kuriyama
61a7aa221f Check /usr/bin/perl5 existence before using "ident -q /usr/bin/perl5".
Approved by:	tobez
2004-01-20 02:28:15 +00:00
Anton Berezin
6ea9d57347 This fixes plist problem for people unlucky enough to have a
${PREFIX}/share/man/man1 directory (which perl's Configure
unconditionally prefers to anything else if found).

Submitted by:	se, vanilla
Approved by:	portmgr (marcus)
2003-11-25 18:48:26 +00:00
Anton Berezin
f164b0b55d In some cases of weird symlinking (possibly triggered by portupgrade),
perl binary might fail to be installed during make install.  Try to fix
that.

Reported by:	"Shobaki sam." <shsam@free.fr>
PR:		59186
2003-11-12 00:07:43 +00:00
Anton Berezin
7606b535ff Update forgotten distinfo.
Reported by:	herbert@bugat.at
2003-11-10 21:02:21 +00:00
Anton Berezin
1d8ae6805e 1. Update to 5.8.2.
2. Finally switch to libperl.so.
3. Respect CFLAGS.

PR:		58735 (item 3)
Submitted by:	Lars Eggert <larse@isi.edu> (item 3)
2003-11-10 18:08:54 +00:00
Anton Berezin
94c2da6051 Under certain conditions (perl Makefile.PL used directly or by proxy,
without PERL_CONFIGURE trickery), the interaction of 5.8.1's MakeMaker
and BSDPAN can lead to parts of perl-using ports to be installed to
/lib, which is bad.  Fix that.

Reported by:	Mike Harding <mvh@ix.netcom.com>
2003-10-28 21:55:24 +00:00
Anton Berezin
9d21910a44 Fix the workings of ENABLE_SUIDPERL knob.
Reported by:	Neil Darlow <neil@darlow.co.uk>, Nicola Tiling <nti@w4w.net>
2003-10-28 20:46:51 +00:00
Anton Berezin
1aee5817e8 Update to 5.8.1.
Also:

Make suidperl optional (ENABLE_SUIDPERL knob).  Switch to perlmalloc by
default, unless threaded perl is built, to improve performance.
Modernize pkg-plist (switch to SITE_PERL where possible).  Update WWW.

Many thanks to foxfair who prepared most of this update.
2003-10-27 19:48:03 +00:00
Ying-Chieh Liao
c634b4bb83 utilize SITE_PERL
PR:		58166
Submitted by:	Cheng-Lung Sung <clsung@dragon2.net>
2003-10-24 12:05:09 +00:00
Anton Berezin
8c1a9ff695 Add a patch to properly escape generated action attribute in
CGI::start_form.  The escape code is taken from CGI.pm v.3.00.

PR:		57391
Reported by:	IIJIMA Hiromitsu <delmonta@ht.sakura.ne.jp>
2003-09-30 08:33:57 +00:00
Sergey A. Osokin
f37f7775e3 Make portlint(1) happy by changing strip to ${STRIP_CMD}
Submitted by:	Oleg Karachevtsev <ok@etrust.ru>
PR:		56998
2003-09-24 09:37:11 +00:00
Anton Berezin
3b3b7d95e8 Fix a bug which goes unnoticed on all platforms but leads to a
coredump on FreeBSD/amd64 when one uses $^N variable and there were
no captures in the last executed regexp.

One third of this fix was applied to the perl tree in December 2002,
with the rest hopefully applied in the next couple of days.

Reported by:	jwd
2003-07-14 11:36:59 +00:00
Maxim Sobolev
b9fde6414d Respect global CC settings.
Approved by:	maintainer
2003-04-28 10:53:21 +00:00
Anton Berezin
8d6ace0a7b Under certain conditions, perl's configure script could pick a directory
other than ${LOCALBASE}/bin to install its scripts (h2ph, perldoc, and
friends) to.  Fix that.

PR:		51350
Reported by:	Oliver Brandmueller <ob@gruft.de>
2003-04-24 13:19:21 +00:00
Anton Berezin
3961916206 Patch Safe.pm (see
http://use.perl.org/articles/02/10/06/1118222.shtml?tid=5).

Reported by:	kuriyama
2003-04-21 14:55:34 +00:00
Maxim Sobolev
b169298681 Add a new `WITH_THREADS' option to build perl with support for threads and
fix threaded build on 5.x.

Approved by:	maintainer
2003-04-01 12:29:12 +00:00
Ade Lovett
7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00
Ying-Chieh Liao
27ebc7aa15 chase gdbm lib version 2003-01-03 08:26:35 +00:00
Anton Berezin
9687508914 Make port's Configure correctly detect crypt(3). Bump PORTREVISION.
Reported by:	Jeroen Ruigrok van der Werven <asmodai@tendra.org>
Approved by:	portmgr
2002-12-11 11:44:31 +00:00
Anton Berezin
61b7290c32 o Make perl -MConfig -e 'use lib $Config{installsitelib}' work
o Bump PORTREVISION

Prompted by:	green
2002-08-20 20:58:32 +00:00
Anton Berezin
d46ceb3a94 Merge from lang/perl5:
Add two knobs:

    WITH_PERL_MALLOC - to compile with perl's own malloc, as opposed to
    the freebsd system malloc. Some might find this useful, since perl's
    malloc is marginally faster in typical cases, and orders of
    magnitude faster in degenerate cases. Use with care.

    WITH_GDBM - to compile with gdbm support.
2002-07-28 09:14:17 +00:00
Anton Berezin
7f388ae919 Modify BSDPAN to make INSTALLSITEMAN1DIR and INSTALLSITEMAN3DIR be equal
to INSTALLMAN1DIR and INSTALLMAN3DIR, respectively, if there are no
corresponding variables in Config.pm, which is unfortunately the case
for perl 5.8.0.  This fixes manpage installation path for p5 ports built
with perl5.8.0 as /usr/bin/perl.
2002-07-22 16:36:07 +00:00
Anton Berezin
09147ee102 Update to 5.8.0 (after repocopy). 2002-07-21 17:09:12 +00:00
Anton Berezin
6bab76381c 1. Merge from src/contrib/perl5/lib/ExtUtils/Attic/Install.pm rev. 1.2:
Force installs. This is to allow (semi-)automatic garbage removal by
      "find /usr/libdata -ctime -N -delete".

Well - substitute /usr/libdata with /usr/local/lib/perl5 here.

Requested by:	sheldonh

2. Do not link with libbind even if Configure detects it.  A particular
reason for that is that perl's getpw* stop working with NIS.

Reported by:	Russell Cattelan <cattelan@thebarn.com>
2002-07-10 16:06:00 +00:00
Anton Berezin
70a016b66f During deinstallation, for *.ph files, replace find | xargs rm with
find -delete, for obvious reasons.  No PORTREVISION bump.
2002-06-16 13:03:18 +00:00
Anton Berezin
c482b493eb Fix manpath.config patching in case there is no system perl manpath
(read: -current).  No PORTREVISION bump.
2002-06-16 12:40:13 +00:00
Anton Berezin
5596d33392 1. Do not do rm -rf as a mean to deinstall this port. Instead, apart
from normal rmdir'ing and unexec rmdir'ing, do a find | xargs rm for
   generated .ph files, since those will differ in different versions of
   FreeBSD just like .h files may not be the same.

2. Install.pm is broken in 5.6.1 and leads to the wrong .packlist
   generation, which, in turn, breaks BSDPAN.  Fix that.

3. Extend use.perl to patch /etc/manpath.config so that manpages for
   modules installed by this and other p5- ports are be available.

PR:		39108 (item 1)
Reported by:	Dan Nelson <dan@dan.emsphone.com> (item 1)
2002-06-16 12:28:01 +00:00
Doug Barton
a0aacea454 Bump PORTREVISION to take the new version of use.perl into account.
Requested by: tobez
2002-06-09 11:26:23 +00:00
Doug Barton
3c1a97543c Update to better handle life as it is now in -current.
Approved by:	tobez (MAINTAINER)
2002-06-09 11:24:22 +00:00
Anton Berezin
900f472193 Put SITEARCH and SITELIB paths in front of ARCHLIB and PRIVLIB in the
@INC array. This takes care of the infamous problem of updating the
packages already in the perl distribution. With this change, no tricks
are any longer necessary for such p5 ports, except the usual tweaking of
INSTALLDIRS in Makefile.PL. This last one can also be taken care of by
an appropriate BSDPAN modifications, but until we have the `natural'
@INC order in the 4.X base system perl, it is meaningless.

Do not include iconv.h and do not link with libiconv. Iconv is not used
by perl in any way currently, but it used to link it if found.

Fix perl on freebsd/sparc64.

PR:		33212 (iconv), 37605 (iconv), 38813 (sparc64)
Reported by:	Vivek Khera <khera@kciLink.com> (iconv),
		Martin Nilsson <martin@gneto.com> (iconv)
Submitted by:	jake (sparc64)
2002-06-02 21:22:25 +00:00
Anton Berezin
2a28064fd9 Use a cleaner, documented way to obtain the path of BSDPAN. This fixes
the problems with threaded perl build.  The threaded perl is curently
unsupported by this port but seems to work fine with this fix applied.

Reported by:	Jens Fallesen <jens@fallesen.dk>
2002-05-24 10:39:00 +00:00
Anton Berezin
c1875f8c3a Make make depend to work with the new gcc (the new preprocessor outputs
more stuff than the old one, which confuses makedepend script in the
distribution).

PORTREVISION is not bumped since there was no functionality change.

Reported-by:	too many to list here
2002-05-21 11:27:15 +00:00
Anton Berezin
eff8393c6c 1. Speed up the fetch stage by using groups of MASTER_SITES.
2. Remove the dependency on perl (rather important for this port).
3. Make the script this port installs use the version of perl from ports.

Reported-by:	(item 2) Juriy Goloveshkin <j@gu.ru>, Mark Huizer <xaa@timewasters.nl>
2002-05-20 00:03:07 +00:00
Anton Berezin
fb226407ee Unforbid the port for the use of general FreeBSD public.
Compile perl with BSDPAN support, both -current and -stable.  The
version of BSDPAN used here coincides accidentally with the one present
in the -current system perl, but is installed in a different place.

Provide a script, use.perl, to facilitate switching of the perl used by
default between the system perl and this port.  Also print a message
describing the usage of use.perl (this works for the port and for the
package built from it).  The switching to the port version is done by
removing /usr/bin/perl and /usr/bin/suidperl (they both have link count
>1, so this is reversible), and making them to be symlinks to the
corresponding binaries in $PREFIX/bin.  Also, assignments of the correct
values of PERL_VER, PERL_VERSION, and PERL_ARCH are appended to
/etc/make.conf.  Last, NOPERL=yes is appended to /etc/make.conf, so that
the changes made will survive system upgrades from source.  The
switching to the system version is more or less a reverse of the process
described above.

Set and use PERL_ARCH which is independed from the one used by the
system perl.

Fix the port for post-malloc.h -current.

Fix a small bogon when PREFIX was used in pkg-install (PKG_PREFIX should
have been used instead).

Reviewed by:	markm, joe
2001-12-19 17:05:05 +00:00
Anton Berezin
1deec72d79 Make this port do the same thing whether databases/gdbm is installed or
not - do not install GDBM_File extension.

PR:		29884
2001-08-20 13:51:14 +00:00
Anton Berezin
dc7016253b Fix wrong directory name.
PR:		28462
OK'ed by:	markm
2001-06-29 16:43:51 +00:00
Anton Berezin
64c3280234 Take over maintainership.
OK'ed by:	markm
2001-06-12 19:36:32 +00:00
Mark Murray
47329499f6 Update for Perl 5.6.1.
As before, this is a "guru only" port. If you know what you are
doing, go ahead and use it. If not - HANDS OFF!

Perl 5.6.1 will be committed to "base" FreeBSD in a week or 2.
2001-04-10 19:57:49 +00:00