The NetBSD Project

CVS log for pkgsrc/lang/perl5/module.mk

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / lang / perl5

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.74 / (download) - annotate - [select for diffs], Sun Nov 3 19:04:05 2019 UTC (6 months, 3 weeks ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, HEAD
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored)

lang: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.

Revision 1.73 / (download) - annotate - [select for diffs], Sun Jan 7 11:40:57 2018 UTC (2 years, 4 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.72: +6 -1 lines
Diff to previous 1.72 (colored)

Improved documentation for "make help".

Revision 1.72 / (download) - annotate - [select for diffs], Sat Feb 6 00:46:11 2016 UTC (4 years, 3 months ago) by mef
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1
Changes since 1.71: +5 -4 lines
Diff to previous 1.71 (colored)

Add Module::Build::{Bundle,Tiny} for make help topic=PERL5_MODULE_TYPE.

Revision 1.71 / (download) - annotate - [select for diffs], Wed May 21 13:35:23 2014 UTC (6 years ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.70: +1 -3 lines
Diff to previous 1.70 (colored)

Move pthread.buildlink3.mk from module.mk to buildlink3.mk with conditionally.
* In module.mk, pthread is marked as direct dependency unconditionally for
  packages using module.mk.  It is unwanted behavior.
* Include pthread.buildlink3.mk in buildlink3.mk only for the case perl5 is
  built with "threads".

Fixes potential unwanted dependeny on pthread using perl5/module.mk.

Revision 1.70 / (download) - annotate - [select for diffs], Mon Feb 17 04:28:45 2014 UTC (6 years, 3 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.69: +2 -2 lines
Diff to previous 1.69 (colored)

put a apace before "||" operator.

Revision 1.69 / (download) - annotate - [select for diffs], Sun Feb 16 22:40:57 2014 UTC (6 years, 3 months ago) by sno
Branch: MAIN
Changes since 1.68: +8 -13 lines
Diff to previous 1.68 (colored)

Minor cleanup op PERL5_MODULE_TYPE & Bundle support for M::B

Revision 1.68 / (download) - annotate - [select for diffs], Wed Jul 3 07:16:39 2013 UTC (6 years, 10 months ago) by sno
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3
Changes since 1.67: +11 -2 lines
Diff to previous 1.67 (colored)

Adding support for Module::Build::Tiny and fix --installdirs flag for
Module::Build and Module::Build::Tiny (Module::Build expects flags
instead of VAR=VALUE keychains).

Revision 1.67 / (download) - annotate - [select for diffs], Wed Oct 10 09:27:12 2012 UTC (7 years, 7 months ago) by sno
Branch: MAIN
CVS Tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.66: +4 -4 lines
Diff to previous 1.66 (colored)

adding BUILD_PARAMS analogue to MAKE_PARAMS for Module::Build Perl5 modules

Revision 1.66 / (download) - annotate - [select for diffs], Fri May 18 21:04:46 2012 UTC (8 years ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2
Changes since 1.65: +4 -4 lines
Diff to previous 1.65 (colored)

Fix PR pkg/46439

Fix comment, PERL5_MODULE_TYPE also accepts "Module::Install::Bundled".

Revision 1.65 / (download) - annotate - [select for diffs], Mon Aug 15 04:48:36 2011 UTC (8 years, 9 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored)

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.

Revision 1.64 / (download) - annotate - [select for diffs], Fri Aug 5 18:06:14 2011 UTC (8 years, 9 months ago) by adam
Branch: MAIN
Changes since 1.63: +2 -2 lines
Diff to previous 1.63 (colored)

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.

Revision 1.63 / (download) - annotate - [select for diffs], Fri Aug 27 05:27:37 2010 UTC (9 years, 9 months ago) by sno
Branch: MAIN
CVS Tags: pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3
Changes since 1.62: +24 -23 lines
Diff to previous 1.62 (colored)

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.

Revision 1.62 / (download) - annotate - [select for diffs], Sun May 9 18:46:34 2010 UTC (10 years ago) by morr
Branch: MAIN
CVS Tags: pkgsrc-2010Q2-base, pkgsrc-2010Q2
Changes since 1.61: +3 -2 lines
Diff to previous 1.61 (colored)

Fix issue with PLIST generation by not reading existing .packlist.

Revision 1.61 / (download) - annotate - [select for diffs], Sat Jan 16 15:02:14 2010 UTC (10 years, 4 months ago) by sno
Branch: MAIN
CVS Tags: pkgsrc-2010Q1-base, pkgsrc-2010Q1
Changes since 1.60: +17 -2 lines
Diff to previous 1.60 (colored)

Adding support to install via bundled Module::Install by allowing
PERL5_MODULE_TYPE set to Module::Install::Bundled.

Revision 1.60 / (download) - annotate - [select for diffs], Thu Jun 11 10:32:29 2009 UTC (10 years, 11 months ago) by sno
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2
Changes since 1.59: +31 -4 lines
Diff to previous 1.59 (colored)

- enabling some tuning options to control 64-bit usage of built perl
- add support for Module::Install

Oked by joerg@

Revision 1.59 / (download) - annotate - [select for diffs], Sat May 16 07:22:04 2009 UTC (11 years ago) by rillig
Branch: MAIN
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored)

cleanup: replaced _PKG_SILENT and _PKG_DEBUG with RUN.

Revision 1.58 / (download) - annotate - [select for diffs], Sat Mar 21 23:11:29 2009 UTC (11 years, 2 months ago) by sno
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)

Fix PR pkg/40944 by using the Module::Build from Perl's Core as default.

Oked by tron@ and he@

Revision 1.57 / (download) - annotate - [select for diffs], Sat Dec 20 13:08:00 2008 UTC (11 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2008Q4-base, pkgsrc-2008Q4
Changes since 1.56: +1 -8 lines
Diff to previous 1.56 (colored)

Improve AIX support to the point that dynamic modules work. Bump
revision. In collaboration with Jens Rehsack.

Revision 1.56 / (download) - annotate - [select for diffs], Sun Nov 18 21:44:56 2007 UTC (12 years, 6 months ago) by minskim
Branch: MAIN
CVS Tags: pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored)

If perl is buildlinked, used perl in ${BUILDLINK_PREFIX.perl} and
do not rely on the tools framework.

Revision 1.55 / (download) - annotate - [select for diffs], Sat May 26 12:46:20 2007 UTC (13 years ago) by heinz
Branch: MAIN
CVS Tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2
Changes since 1.54: +7 -2 lines
Diff to previous 1.54 (colored)

Enable installation to DESTDIR for all packages based on Module::Build.

Revision 1.54 / (download) - annotate - [select for diffs], Sat Apr 21 09:41:00 2007 UTC (13 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.53: +2 -1 lines
Diff to previous 1.53 (colored)

The error messages on AIX are weird, but maybe someone understands them.

Revision 1.53 / (download) - annotate - [select for diffs], Wed Oct 4 22:24:49 2006 UTC (13 years, 7 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4
Changes since 1.52: +13 -9 lines
Diff to previous 1.52 (colored)

PERL5_CONFIGURE_DIRS may now contain directory names relative to
${WRKSRC}. This saves some keystrokes when writing Makefiles.

Revision 1.52 / (download) - annotate - [select for diffs], Wed Oct 4 21:31:34 2006 UTC (13 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.51: +8 -6 lines
Diff to previous 1.51 (colored)

Only do the build and test actions when NO_BUILD does not prevent them.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Mar 9 11:10:47 2006 UTC (14 years, 2 months ago) by itohy
Branch: MAIN
CVS Tags: pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.50: +3 -1 lines
Diff to previous 1.50 (colored)

Make perl5 modules build with pthread library from pkgsrc.

Revision 1.50 / (download) - annotate - [select for diffs], Wed Oct 19 04:40:23 2005 UTC (14 years, 7 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.49: +2 -41 lines
Diff to previous 1.49 (colored)

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.

Revision 1.49 / (download) - annotate - [select for diffs], Fri Aug 12 19:59:03 2005 UTC (14 years, 9 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

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.

Revision 1.48 / (download) - annotate - [select for diffs], Sat Aug 6 06:18:45 2005 UTC (14 years, 9 months ago) by jlam
Branch: MAIN
Changes since 1.47: +119 -108 lines
Diff to previous 1.47 (colored)

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.

Revision 1.47 / (download) - annotate - [select for diffs], Wed Jul 13 18:01:31 2005 UTC (14 years, 10 months ago) by jlam
Branch: MAIN
Changes since 1.46: +5 -3 lines
Diff to previous 1.46 (colored)

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.

Revision 1.46 / (download) - annotate - [select for diffs], Fri May 20 03:00:16 2005 UTC (15 years ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.45: +1 -5 lines
Diff to previous 1.45 (colored)

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.

Revision 1.45 / (download) - annotate - [select for diffs], Wed May 18 22:42:07 2005 UTC (15 years ago) by jlam
Branch: MAIN
Changes since 1.44: +5 -1 lines
Diff to previous 1.44 (colored)

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.

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Sat Apr 2 11:32:48 2005 UTC (15 years, 1 month ago) by salo
Branch: pkgsrc-2005Q1
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

Pullup ticket 416 - requested by Klaus Heinz
build infrastructure fix for perl5

Revisions pulled up:
- pkgsrc/lang/perl5/module.mk	1.44

   Module Name:		pkgsrc
   Committed By:	heinz
   Date:		Fri Apr  1 22:37:44 UTC 2005

   Modified Files:
   	pkgsrc/lang/perl5: module.mk

   Log Message:
   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.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Apr 1 22:37:44 2005 UTC (15 years, 2 months ago) by heinz
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

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.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Mar 24 22:19:06 2005 UTC (15 years, 2 months ago) by tv
Branch: MAIN
Changes since 1.42: +2 -6 lines
Diff to previous 1.42 (colored)

Don't check USE_BUILDLINK3 any more.

Revision 1.42 / (download) - annotate - [select for diffs], Sat Feb 26 00:04:48 2005 UTC (15 years, 3 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base
Branch point for: pkgsrc-2005Q1
Changes since 1.41: +6 -1 lines
Diff to previous 1.41 (colored)

Enforce the values that PERL5_MODULE_TYPE can take.

Revision 1.41 / (download) - annotate - [select for diffs], Fri Feb 25 15:57:12 2005 UTC (15 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

Depend on latest p5-Module-Build to get .packlist files.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Feb 24 22:38:42 2005 UTC (15 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.39: +16 -9 lines
Diff to previous 1.39 (colored)

* 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

Revision 1.39 / (download) - annotate - [select for diffs], Wed Feb 23 10:42:07 2005 UTC (15 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

Remove :Q that broke things, introduced in previous.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Feb 21 12:08:45 2005 UTC (15 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.37: +29 -2 lines
Diff to previous 1.37 (colored)

Add basic Module::Build support; set PERL5_USES_MODULE_BUILD
for packages that want it.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Jul 6 22:52:33 2004 UTC (15 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4, pkgsrc-2004Q3-base, pkgsrc-2004Q3
Changes since 1.36: +1 -3 lines
Diff to previous 1.36 (colored)

Remove references to buildlink2.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Jul 3 14:13:06 2004 UTC (15 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.35: +6 -5 lines
Diff to previous 1.35 (colored)

Do not unset USE_GCC3, just complain if building
with GCC on AIX. Okayed by grant.

Revision 1.35 / (download) - annotate - [select for diffs], Wed Jun 9 17:53:04 2004 UTC (15 years, 11 months ago) by xtraeme
Branch: MAIN
CVS Tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

PR pkg/25428: Georg Schwarz, remove an extra '\' in front of ${TRUE},
to fix the problems seen in the PLIST files.

Revision 1.34 / (download) - annotate - [select for diffs], Wed May 5 08:29:44 2004 UTC (16 years ago) by recht
Branch: MAIN
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored)

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@

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jan 21 09:40:49 2004 UTC (16 years, 4 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

Override OPTIMIZE instead of PASTHRU_INC to pass ${CFLAGS} and ${CPPFLAGS}
into the Perl module build.  OPTIMIZE works for all versions of Perl.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Jan 13 08:02:12 2004 UTC (16 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.31: +5 -2 lines
Diff to previous 1.31 (colored)

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.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Jan 13 07:15:41 2004 UTC (16 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.30: +22 -21 lines
Diff to previous 1.30 (colored)

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.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Jan 13 00:59:14 2004 UTC (16 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.29: +14 -2 lines
Diff to previous 1.29 (colored)

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.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jan 12 15:50:22 2004 UTC (16 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

We need PERL5_INSTALLARCHLIB, so compute its value appropriately.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Jan 8 18:03:04 2004 UTC (16 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.27: +8 -6 lines
Diff to previous 1.27 (colored)

Fix PLIST issues for perl5 in the overwrite case after removing
packlist -> PLIST generator from bsd.pkg.mk to perl5/module.mk.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Dec 3 17:29:12 2003 UTC (16 years, 5 months ago) by erh
Branch: MAIN
Changes since 1.26: +8 -1 lines
Diff to previous 1.26 (colored)

On AIX, perl doesn't like building with gcc.
Force it to use /usr/bin/cc instead.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Nov 27 04:11:40 2003 UTC (16 years, 6 months ago) by jlam
Branch: MAIN
Changes since 1.25: +5 -4 lines
Diff to previous 1.25 (colored)

It's actually PASTHRU_INC, not INC.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Nov 25 19:30:21 2003 UTC (16 years, 6 months ago) by jlam
Branch: MAIN
Changes since 1.24: +2 -39 lines
Diff to previous 1.24 (colored)

Make PERL5_SUB_* public so that they may be used in buildlink2.mk files
and also in package Makefiles.

Revision 1.24 / (download) - annotate - [select for diffs], Tue Nov 25 17:45:56 2003 UTC (16 years, 6 months ago) by jlam
Branch: MAIN
Changes since 1.23: +11 -8 lines
Diff to previous 1.23 (colored)

MakeMaker provides two hooks, INC and OTHERLDFLAGS, to pass options to the
compiler and linker.  Use them to pass CPPFLAGS and LDFLAGS from pkgsrc.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Nov 25 15:37:35 2003 UTC (16 years, 6 months ago) by jlam
Branch: MAIN
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored)

Make PERL5_INSTALLSITELIB, PERL5_INSTALLSITEARCH, etc. public so that
package Makefiles can refer to the directory in which they install Perl5
site modules.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Sep 13 22:58:07 2003 UTC (16 years, 8 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.21: +16 -3 lines
Diff to previous 1.21 (colored)

Final answer to perllocal.pod problem: just remove the file on pkgviews
installations.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Sep 13 22:50:58 2003 UTC (16 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)

Sprinkle .PHONY.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Sep 13 21:29:44 2003 UTC (16 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.19: +3 -9 lines
Diff to previous 1.19 (colored)

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.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Sep 13 15:20:53 2003 UTC (16 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Back out INSTALL_TARGET?= pure_install since it will break several
packages that build and install perl5 modules as part of a larger
installation.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Sep 13 15:04:59 2003 UTC (16 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.17: +21 -16 lines
Diff to previous 1.17 (colored)

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.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Sep 13 14:13:14 2003 UTC (16 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.16: +11 -3 lines
Diff to previous 1.16 (colored)

Need to override the directory that scripts are installed into.  For some
reason, there isn't a sitescript variable.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Sep 13 13:53:31 2003 UTC (16 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.15: +16 -9 lines
Diff to previous 1.15 (colored)

_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.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Sep 13 08:25:03 2003 UTC (16 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.14: +6 -1 lines
Diff to previous 1.14 (colored)

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.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Sep 13 01:56:25 2003 UTC (16 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.13: +9 -0 lines
Diff to previous 1.13 (colored)

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.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Sep 12 23:39:42 2003 UTC (16 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.12: +46 -4 lines
Diff to previous 1.12 (colored)

Make including module.mk work in a pkgviews world, where perl's PREFIX
isn't the same as the module's PREFIX.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Aug 3 20:52:30 2003 UTC (16 years, 9 months ago) by jmmv
Branch: MAIN
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

Add missing .endif.  *sigh*

Revision 1.11 / (download) - annotate - [select for diffs], Sun Aug 3 11:47:01 2003 UTC (16 years, 9 months ago) by jmmv
Branch: MAIN
Changes since 1.10: +4 -3 lines
Diff to previous 1.10 (colored)

Go back to the 'target' conditional.  'commands' fails on the 1.5 branch,
according to private mail by Thorsten Frueauf.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jul 30 15:12:28 2003 UTC (16 years, 10 months ago) by jmmv
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Use !commands(do-configure) instead of !target(do-configure).

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jul 22 23:44:46 2003 UTC (16 years, 10 months ago) by jmmv
Branch: MAIN
Changes since 1.8: +3 -1 lines
Diff to previous 1.8 (colored)

Let a package override the contents of the do-configure target, if needed.
Closes PR pkg/21111 by Todd Vierling.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Mar 14 19:37:43 2003 UTC (17 years, 2 months ago) by jlam
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

(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.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Mar 5 16:07:44 2003 UTC (17 years, 2 months ago) by seb
Branch: MAIN
Changes since 1.6: +4 -1 lines
Diff to previous 1.6 (colored)

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.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Feb 18 15:58:49 2003 UTC (17 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

It's BUILDLINK_DEPMETHOD.perl that should append "full".

Revision 1.5 / (download) - annotate - [select for diffs], Tue Feb 18 10:34:10 2003 UTC (17 years, 3 months ago) by jklos
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

BUILDLINK_DEPENDS.perl was incorrectly set to full; full is not a package
name. Changed to perl-5*.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Feb 17 20:08:46 2003 UTC (17 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored)

Require that we use a full dependency on perl when building/installing
Perl modules.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Dec 23 14:36:29 2002 UTC (17 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-1-6-1-base, netbsd-1-6-1
Changes since 1.2: +2 -6 lines
Diff to previous 1.2 (colored)

Remove support for buildlink.mk -- noone uses it any longer.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Sep 26 12:31:28 2002 UTC (17 years, 8 months ago) by seb
Branch: MAIN
Changes since 1.1: +13 -6 lines
Diff to previous 1.1 (colored)

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!

Revision 1.1 / (download) - annotate - [select for diffs], Mon Sep 23 08:56:13 2002 UTC (17 years, 8 months ago) by jlam
Branch: MAIN

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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>