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