Commit graph

149 commits

Author SHA1 Message Date
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