summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjlam <jlam>2000-09-05 09:18:21 +0000
committerjlam <jlam>2000-09-05 09:18:21 +0000
commitfa6399b5c6ed30c43e533d517131155620674309 (patch)
tree0bbd4a3a78c05e6c2f3da8bcf9bebf7cb6671294 /lang
parent5ef76324cc133284ac5a5bfc6d4ba2a3c87286d9 (diff)
downloadpkgsrc-fa6399b5c6ed30c43e533d517131155620674309.tar.gz
Reimport lang/perl5 to lang/perl5-base with some minor modifications.
This is the base installation of perl5, with several modules removed that are externally available through pkgsrc.
Diffstat (limited to 'lang')
-rw-r--r--lang/perl5-base/Makefile58
-rw-r--r--lang/perl5-base/files/md53
-rw-r--r--lang/perl5-base/files/patch-sum8
-rw-r--r--lang/perl5-base/patches/patch-aa205
-rw-r--r--lang/perl5-base/patches/patch-ab60
-rw-r--r--lang/perl5-base/patches/patch-ac13
-rw-r--r--lang/perl5-base/patches/patch-ad55
-rw-r--r--lang/perl5-base/patches/patch-ae20
-rw-r--r--lang/perl5-base/patches/patch-af26
-rw-r--r--lang/perl5-base/pkg/COMMENT1
-rw-r--r--lang/perl5-base/pkg/DESCR7
-rw-r--r--lang/perl5-base/pkg/PLIST1
12 files changed, 457 insertions, 0 deletions
diff --git a/lang/perl5-base/Makefile b/lang/perl5-base/Makefile
new file mode 100644
index 00000000000..a057549179e
--- /dev/null
+++ b/lang/perl5-base/Makefile
@@ -0,0 +1,58 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/09/05 09:18:21 jlam Exp $
+# FreeBSD Id: Makefile,v 1.20 1997/07/18 06:16:44 markm Exp
+#
+
+DISTNAME= perl-${PERL_VERSION}
+PKGNAME= perl-base-${PERL_VERSION}
+PERL_VERSION= 5.6.0
+CATEGORIES= lang devel perl5
+MASTER_SITES= ftp://ftp.digital.com/pub/plan/perl/CPAN/src/5.0/maint/ \
+ ftp://ftp.cdrom.com/pub/perl/CPAN/src/5.0/maint/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://language.perl.com/index.html
+
+HAS_CONFIGURE= # defined
+CONFIGURE_ENV+= PREFIX=${PREFIX}
+CONFIGURE_SCRIPT= ./Configure
+CONFIGURE_ARGS+= -sde -Dprefix=${PREFIX} -Doptimize="${CFLAGS}" \
+ -Darchname=${MACHINE_ARCH}-${LOWER_OPSYS} \
+ -Dcc=gcc -Dusemymalloc=false
+MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}
+
+.if exists(/usr/libexec/ld.so) || exists(/usr/libexec/ld.elf_so)
+CONFIGURE_ARGS+= -Duseshrplib=true
+.else
+CONFIGURE_ARGS+= -Duseshrplib=false
+.endif
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+MAKE_ENV+= CFLAGS=
+.endif
+
+PERL5_ARCHLIB= ${PREFIX}/lib/perl5/${PERL_VERSION}/${MACHINE_ARCH}-${LOWER_OPSYS}
+PERL5_SITEARCH= ${PREFIX}/lib/perl5/site_perl/${PERL_VERSION}/${MACHINE_ARCH}-${LOWER_OPSYS}
+PERL5_PACKLIST= ${PERL5_ARCHLIB}/.packlist
+
+test:
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} test
+
+post-patch:
+ cd ${WRKSRC}/ext/DynaLoader/hints && ${CP} -f openbsd.pl netbsd.pl
+
+# Remove several modules which are externally available in pkgsrc and don't
+# need to be part of the base perl distribution.
+#
+pre-configure:
+ cd ${WRKSRC}/ext; ${RM} -rf Data Devel GDBM_File
+ cd ${WRKSRC}/lib; ${RM} -rf CGI CGI.pm
+ cd ${WRKSRC}/utils; ${RM} -f dprofpp.PL
+
+post-install:
+ @strip ${PREFIX}/bin/a2p
+ @strip ${PREFIX}/bin/perl
+ ${RMDIR} -p ${PERL5_SITEARCH} 2>/dev/null || ${TRUE}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/perl5-base/files/md5 b/lang/perl5-base/files/md5
new file mode 100644
index 00000000000..f52de9c8591
--- /dev/null
+++ b/lang/perl5-base/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/09/05 09:18:21 jlam Exp $
+
+MD5 (perl-5.6.0.tar.gz) = b2940e2cc6312bcfa52355b684e70b9d
diff --git a/lang/perl5-base/files/patch-sum b/lang/perl5-base/files/patch-sum
new file mode 100644
index 00000000000..4c50434c1d2
--- /dev/null
+++ b/lang/perl5-base/files/patch-sum
@@ -0,0 +1,8 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/09/05 09:18:21 jlam Exp $
+
+MD5 (patch-aa) = 22d1a3a613210ca5f129c81449eab10b
+MD5 (patch-ab) = 032835dd7aaab9ee4531e7e6e83ffba5
+MD5 (patch-ac) = ddd3e3b08afdc062c78f26175e4fcc44
+MD5 (patch-ad) = 76f075f7badc7dcc5a315b3c2a82657c
+MD5 (patch-ae) = 197b8ed09f99be86865c0d6d66927e96
+MD5 (patch-af) = 16d95e0667ef104d0dba4a61531d5b11
diff --git a/lang/perl5-base/patches/patch-aa b/lang/perl5-base/patches/patch-aa
new file mode 100644
index 00000000000..aac63250e99
--- /dev/null
+++ b/lang/perl5-base/patches/patch-aa
@@ -0,0 +1,205 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/09/05 09:18:21 jlam Exp $
+
+--- Configure.orig Wed Mar 22 15:36:37 2000
++++ Configure
+@@ -70,7 +70,7 @@
+ fi
+
+ : Proper PATH setting
+-paths='/bin /usr/bin /usr/local/bin /usr/ucb /usr/local /usr/lbin'
++paths='/bin /usr/bin ${PREFIX}/bin /usr/ucb ${PREFIX} /usr/lbin'
+ paths="$paths /opt/bin /opt/local/bin /opt/local /opt/lbin"
+ paths="$paths /usr/5bin /etc /usr/gnu/bin /usr/new /usr/new/bin /usr/nbin"
+ paths="$paths /opt/gnu/bin /opt/new /opt/new/bin /opt/nbin"
+@@ -955,7 +955,7 @@
+ archobjs=''
+ : Possible local include directories to search.
+ : Set locincpth to "" in a hint file to defeat local include searches.
+-locincpth="/usr/local/include /opt/local/include /usr/gnu/include"
++locincpth="${PREFIX}/include /opt/local/include /usr/gnu/include"
+ locincpth="$locincpth /opt/gnu/include /usr/GNU/include /opt/GNU/include"
+ :
+ : no include file wanted by default
+@@ -965,13 +965,13 @@
+ : change the next line if compiling for Xenix/286 on Xenix/386
+ xlibpth='/usr/lib/386 /lib/386'
+ : Possible local library directories to search.
+-loclibpth="/usr/local/lib /opt/local/lib /usr/gnu/lib"
++loclibpth="${PREFIX}/lib /opt/local/lib /usr/gnu/lib"
+ loclibpth="$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib"
+
+ : general looking path for locating libraries
+ glibpth="/usr/lib/large /lib /usr/lib $xlibpth"
+ glibpth="$glibpth /lib/large /usr/lib/small /lib/small"
+-glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib"
++glibpth="$glibpth /usr/ccs/lib /usr/ucblib ${PREFIX}/lib"
+ test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth"
+ test -f /shlib/libc.so && glibpth="/shlib $glibpth"
+
+@@ -992,10 +992,17 @@
+
+ : List of libraries we want.
+ : If anyone needs -lnet, put it in a hint file.
++case `uname -s` in
++NetBSD)
++ libswanted='m crypt'
++ ;;
++*)
+ libswanted='sfio socket bind inet nsl nm ndbm gdbm dbm db malloc dl'
+ libswanted="$libswanted dld ld sun m c cposix posix"
+ libswanted="$libswanted ndir dir crypt sec"
+ libswanted="$libswanted ucb bsd BSD PW x iconv"
++ ;;
++esac
+ : We probably want to search /usr/shlib before most other libraries.
+ : This is only used by the lib/ExtUtils/MakeMaker.pm routine extliblist.
+ glibpth=`echo " $glibpth " | sed -e 's! /usr/shlib ! !'`
+@@ -1337,10 +1344,10 @@
+ case "$fastread$alldone" in
+ yescont|yesexit) ;;
+ *)
+- if test ! -t 0; then
+- echo "Say 'sh Configure', not 'sh <Configure'"
+- exit 1
+- fi
++# if test ! -t 0; then
++# echo "Say 'sh Configure', not 'sh <Configure'"
++# exit 1
++# fi
+ ;;
+ esac
+
+@@ -2763,8 +2770,8 @@
+ syspath='/usr/man/man1 /usr/man/mann /usr/man/manl /usr/man/local/man1'
+ syspath="$syspath /usr/man/u_man/man1 /usr/share/man/man1"
+ syspath="$syspath /usr/catman/u_man/man1 /usr/man/l_man/man1"
+- syspath="$syspath /usr/local/man/u_man/man1 /usr/local/man/l_man/man1"
+- syspath="$syspath /usr/man/man.L /local/man/man1 /usr/local/man/man1"
++ syspath="$syspath ${PREFIX}/man/u_man/man1 ${PREFIX}/man/l_man/man1"
++ syspath="$syspath /usr/man/man.L /local/man/man1 ${PREFIX}/man/man1"
+ sysman=`./loc . /usr/man/man1 $syspath`
+ ;;
+ esac
+@@ -3577,7 +3584,7 @@
+ : Set private lib path
+ case "$plibpth" in
+ '') if ./mips; then
+- plibpth="$incpath/usr/lib /usr/local/lib /usr/ccs/lib"
++ plibpth="$incpath/usr/lib ${PREFIX}/lib /usr/ccs/lib"
+ fi;;
+ esac
+ case "$libpth" in
+@@ -4664,7 +4671,7 @@
+ : determine root of directory hierarchy where package will be installed.
+ case "$prefix" in
+ '')
+- dflt=`./loc . /usr/local /usr/local /local /opt /usr`
++ dflt=`./loc . ${PREFIX} ${PREFIX} /local /opt /usr`
+ ;;
+ *)
+ dflt="$prefix"
+@@ -4674,9 +4681,9 @@
+
+ By default, $package will be installed in $dflt/bin, manual pages
+ under $dflt/man, etc..., i.e. with $dflt as prefix for all
+-installation directories. Typically this is something like /usr/local.
++installation directories. Typically this is something like ${PREFIX}.
+ If you wish to have binaries under /usr/bin but other parts of the
+-installation under /usr/local, that's ok: you will be prompted
++installation under ${PREFIX}, that's ok: you will be prompted
+ separately for each of the installation directories, the prefix being
+ only used to set the defaults.
+
+@@ -4835,7 +4842,7 @@
+ installstyle=$dflt
+
+ : determine where private library files go
+-: Usual default is /usr/local/lib/perl5/$version.
++: Usual default is ${PREFIX}/lib/perl5. Also allow things like
+ : Also allow things like /opt/perl/lib/$version, since
+ : /opt/perl/lib/perl5... would be redundant.
+ : The default "style" setting is made in installstyle.U
+@@ -4871,8 +4878,8 @@
+ : determine where public architecture dependent libraries go
+ set archlib archlib
+ eval $prefixit
+-: privlib default is /usr/local/lib/$package/$version
+-: archlib default is /usr/local/lib/$package/$version/$archname
++: privlib default is ${PREFIX}/lib/$package/$version
++: archlib default is ${PREFIX}/lib/$package/$version/$archname
+ : privlib may have an optional trailing /share.
+ tdflt=`echo $privlib | $sed 's,/share$,,'`
+ tdflt=$tdflt/$archname
+@@ -5304,7 +5311,7 @@
+ ;;
+ *) d_vendorlib="$define"
+ : determine where vendor-supplied modules go.
+- : Usual default is /usr/local/lib/perl5/vendor_perl/$version
++ : Usual default is ${PREFIX}/lib/perl5/vendor_perl/$version
+ case "$vendorlib" in
+ '')
+ prog=`echo $package | $sed 's/-*[0-9.]*$//'`
+@@ -5338,8 +5345,8 @@
+ ;;
+ *) d_vendorarch="$define"
+ : determine where vendor-supplied architecture-dependent libraries go.
+- : vendorlib default is /usr/local/lib/perl5/vendor_perl/$version
+- : vendorarch default is /usr/local/lib/perl5/vendor_perl/$version/$archname
++ : vendorlib default is ${PREFIX}/lib/perl5/vendor_perl/$version
++ : vendorarch default is ${PREFIX}/lib/perl5/vendor_perl/$version/$archname
+ : vendorlib may have an optional trailing /share.
+ case "$vendorarch" in
+ '') dflt=`echo $vendorlib | $sed 's,/share$,,'`
+@@ -5481,7 +5488,7 @@
+ siteprefixexp="$ansexp"
+
+ : determine where site specific libraries go.
+-: Usual default is /usr/local/lib/perl5/site_perl/$version
++: Usual default is ${PREFIX}/lib/perl5/site_perl/$version
+ : The default "style" setting is made in installstyle.U
+ : XXX No longer works with Prefixit stuff.
+ prog=`echo $package | $sed 's/-*[0-9.]*$//'`
+@@ -6476,10 +6483,10 @@
+ aix)
+ # We'll set it in Makefile.SH...
+ ;;
+- solaris|netbsd)
++ solaris)
+ xxx="-R $shrpdir"
+ ;;
+- freebsd)
++ freebsd|netbsd)
+ xxx="-Wl,-R$shrpdir"
+ ;;
+ linux|irix*|dec_osf)
+@@ -7113,8 +7120,8 @@
+ : guess some guesses
+ $test -d /usr/share/scripts && dflt=/usr/share/scripts
+ $test -d /usr/share/bin && dflt=/usr/share/bin
+- $test -d /usr/local/script && dflt=/usr/local/script
+- $test -d /usr/local/scripts && dflt=/usr/local/scripts
++ $test -d ${PREFIX}/script && dflt=${PREFIX}/script
++ $test -d ${PREFIX}/scripts && dflt=${PREFIX}/scripts
+ $test -d $prefixexp/script && dflt=$prefixexp/script
+ set dflt
+ eval $prefixup
+@@ -7146,8 +7153,8 @@
+ fi
+
+ : determine where site specific architecture-dependent libraries go.
+-: sitelib default is /usr/local/lib/perl5/site_perl/$version
+-: sitearch default is /usr/local/lib/perl5/site_perl/$version/$archname
++: sitelib default is ${PREFIX}/lib/perl5/site_perl/$version
++: sitearch default is ${PREFIX}/lib/perl5/site_perl/$version/$archname
+ : sitelib may have an optional trailing /share.
+ case "$sitearch" in
+ '') dflt=`echo $sitelib | $sed 's,/share$,,'`
+@@ -13366,7 +13373,7 @@
+ case "$ranlib" in
+ :) ranlib='';;
+ '')
+- ranlib=`./loc ranlib X /usr/bin /bin /usr/local/bin`
++ ranlib=`./loc ranlib X /usr/bin /bin ${PREFIX}/bin`
+ $test -f $ranlib || ranlib=''
+ ;;
+ esac
diff --git a/lang/perl5-base/patches/patch-ab b/lang/perl5-base/patches/patch-ab
new file mode 100644
index 00000000000..29daa169ac3
--- /dev/null
+++ b/lang/perl5-base/patches/patch-ab
@@ -0,0 +1,60 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/09/05 09:18:21 jlam Exp $
+
+--- MANIFEST.orig Wed Mar 22 14:33:23 2000
++++ MANIFEST Mon Aug 28 18:35:18 2000
+@@ -214,20 +214,6 @@
+ ext/DB_File/hints/sco.pl Hint for DB_File for named architecture
+ ext/DB_File/typemap Berkeley DB extension interface types
+ ext/DB_File/version.c Berkeley DB extension interface version check
+-ext/Data/Dumper/Changes Data pretty printer, changelog
+-ext/Data/Dumper/Dumper.pm Data pretty printer, module
+-ext/Data/Dumper/Dumper.xs Data pretty printer, externals
+-ext/Data/Dumper/Makefile.PL Data pretty printer, makefile writer
+-ext/Data/Dumper/Todo Data pretty printer, futures
+-ext/Devel/DProf/Changes Perl code profiler changelog
+-ext/Devel/DProf/DProf.pm Perl code profiler
+-ext/Devel/DProf/DProf.xs Perl code profiler
+-ext/Devel/DProf/Makefile.PL Perl code profiler makefile writer
+-ext/Devel/DProf/Todo Perl code profiler todo list
+-ext/Devel/Peek/Changes Data debugging tool, changelog
+-ext/Devel/Peek/Makefile.PL Data debugging tool, makefile writer
+-ext/Devel/Peek/Peek.pm Data debugging tool, module and pod
+-ext/Devel/Peek/Peek.xs Data debugging tool, externals
+ ext/DynaLoader/DynaLoader_pm.PL Dynamic Loader perl module
+ ext/DynaLoader/Makefile.PL Dynamic Loader makefile writer
+ ext/DynaLoader/README Dynamic Loader notes and intro
+@@ -260,11 +246,6 @@
+ ext/File/Glob/TODO File::Glob extension todo list
+ ext/File/Glob/bsd_glob.c File::Glob extension run time code
+ ext/File/Glob/bsd_glob.h File::Glob extension header file
+-ext/GDBM_File/GDBM_File.pm GDBM extension Perl module
+-ext/GDBM_File/GDBM_File.xs GDBM extension external subroutines
+-ext/GDBM_File/Makefile.PL GDBM extension makefile writer
+-ext/GDBM_File/hints/sco.pl Hint for GDBM_File for named architecture
+-ext/GDBM_File/typemap GDBM extension interface types
+ ext/IO/ChangeLog IO perl module change log
+ ext/IO/IO.pm Top-level interface to IO::* classes
+ ext/IO/IO.xs IO extension external subroutines
+@@ -559,14 +540,6 @@
+ lib/AutoLoader.pm Autoloader base class
+ lib/AutoSplit.pm Split up autoload functions
+ lib/Benchmark.pm Measure execution time
+-lib/CGI.pm Web server interface ("Common Gateway Interface")
+-lib/CGI/Apache.pm Support for Apache's Perl module
+-lib/CGI/Carp.pm Log server errors with helpful context
+-lib/CGI/Cookie.pm Interface to Netscape Cookies
+-lib/CGI/Fast.pm Support for FastCGI (persistent server process)
+-lib/CGI/Pretty.pm Output nicely formatted HTML
+-lib/CGI/Push.pm Support for server push
+-lib/CGI/Switch.pm Simple interface for multiple server types
+ lib/CPAN.pm Interface to Comprehensive Perl Archive Network
+ lib/CPAN/FirstTime.pm Utility for creating CPAN config files
+ lib/CPAN/Nox.pm Runs CPAN while avoiding compiled extensions
+@@ -1493,7 +1466,6 @@
+ util.h Dummy header
+ utils/Makefile Extract the utility scripts
+ utils/c2ph.PL program to translate dbx stabs to perl
+-utils/dprofpp.PL Perl code profile post-processor
+ utils/h2ph.PL A thing to turn C .h files into perl .ph files
+ utils/h2xs.PL Program to make .xs files from C header files
+ utils/perlbc.PL Front-end for byte compiler
diff --git a/lang/perl5-base/patches/patch-ac b/lang/perl5-base/patches/patch-ac
new file mode 100644
index 00000000000..15d045419a7
--- /dev/null
+++ b/lang/perl5-base/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/09/05 09:18:21 jlam Exp $
+
+--- ext/POSIX/Makefile.PL.orig Wed Mar 22 11:23:03 2000
++++ ext/POSIX/Makefile.PL
+@@ -6,7 +6,7 @@
+ @libs = ('LIBS' => ["-lm -lc -lposix -lcposix"]);
+ }
+ else {
+- @libs = ('LIBS' => ["-lm -lposix -lcposix"]);
++ @libs = ('LIBS' => ["-lm"]);
+ }
+ }
+ WriteMakefile(
diff --git a/lang/perl5-base/patches/patch-ad b/lang/perl5-base/patches/patch-ad
new file mode 100644
index 00000000000..868b22a8303
--- /dev/null
+++ b/lang/perl5-base/patches/patch-ad
@@ -0,0 +1,55 @@
+$NetBSD: patch-ad,v 1.1.1.1 2000/09/05 09:18:21 jlam Exp $
+
+--- installperl.orig Wed Mar 8 07:22:41 2000
++++ installperl Wed Aug 30 15:09:30 2000
+@@ -56,7 +56,7 @@
+ }
+
+ my @scripts = qw(utils/c2ph utils/h2ph utils/h2xs utils/perlbug utils/perldoc
+- utils/pl2pm utils/splain utils/perlcc utils/dprofpp
++ utils/pl2pm utils/splain utils/perlcc
+ x2p/s2p x2p/find2perl
+ pod/pod2man pod/pod2html pod/pod2latex pod/pod2text
+ pod/pod2usage pod/podchecker pod/podselect);
+@@ -224,7 +224,7 @@
+ safe_unlink("$installbin/s$perl_verbase$ver$exe_ext");
+ if ($d_dosuid) {
+ copy("suidperl$exe_ext", "$installbin/s$perl_verbase$ver$exe_ext");
+- chmod(04711, "$installbin/s$perl_verbase$ver$exe_ext");
++ chmod(04111, "$installbin/s$perl_verbase$ver$exe_ext");
+ }
+
+ # Install library files.
+@@ -326,19 +326,19 @@
+ (-l $usrbinperl) &&
+ ((readlink $usrbinperl) eq $expinstperl));
+ }
+- if ((! $mainperl_is_instperl) &&
+- (yn("Many scripts expect perl to be installed as $usrbinperl.\n" .
+- "Do you wish to have $usrbinperl be the same as\n" .
+- "$expinstperl? [y] ")))
+- {
+- unlink($usrbinperl);
+- ( $Config{'d_link'} eq 'define' &&
+- eval { CORE::link $instperl, $usrbinperl } ) ||
+- eval { symlink $expinstperl, $usrbinperl } ||
+- copy($instperl, $usrbinperl);
+-
+- $mainperl_is_instperl = 1;
+- }
++# if ((! $mainperl_is_instperl) &&
++# (yn("Many scripts expect perl to be installed as $usrbinperl.\n" .
++# "Do you wish to have $usrbinperl be the same as\n" .
++# "$expinstperl? [y] ")))
++# {
++# unlink($usrbinperl);
++# ( $Config{'d_link'} eq 'define' &&
++# eval { CORE::link $instperl, $usrbinperl } ) ||
++# eval { symlink $expinstperl, $usrbinperl } ||
++# copy($instperl, $usrbinperl);
++#
++# $mainperl_is_instperl = 1;
++# }
+ }
+
+ # Make links to ordinary names if installbin directory isn't current directory.
diff --git a/lang/perl5-base/patches/patch-ae b/lang/perl5-base/patches/patch-ae
new file mode 100644
index 00000000000..99b14189d4b
--- /dev/null
+++ b/lang/perl5-base/patches/patch-ae
@@ -0,0 +1,20 @@
+$NetBSD: patch-ae,v 1.1.1.1 2000/09/05 09:18:21 jlam Exp $
+
+--- perl.h.orig Sun Mar 19 00:45:33 2000
++++ perl.h
+@@ -486,6 +486,15 @@
+ # include <sys/param.h>
+ #endif
+
++/* needed for IAMSUID case for 4.4BSD systems
++ * XXX there should probably be a Configure variable
++ */
++
++#ifdef I_SYS_PARAM
++#if (defined (BSD) && (BSD >= 199306))
++# include <sys/mount.h>
++#endif /* !BSD */
++#endif /* !I_SYS_PARAM */
+
+ /* Use all the "standard" definitions? */
+ #if defined(STANDARD_C) && defined(I_STDLIB)
diff --git a/lang/perl5-base/patches/patch-af b/lang/perl5-base/patches/patch-af
new file mode 100644
index 00000000000..dba71526a4f
--- /dev/null
+++ b/lang/perl5-base/patches/patch-af
@@ -0,0 +1,26 @@
+$NetBSD: patch-af,v 1.1.1.1 2000/09/05 09:18:21 jlam Exp $
+
+--- utils/Makefile.orig Mon Sep 6 15:46:15 1999
++++ utils/Makefile
+@@ -5,9 +5,9 @@
+ # Files to be built with variable substitution after miniperl is
+ # available. Dependencies handled manually below (for now).
+
+-pl = c2ph.PL h2ph.PL h2xs.PL perlbug.PL perldoc.PL pl2pm.PL splain.PL perlcc.PL dprofpp.PL
+-plextract = c2ph h2ph h2xs perlbug perldoc pl2pm splain perlcc dprofpp
+-plextractexe = c2ph.exe h2ph.exe h2xs.exe perlbug.exe perldoc.exe pl2pm.exe splain.exe perlcc.exe dprofpp.exe
++pl = c2ph.PL h2ph.PL h2xs.PL perlbug.PL perldoc.PL pl2pm.PL splain.PL perlcc.PL
++plextract = c2ph h2ph h2xs perlbug perldoc pl2pm splain perlcc
++plextractexe = c2ph.exe h2ph.exe h2xs.exe perlbug.exe perldoc.exe pl2pm.exe splain.exe perlcc.exe
+
+ all: $(plextract)
+
+@@ -32,8 +32,6 @@
+ splain: splain.PL ../config.sh ../lib/diagnostics.pm
+
+ perlcc: perlcc.PL ../config.sh
+-
+-dprofpp: dprofpp.PL ../config.sh
+
+ clean:
+
diff --git a/lang/perl5-base/pkg/COMMENT b/lang/perl5-base/pkg/COMMENT
new file mode 100644
index 00000000000..c4d4e532afa
--- /dev/null
+++ b/lang/perl5-base/pkg/COMMENT
@@ -0,0 +1 @@
+base installation of Perl
diff --git a/lang/perl5-base/pkg/DESCR b/lang/perl5-base/pkg/DESCR
new file mode 100644
index 00000000000..422f2238122
--- /dev/null
+++ b/lang/perl5-base/pkg/DESCR
@@ -0,0 +1,7 @@
+Perl is a language that combines some of the features of C, sed, awk
+and shell. See the manual page for more hype. There are also two Nutshell
+Handbooks published by O'Reilly & Assoc. See pod/perlbook.pod
+for more information.
+
+This contains the base installation of Perl with some modules removed that
+are externally available in pkgsrc.
diff --git a/lang/perl5-base/pkg/PLIST b/lang/perl5-base/pkg/PLIST
new file mode 100644
index 00000000000..4111c09c6cf
--- /dev/null
+++ b/lang/perl5-base/pkg/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/09/05 09:18:21 jlam Exp $