summaryrefslogtreecommitdiff
path: root/lang/perl5/Makefile
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>1998-12-02 02:28:30 +0000
committertv <tv@pkgsrc.org>1998-12-02 02:28:30 +0000
commit6323f0b6b70feb9c1e36c282e1de3c547883d8bf (patch)
treefb5e351a5d2238d8661ba31694603907eb726a21 /lang/perl5/Makefile
parent93cee6c1baa8531353a9a87782ab99f439010d1f (diff)
downloadpkgsrc-6323f0b6b70feb9c1e36c282e1de3c547883d8bf.tar.gz
Revert to building libperl statically, and clean up.
Diffstat (limited to 'lang/perl5/Makefile')
-rw-r--r--lang/perl5/Makefile18
1 files changed, 2 insertions, 16 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile
index bdb46ed4598..1136172d70c 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 1998/12/01 02:47:18 tv Exp $
+# $NetBSD: Makefile,v 1.15 1998/12/02 02:28:30 tv Exp $
# FreeBSD Id: Makefile,v 1.20 1997/07/18 06:16:44 markm Exp
#
@@ -11,32 +11,18 @@ MASTER_SITES= ftp://ftp.digital.com/pub/plan/perl/CPAN/src/5.0/ \
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://language.perl.com/index.html
-OPSYS!= uname -s
-LOPSYS!= echo ${OPSYS}|tr [A-Z] [a-z]
HAS_CONFIGURE= yes
CONFIGURE_ENV+= PREFIX=${PREFIX}
CONFIGURE_SCRIPT= Configure
CONFIGURE_ARGS+= -sde -Dprefix=${PREFIX} \
- -Darchname=${MACHINE_ARCH}-${LOPSYS}
+ -Darchname=${MACHINE_ARCH}-netbsd
MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}
test:
@(cd ${WRKSRC}; make test)
-# ELF and a.out systems have slightly different libperl extensions.
-pre-install:
-.if exists(/usr/libexec/ld.elf_so)
- @echo 'lib/perl5/${MACHINE_ARCH}-netbsd/5.00404/CORE/libperl.so' >>${WRKDIR}/.PLIST-add
-.elif exists(/usr/libexec/ld.so)
- @echo 'lib/perl5/${MACHINE_ARCH}-netbsd/5.00404/CORE/libperl.so.4.4' >>${WRKDIR}/.PLIST-add
-.else
- @echo 'lib/perl5/${MACHINE_ARCH}-netbsd/5.00404/CORE/libperl.a' >>${WRKDIR}/.PLIST-add
-.endif
-
post-install:
@strip ${PREFIX}/bin/a2p
@strip ${PREFIX}/bin/perl
.include "../../mk/bsd.pkg.mk"
-
-PLIST_SRC:= ${WRKDIR}/.PLIST-add ${PLIST_SRC}