Commit graph

130 commits

Author SHA1 Message Date
jlam
15c0280d2d Add a patch to the perl package that causes perl modules from CPAN to link
directly against -lperl when built.  Combined with the previous update of
perl to add ${LOCALBASE}/lib to the rpath when creating shared
libraries/modules, these two changes make using mod_perl.so (ap-perl) more
painless.  All perl shared modules now contain interlibrary dependencies to
the shared libraries they need.  Instead of needing (at least on ELF):

        LoadFile !/usr/lib/libm.so
        LoadFile lib/perl5/5.6.1/i386-netbsd/CORE/libperl.so
        ...
        # Any other libraries needed by perl shared modules need to listed
        # with LoadFile here.
        ...
        LoadModule perl_module lib/httpd/mod_perl.so
        AddModule mod_perl.c

you'd need only the last two lines as the mod_perl authors intended.

I've tested this patch for many weeks now, successfully loading and using
the p5-Apache-ASP module as my test bed, and I haven't noticed any problems
with normal perl usage.

Also comment the Makefile slightly better.
2001-10-14 19:55:47 +00:00
jlam
26426041cb The previous change (making ExtUtils recognize -Wl,-R as the prefix for a
linker rpath flag) deserves a bump in the package version number.  Go to
perl-5.6.1nb5.
2001-10-02 06:46:43 +00:00
jlam
f49b05e650 Teach the ExtUtils modules (the ones that create Makefiles for perl
modules) about -Wl,-R.  We cause -Wl,-R/path/to/libdir in LIBS settings
to now get propagated correctly to the link command for shared modules.
The rpath flag is also silently coerced to start with -Wl,-R or -R
depending on the contents of ${LDDLFLAGS} to deal with either cc or ld
being invoked.
2001-10-02 06:37:55 +00:00
jlam
2eea86c397 Update perl to 5.6.1nb4. Changes from version 5.6.1nb3 include:
* Ensure that shared objects/libraries created by perl Makefiles include
  the correct run-time library search path by also including the local
  libraries directories.  For example, shared objects are linked on ELF
  platforms with "cc -Wl,-R/usr/pkg/lib -L/usr/pkg/lib", and not just
  "cc -L/usr/pkg/lib" as before.
2001-10-01 07:05:10 +00:00
jlam
c537c54dcf The perl Configure script has a check for several directories, including
/usr/local/scripts and forces the scripts to be installed there if it
exists.  We override this by explicitly setting "scriptdir" to
"${PREFIX}/bin".  This should fix the problem noted in pkg/14050 by
Brian Stark <bpstark@pacbell.net>.
2001-09-26 03:12:14 +00:00
jlam
2ae2e32a34 Note that if LIBSWANTED.${OPSYS} isn't defined, then the perl defaults for
that OS is used.
2001-09-17 18:11:36 +00:00
tron
95a495ffdf Solve SunOS build problem in a much cleaner way by predefining "libswanted"
for Perl's configuration script as suggested by Johnny C. Lam in private
e-mail.
2001-09-17 18:04:42 +00:00
tron
f2f891d4fb Stop configure from trying to use "libiconv" because "/usr/include/iconv.h"
exists under SunOS.
2001-09-17 11:14:51 +00:00
jlam
71f03aac07 Search for <machine/ieeefp.h> instead of <ieeefp.h>. This fixes the
problem reported in pkg/13663 by John Klos <john@sixgirls.org> where on
older (pre-current) NetBSD/vax, <ieeefp.h> exists but <machine/ieeefp.h>
doesn't, which was broken since <ieeefp.h> included <machine/ieeefp.h>.
2001-09-14 05:00:35 +00:00
jlam
dfe309aab4 Update perl to 5.6.1nb3. User-visible changes from the previous version
include:

- Re-adding ${LOCALBASE}/include and ${LOCALBASE}/lib to the local compiler
  search paths,

Other changes include:

- Migrating the setting to not install man3 pages from patch-ab into the
  package Makefile so that they aren't installed across all pkgsrc platforms.

