summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjlam <jlam>2000-08-30 19:04:04 +0000
committerjlam <jlam>2000-08-30 19:04:04 +0000
commit5adacd56cadc275d1c76ff2fb2f91773ffbcf68e (patch)
tree6c827395537b204868374c3a6ac6d8efecf2bbe4 /lang
parent71615e6278d07cdc54efade8227c37530a6c646c (diff)
downloadpkgsrc-5adacd56cadc275d1c76ff2fb2f91773ffbcf68e.tar.gz
Update libperl to 5.6.0. This matches the version of the main perl5
distribution in pkgsrc.
Diffstat (limited to 'lang')
-rw-r--r--lang/libperl/Makefile55
-rw-r--r--lang/libperl/files/md53
-rw-r--r--lang/libperl/files/patch-sum16
-rw-r--r--lang/libperl/pkg/DESCR4
-rw-r--r--lang/libperl/pkg/PLIST2
-rw-r--r--lang/libperl/pkg/PLIST-aout4
-rw-r--r--lang/libperl/pkg/PLIST-elf4
7 files changed, 26 insertions, 62 deletions
diff --git a/lang/libperl/Makefile b/lang/libperl/Makefile
index 1c4862b7008..53304abde4d 100644
--- a/lang/libperl/Makefile
+++ b/lang/libperl/Makefile
@@ -1,53 +1,30 @@
-# $NetBSD: Makefile,v 1.10 2000/08/21 21:01:31 hubertf Exp $
-#
+# $NetBSD: Makefile,v 1.11 2000/08/30 19:04:04 jlam Exp $
-DISTNAME= perl5.004_04
-PKGNAME= libperl-5.00404
+DISTNAME= libperl-${PERL_VERSION}
+PERL_VERSION= 5.6.0
CATEGORIES= lang devel perl5
-MASTER_SITES= ftp://ftp.digital.com/pub/plan/perl/CPAN/src/5.0/ \
- ftp://ftp.cdrom.com/pub/perl/CPAN/src/5.0/
+MASTER_SITES= # empty
+DISTFILES= # empty
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://language.perl.com/index.html
-USE_PERL5= yes
+USE_PERL5= # defined
+DEPENDS+= perl>=${PERL_VERSION}:../../lang/perl5-current
+
+EXTRACT_ONLY= # empty
+NO_CHECKSUM= # defined
+NO_CONFIGURE= # defined
+NO_BUILD= # defined
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
-.if exists(/usr/libexec/ld.elf_so)
-PLIST_SRC= ${PKGDIR}/PLIST-elf
-.elif exists(/usr/libexec/ld.so)
-PLIST_SRC= ${PKGDIR}/PLIST-aout
-.else
-IGNORE= "${PKGNAME} needs shared object support"
-.endif
-.elif ${OPSYS} == "SunOS"
-PLIST_SRC= ${PKGDIR}/PLIST-elf
+.if !exists(/usr/libexec/ld.elf_so) && !exists(/usr/libexec/ld.so)
+IGNORE= ${PKGNAME} needs shared objects
.endif
-PATCHDIR= ../perl5/patches
-
-HAS_CONFIGURE= yes
-CONFIGURE_ENV+= PREFIX=${PREFIX}
-CONFIGURE_SCRIPT= ./Configure
-CONFIGURE_ARGS+= -sde -Dprefix=${PREFIX} -Duseshrplib=true \
- -Darchname=${MACHINE_ARCH}-${LOWER_OPSYS} \
- -Dusemymalloc=false
-.if ${OPSYS} == "SunOS"
-CONFIGURE_ARGS+= -Dcc="${CC}"
.endif
-MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}
-ALL_TARGET= perl
-
-post-build:
- cd ${WRKSRC}/ext/DynaLoader && ${RM} DynaLoader.o && \
- ${MAKE} DynaLoader.o && ${MV} DynaLoader.o DynaLoader_pic.o
-
-do-install:
- ${INSTALL_DATA} ${WRKSRC}/libperl.so* \
- ${PREFIX}/lib/perl5/${MACHINE_ARCH}-${LOWER_OPSYS}/5.00404/CORE/
- ${INSTALL_PROGRAM} ${WRKSRC}/perl ${PREFIX}/bin/soperl
- ${INSTALL_DATA} ${WRKSRC}/ext/DynaLoader/DynaLoader_pic.o \
- ${PREFIX}/lib/perl5/${MACHINE_ARCH}-${LOWER_OPSYS}/5.00404/
+
+do-install: # empty
.include "../../mk/bsd.pkg.mk"
diff --git a/lang/libperl/files/md5 b/lang/libperl/files/md5
index f23d310ac38..89d56860d6b 100644
--- a/lang/libperl/files/md5
+++ b/lang/libperl/files/md5
@@ -1,3 +1,2 @@
-$NetBSD: md5,v 1.1.1.1 1998/12/02 02:42:05 tv Exp $
+$NetBSD: md5,v 1.2 2000/08/30 19:04:04 jlam Exp $
-MD5 (perl5.004_04.tar.gz) = 2618029201ad19cfb9a7d02a498eb1f4
diff --git a/lang/libperl/files/patch-sum b/lang/libperl/files/patch-sum
index 0cfed6b9378..0e0502ee7db 100644
--- a/lang/libperl/files/patch-sum
+++ b/lang/libperl/files/patch-sum
@@ -1,12 +1,6 @@
-$NetBSD: patch-sum,v 1.2 1999/09/10 02:38:48 hubertf Exp $
+$NetBSD: patch-sum,v 1.3 2000/08/30 19:04:04 jlam Exp $
-MD5 (patch-aa) = 42c154c839adb39220b3d7e972bff260
-MD5 (patch-ab) = 418c37ad9e29a9200169d867b2236fd9
-MD5 (patch-ac) = a99477228107e3defaf67fb49cec58ea
-MD5 (patch-ad) = 861e47c36e7ee1bfa5e37694721eb6cf
-MD5 (patch-ae) = 85f49061d90969e6911daeb1d705b7c4
-MD5 (patch-af) = 508b7c2f7ccd9e68db9e270cfe5eac0a
-MD5 (patch-ag) = 606e6d1da35d708d89b5245802a0e75c
-MD5 (patch-ah) = 7766cc142d9dec367fdc34734aa3bde8
-MD5 (patch-ai) = 947672a95abf57054246fc3c79f43952
-MD5 (patch-aj) = b7b0a20e8b8e4cc000f926d90d7079b1
+This placeholder file is generated by the ``makepatchsum'' target
+whenever the patches directory is empty or missing. Its purpose
+is to ensure that the presence of any obsolete patches will cause
+the proper error to be emitted at build time.
diff --git a/lang/libperl/pkg/DESCR b/lang/libperl/pkg/DESCR
index 94c47b48925..f8141f16d55 100644
--- a/lang/libperl/pkg/DESCR
+++ b/lang/libperl/pkg/DESCR
@@ -5,5 +5,5 @@ 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 package installs libperl as a shared object so that it can be linked
-with minimal executable overhead, or can be dlopen()ed.
+This package is a placeholder for packages to depend upon when requiring a
+shared libperl.so.
diff --git a/lang/libperl/pkg/PLIST b/lang/libperl/pkg/PLIST
new file mode 100644
index 00000000000..6421e820910
--- /dev/null
+++ b/lang/libperl/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2000/08/30 19:04:04 jlam Exp $
+@comment This file is empty.
diff --git a/lang/libperl/pkg/PLIST-aout b/lang/libperl/pkg/PLIST-aout
deleted file mode 100644
index ea1fd1ef9dd..00000000000
--- a/lang/libperl/pkg/PLIST-aout
+++ /dev/null
@@ -1,4 +0,0 @@
-@comment $NetBSD: PLIST-aout,v 1.3 1999/04/08 18:51:52 agc Exp $
-bin/soperl
-lib/perl5/${MACHINE_ARCH}-${LOWER_OPSYS}/5.00404/DynaLoader_pic.o
-lib/perl5/${MACHINE_ARCH}-${LOWER_OPSYS}/5.00404/CORE/libperl.so.4.4
diff --git a/lang/libperl/pkg/PLIST-elf b/lang/libperl/pkg/PLIST-elf
deleted file mode 100644
index ba01ae44107..00000000000
--- a/lang/libperl/pkg/PLIST-elf
+++ /dev/null
@@ -1,4 +0,0 @@
-@comment $NetBSD: PLIST-elf,v 1.3 1999/04/08 18:51:52 agc Exp $
-bin/soperl
-lib/perl5/${MACHINE_ARCH}-${LOWER_OPSYS}/5.00404/DynaLoader_pic.o
-lib/perl5/${MACHINE_ARCH}-${LOWER_OPSYS}/5.00404/CORE/libperl.so