Commit graph

21 commits

Author SHA1 Message Date
rillig
8c6aee8563 lang: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-03 19:03:56 +00:00
rillig
874704832f Improved documentation for "make help". 2018-01-07 11:40:57 +00:00
tron
5553b92be2 Don't append ".gz" to the filenames of Perl manual page that are already
compress. This fixes the build of e.g. the "p5-YAML-LibYAML" package
if "MANZ" is set.
2014-11-13 17:48:59 +00:00
sbd
8f6cc34919 Make the _PERL5_PACKLIST_MANPAGE_RE pattern match the
_PLIST_REGEXP.man pattern.
2012-02-21 06:49:21 +00:00
tron
2a86c2c042 Don't require "gawk". This is false positive reported by "pkglint". 2010-08-27 16:34:03 +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
sno
716306a3b4 Reviewed patch from pkg/42709 and apply it. 2010-01-31 12:14:24 +00:00
wiz
29e7aed4dd Remove @unexec ${RMDIR} generating code that is now unnecessary with latest
pkg_install.
2009-06-18 05:30:24 +00:00
rillig
79a38fed91 cleanup: replaced _PKG_SILENT and _PKG_DEBUG with RUN. 2009-05-16 07:22:01 +00:00
rillig
80770fe7e6 Oops, forgot to add a default value for PERL5_USE_PACKLIST and to test
the change at all.
2007-01-15 05:36:04 +00:00
rillig
e50e8ac3cf Added a new variable PERL5_USE_PACKLIST that decides whether the Perl
packlist is used to generate the pkgsrc PLIST. This is the case for most
of the Perl modules, so the default value is "yes".

Currently, there is no change in functionality. After some further
testing, the default will be that a Perl module provides a packlist and
needs to say if it doesn't.
2007-01-15 05:32:04 +00:00
joerg
d5a346e1ba Further improve packlist logic to handle DESTDIR for Perl modules
as well. Perl itself is special as the DESTDIR does *not* end up
in the packlist, but for normal modules it does.
2006-11-03 10:48:05 +00:00
joerg
f0f238c0cf DESTDIR support. Slightly refactor Perl build to avoid calling the newly
build executable, either by using the same constants or by sourcing the
config.sh script created by Configure.

Don't create $installsitearch and don't attempt to remove
$installvendorarch, the former is easy and the latter not needed.
2006-11-03 07:09:45 +00:00
jlam
e811379bc2 Pluralize INSTALL_TEMPLATE and DEINSTALL_TEMPLATE variable names as per
the pkglint warning:

    As {INSTALL,DEINSTALL}_TEMPLATE is modified using "+=", its name
    should indicate plural.

This does make the variables a bit more suggestive of the fact that they
hold lists of values.
2006-06-15 22:13:58 +00:00
rillig
4a96d61132 Fixed pkglint warnings. 2006-06-09 08:50:24 +00:00
jlam
92f0b330ce Error out if the packlist isn't specified correctly, so we don't pretend
to have a working PLIST and a successful installation.
2006-05-02 02:28:24 +00:00
jlam
a3aa1c0d3c Update lang/perl5 to 5.8.8. Changes from version 5.8.7 include:
* Updates of many standard Perl modules.
   * Performance enhancements for loadable modules and memory usage.

   * Fixed bug when running with "-w".  Previously when running with
     warnings enabled globally via "-w", selective disabling of specific
     warning categories would actually turn off all warnings.  This
     is now fixed; now "no warnings 'io';" will only turn off warnings
     in the "io" class.  This bug fix may cause some programs to start
     correctly issuing warnings.

   * Perl 5.8.4 introduced a change so that assignments of "undef" to a
     scalar, or of an empty list to an array or a hash, were optimised away.
     As this could cause problems when "goto" jumps were involved, this
     change has been backed out.

   * Using the sprintf function with some formats could lead to a
     buffer overflow in some specific cases.  This has been fixed,
     along with several other bugs, notably in bounds checking.

   * Fixed bug in pkgsrc-installed perl-5.8.7 and all subsequent
     PKGREVISIONs, where perl didn't look for site modules under
     /usr/pkg/lib/perl5/site_perl, but only under
     /usr/pkg/lib/perl5/site_perl/5.8.0, and similarly for the vendor
     modules.

   * Honor PKGMANDIR when installing man pages.
2006-04-09 06:34:32 +00:00
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
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
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