From 6e41267a89ac93c8c2caa8f0867a58ee3e071a48 Mon Sep 17 00:00:00 2001 From: hubertf Date: Sat, 14 Feb 1998 17:54:50 +0000 Subject: Use MACHINE_ARCH for archname; Reported by Johnny C. Lam in PR 4990. --- lang/perl5/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lang/perl5/Makefile') diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile index bfad14aada9..0871e8c76bb 100644 --- a/lang/perl5/Makefile +++ b/lang/perl5/Makefile @@ -3,7 +3,7 @@ # Date created: 16 April 1995 # Whom: markm # -# $NetBSD: Makefile,v 1.5 1998/01/24 20:21:44 hubertf Exp $ +# $NetBSD: Makefile,v 1.6 1998/02/14 17:54:50 hubertf Exp $ # FreeBSD Id: Makefile,v 1.20 1997/07/18 06:16:44 markm Exp # @@ -15,9 +15,12 @@ MASTER_SITES= ftp://ftp.digital.com/pub/plan/perl/CPAN/src/5.0/ \ MAINTAINER= markm@FreeBSD.ORG +OPSYS!= uname -s +LOPSYS!= echo ${OPSYS}|tr [A-Z] [a-z] HAS_CONFIGURE= yes CONFIGURE_SCRIPT= Configure -CONFIGURE_ARGS+= -sde -Dprefix=${PREFIX} +CONFIGURE_ARGS+= -sde -Dprefix=${PREFIX} \ + -Darchname=${MACHINE_ARCH}-${LOPSYS} MAN1= a2p.1 c2ph.1 h2ph.1 h2xs.1 perl.1 perlapio.1 perlbook.1 perlbot.1 \ perlbug.1 perlcall.1 perldata.1 perldebug.1 perldelta.1 perldiag.1 \ @@ -63,14 +66,11 @@ MAN3PREFIX= ${PREFIX}/lib/perl5 test: @(cd ${WRKSRC}; make test) -OPSYS!= uname -s - post-install: @strip ${PREFIX}/bin/perl .if (${OPSYS} != "NetBSD") # agc - no suidperl??? @strip ${PREFIX}/bin/suidperl .endif - @strip ${PREFIX}/bin/perl .include -- cgit v1.2.3