- Better document SYSLIBPATH.${OPSYS}.
2001-09-12 18:58:57 +00:00
jlam
3c7130fadb Note conflict with perl-base-*, pointed out by David Brownlee
<abs@formula1.com>.
2001-09-06 17:33:50 +00:00
jlam
b56ee42f19 Update perl to 5.6.1nb2. Changes from perl-5.6.1nb1 include undoing the
perl mess I created a year ago and making this a vanilla perl installation
again, and explicitly setting the system library path so that /usr/local/*
doesn't appear anywhere.

The installed perl library now also includes CGI.pm-2.752.  The www/p5-CGI
package installs in to ${PERL5_SITEARCH} so there is no conflict with the
"standard" CGI.pm.
2001-09-05 17:13:40 +00:00
tv
4f6288056f Perl5 needs a "nb1" version bump to make sure everything which depends on
it is updated not to have the perl-mk dependency.

This braindead nature of pkgsrc to register all dependencies recursively
into binary pkgs *will* be fixed.
2001-07-09 17:21:22 +00:00
tv
d6c0d5882c * Make perl stop installing anything in the man3 directory. It's starting
to install things like "open.3" and "lib.3" which confuse users.  Perl
  ships with a documentation tool, "perldoc", for this purpose; create a
  MESSAGE indicating that it should be used instead.  (Perl still installs
  command line program manual pages in man1.)

* Integrate bsd.perl.mk into the perl5-base build where it should have been
  from the beginning.  The separate perl-mk pkg makes binary packages of
  perl-mk completely useless[*].  Older perl builders will not break, since
  <bsd.pkg.mk> contains fallback definitions that are evaluated at pkg
  build time.

=====

[*] bsd.perl.mk is tightly bound to the version of perl that is installed.
    The version name "perl-mk-1.1" is completely useless as a binary pkg,
    since keeping multiple binary versions of perl on a FTP server means
    that one of the perl-mk's will get clobbered.

    However, putting the current pkgsrc PERL5_DIST_VERS in the perl-mk pkg
    is also a problem, because that doesn't necessarily reflect the
    installed version of perl.  Snarfing the installed version at perl-mk
    build time would be even uglier, since you could not then walk the tree
    without perl being installed.

    The cleanest solution is to integrate bsd.perl.mk into the perl5-base
    pkg, and let those who have not upgraded perl yet use the runtime
    definitions in <bsd.pkg.mk>.
2001-07-09 17:10:25 +00:00
tron
f868463c0c Add mirror site in Finland and Germany. 2001-06-07 12:39:24 +00:00
jlam
a9dd17e584 Update perl to 5.6.1. Changes from perl-5.6.0 include many bug fixes,
the plugging of several memory leaks, fixes to the regular expression
engine, the addition of a Unicode character classes, better support for
64-bit platorms, and updates of many modules in the base Perl Library.
See perldelta.pod for more details.

Also update p5-Data-Dumper, p5-Devel-DProf, and p5-Devel-Peek to the
latest versions distributed with the perl-5.6.1 sources, and libperl to
5.6.1 to match the perl package.
2001-06-07 04:25:31 +00:00
jlam
c14ef19cf3 Update perl to 5.6.0nb6 as a result of requiring the new version of perl-base
(5.6.0nb2).
2001-05-20 05:16:07 +00:00
jlam
4240ca2c86 Update dependency on perl-mk to 1.1. 2001-04-22 06:28:30 +00:00
agc
fb467f5ac2 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:22:34 +00:00
manu
2d8ee1582d Modified the link process of the perl executable so that all libgcc.a is
included in the perl executable. We need this to make the upcoming
xerces-perl package working.
This hack should be made obsolete by gcc-3.0, which will have a libgcc.so.
See http://mail-index.netbsd.org/tech-pkg/2001/04/07/0000.html for more details
2001-04-12 18:14:16 +00:00
wiz
b24cf71748 Bump to 5.6.0nb4: Depend on perl-mk. 2001-02-20 16:33:35 +00:00
agc
82acd159f7 Move the COMMENT from being in its own file to a definition in the
package Makefile.
2001-02-17 09:06:56 +00:00
jlam
755b6bf050 Remove unneeded patches (moved to lang/perl5-base/patches). 2000-09-05 09:22:00 +00:00
jlam
af4c36b929 Update perl5 to 5.6.0nb3. This is now a meta-pkg which pulls in perl-base,
as well as other modules from a standard installation of perl-5.6.0.
2000-09-05 09:20:44 +00:00
jlam
7ad6d1a295 Use PERL5_PACKLIST. Goodbye unsightly PLIST-* !! 2000-08-30 19:46:47 +00:00
jlam
27aa37dd3c Update perl to 5.6.0nb2 from perl5-current. Changes from version 5.00404
(from commit log of perl5-current/Makefile):

 *  Interpreter cloning, threads, and concurrency
 *  Lexically scoped warning categories
 *  Unicode and UTF-8 support
 *  Support for interpolating named characters
 *  "our" declarations
 *  Support for strings represented as a vector of ordinals
 *  Improved Perl version numbering system
 *  New syntax for declaring subroutine attributes
 *  File and directory handles can be autovivified
 *  open() with more than two arguments
 *  64-bit support
 *  Large file support
 *  Long doubles
 *  "more bits"
 *  Enhanced support for sort() subroutines
 *  C<sort $coderef @foo> allowed
 *  File globbing implemented internally
 *  POSIX character class syntax [: :] supported
 *  Improved C<qw//> operator
 *  pack() format 'Z' supported
 *  pack() format modifier '!' supported
 *  pack() and unpack() support counted strings
 *  Comments in pack() templates
 *  Weak references
 *  Binary numbers supported
 *  Lvalue subroutines
 *  Some arrows may be omitted in calls through references
 *  Boolean assignment operators are legal lvalues
 *  exists() is supported on subroutine names
 *  exists() and delete() are supported on array elements
 *  Pseudo-hashes work better
 *  Automatic flushing of output buffers
 *  Better diagnostics on meaningless filehandle operations
 *  Where possible, buffered data discarded from duped input filehandle
 *  eof() has the same old magic as <>
 *  binmode() can be used to set :crlf and :raw modes
 *  C<-T> filetest recognizes UTF-8 encoded files as "text"
 *  system(), backticks and pipe open now reflect exec() failure
 *  Improved diagnostics
 *  Diagnostics follow STDERR
 *  syswrite() ease-of-use
 *  Better syntax checks on parenthesized unary operators
 *  Bit operators support full native integer width
 *  Improved security features
 *  C<require> and C<do> may be overridden
 *  $^X variables may now have names longer than one character
 *  New variable $^C reflects C<-c> switch
 *  New variable $^V contains Perl version as a string
 *  Optional Y2K warnings
 *  Modules
 *  Pragmata
 *  dprofpp
 *  find2perl
 *  h2xs
 *  perlcc
 *  perldoc
 *  The Perl Debugger
 *  Simple sort() using { $a <=> $b } and the like are optimized
 *  Optimized assignments to lexical variables
 *  Faster subroutine calls
 *  -Dusethreads means something different
 *  New Configure flags
 *  Threadedness and 64-bitness now more daring
 *  Long Doubles
    ...

See 'perldoc perldelta' for a full list.
2000-08-30 18:42:23 +00:00
tron
782b73a94b Adapt to new handling of "${CONFIGURE}". 2000-03-27 08:54:53 +00:00
tron
10f7165000 Downgrade "perl" package to working version 5.00404. 2000-01-18 22:31:46 +00:00
jlam
dfd70adc1d Change PLIST handling to differentiate between ELF and a.out, as well as
shared and static (NOPIC).  Works with ELF on -current now.

NOPIC and SunOS support may be broken; someone else with the necessary
resources should test and possibly fix these cases.
2000-01-18 17:11:50 +00:00
hubertf
e98802e2bb Unbreak this at least for non-NOPIC architectures.
If someone sends me the needed changes for NOPIC machines, this should be
split up again. (If needed!)
2000-01-17 16:03:49 +00:00
christos
2869c7e366 Upgrade perl to 5.005_03 2000-01-17 03:07:09 +00:00
simonb
a2c9fecb2f Remove .../perllocal.pod with @unexec rm. As per email discussion with
Hubert Feyrer on tech-pkg.
1999-12-20 06:07:24 +00:00
veego
92142ec679 Use the shared PLIST on Solaris and remove Socket from the egrep -v. 1999-12-08 16:06:25 +00:00
hubertf
dbd92defc5 regen after last commit some time ago 1999-09-06 19:28:01 +00:00
kim
15899616b3 Make this compile on my current(ish) sparc... 1999-09-06 03:54:34 +00:00
agc
8136917532 Modifications for better Solaris support, to search for a fuller list of
libraries during configuration, and enabling dynamic support.
1999-08-31 18:51:35 +00:00
abs
eff237cdcb Fix the PLIST in the solaris case 1999-08-13 20:37:25 +00:00
agc
7bfb5c4758 Add package patch checksum files. 1999-07-09 13:54:06 +00:00
bad
2c406f32e6 Don't bother to pull in -lposix for the POSIX module. It contains nothing
of interest to this module.
1999-07-02 15:35:14 +00:00
bad
eaa90c0b8f Get rid of -lposix. It makes perl behave slightly different then the
rest of the system.
1999-06-15 12:27:23 +00:00
abs
bf9eaa9917 s/netbsd/${LOWER_OPSYS}/ 1999-05-04 22:39:57 +00:00
tron
e3c75e0f00 Pass "${CFLAGS}" to configure script as suggested by Adam Ciarcinski. 1999-04-27 16:44:15 +00:00
agc
79e49eaba2 s/netbsd/${LOWER_OPSYS}/g 1999-04-08 18:51:48 +00:00
agc
1bb3007c04 s/make/${MAKE}/g 1999-03-08 10:53:55 +00:00
tv
2f728b6fc4 Re-enable 5.003 bin-compat. Though it's not *supposed* to do so,
compiling modules with this turned on makes the resulting modules or
libperl-linking programs reference 5.003 namespace symbols.
1999-02-04 22:16:00 +00:00
tv
28e918eeb1 Move the rpath setting from hints/netbsd.sh to Configure. In hints, it
adds an extra rpath of -Wl-R/CORE.
1998-12-02 21:14:41 +00:00
tv
f57d62862c Do not use Perl's malloc (will interfere with modules that interact with
code that is outside of Perl's reach).  The BSD malloc is Fine.
1998-12-02 16:53:02 +00:00
tv
6b2c748df4 d_vfork should be "$define", even if it produces a bogus "WHOA THERE"
warning; setting it to "true" doesn't work.
1998-12-02 15:41:02 +00:00
tv
300b494303 Do not enable binary compatibility with Perl 5.003. We have never had a
Perl 5.003 pkg, so the compatibility is moot; turning it on exposes
namespace polluting symbols.
1998-12-02 15:04:07 +00:00
tv
6323f0b6b7 Revert to building libperl statically, and clean up. 1998-12-02 02:28:30 +00:00
tv
159844d752 Add proper shared object support for ELF(!), and make libperl shared on
non-NOPIC systems.
1998-12-01 02:47:18 +00:00
bad
d8afd682fc Can't rely on NSIG indicating that signal.h has been included.
(Random crap includes sys/signal.h which defines NSIG.)
Fixes various signal related problems after 1.3H.
1998-11-26 17:43:47 +00:00
tv
ada1e56cbf Use PLIST-md.shared on alpha and place an exception into perl's Makefile,
not into the generic bsd.pkg.mk.
1998-10-03 03:14:23 +00:00
agc
3c3438c738 Allow perl to configure itself properly, even if Kaffe 1.0's
libnet.so.1.0 is installed in ${PREFIX}/lib.
1998-09-07 22:40:28 +00:00
tsarna
6bd0d65c65 The Grand Homepagification:
- New, optional Makefile variable HOMEPAGE, specifies a URL for
	  the home page of the software if it has one.
	- The value of HOMEPAGE is used to add a link from the
	  README.html files.
	- pkglint updated to know about it.  The "correct" location for
	  HOMEPAGE in the Makefile is after MAINTAINER, in that same
	  section.
1998-08-20 15:16:34 +00:00
kim
be46ec1b7b Configure uses ${PREFIX} so pass it in the environment.
(Or was it our patch only that introduced it -- then it
might need to be ${prefix} in patches/patch-aa instead).
In any case, this fix works (now gdbm is found if it is
already installed as a package).
1998-08-15 01:37:19 +00:00
hubertf
995b53b0b7 Comment things out with "#", not ":".
(fixes PR 5953 by jbernard@ox.mines.edu)
1998-08-12 02:36:47 +00:00
agc
05b88260d7 Add NetBSD RCS Ids. 1998-08-07 13:16:49 +00:00
agc
08c812cd79 Don't check for Configure input coming from a tty. 1998-08-07 11:39:04 +00:00
agc
41bfb30737 Add NetBSD RCS Ids. 1998-08-07 11:08:53 +00:00
agc
daa3dd519a Update package Makefiles for automatic manual page handling. 1998-06-22 12:44:29 +00:00
mycroft
7fc121d366 Pass the right argument type to semctl(). 1998-04-23 12:14:25 +00:00
frueauf
49e36ada0b Substitute all obvious FreeBSD ppl as MAINTAINER with packages@netbsd.org. 1998-04-20 11:56:17 +00:00
agc
258b808c9f Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree.
Remove redundant (and sometimes erroneous) comments.
1998-04-15 10:38:15 +00:00
hubertf
47bc45f50b do use vfork, pointed out by Charles Hannum 1998-03-24 13:07:53 +00:00
mycroft
08d3435d74 Strip a2p. 1998-03-16 06:56:19 +00:00
tron
1e0d09c896 Make sure that "-I/usr/local/include" and "-L/usr/local/lib" don't get
written into the configuration file.
1998-02-19 19:42:36 +00:00
hubertf
6e41267a89 Use MACHINE_ARCH for archname; Reported by Johnny C. Lam <lamj@stat.cmu.edu>
in PR 4990.
1998-02-14 17:54:50 +00:00
hubertf
f535cf3701 Replace "<$ARCH"> by "${MACHINE_ARCH}", keep "<$ARCH>"
(in bsd.port.mk) for backward compatibility.
1998-01-28 15:33:44 +00:00
hubertf
9f9f60683d portlint: add RCS Id 1998-01-24 20:22:40 +00:00
hubertf
ce7d0fbf92 portlint: fix RCS Id+MAN3, delete empty line 1998-01-24 20:21:44 +00:00
hubertf
8639bafeaa Fix setting CONFIGURE_ARGS ("=" -> "+=") 1997-12-22 07:45:38 +00:00
hubertf
5c89667006 Update for perl 5.004_04 and MI/MD PLIST. 1997-11-22 03:53:21 +00:00
hubertf
73774a6338 Update for perl 5.004_04 and MI/MD PLIST. 1997-11-22 03:42:28 +00:00
agc
5358faaf74 Add a NetBSD RCS Id to all the PLIST files. 1997-11-06 09:57:11 +00:00
hubertf
e4047cd34a i386 -> <$ARCH> (forgot some) 1997-10-17 21:38:59 +00:00
hubertf
6a3b8142d2 - Minor documentation fixup, mostly removing comments this won't run
on some FreeBSD releases (boy can I imagine some users wondering
   what OS they're running now 8-)
 - Sync PLIST with reality... esp. empty directories.
1997-10-14 00:26:20 +00:00
agc
b4d9040858 Generalise for non-i386 architectures:
+ Hardcode netbsd for the moment (until I'm allowed to use a <$OPSYS>
string).

+ Change the i386 hardcoded constant into <$ARCH>, which will be
modified by bsd.port.mk when constructing the derived .PLIST file at
package installation time.
1997-10-09 10:43:54 +00:00
agc
a4f91aeddc Add NetBSD RCS Id.
Add default directories for Perl's Configure script to search on
NetBSD.  Now why can't it grab these from the installer's path or
other environment variables?
1997-10-06 15:27:55 +00:00
agc
6f28891f98 Initial import of FreeBSD lang ports into the NetBSD
packages system.
1997-10-06 14:51:03 +00:00