From 83d65ba969d1ebcf9a9a0892cecbe2b423a1023c Mon Sep 17 00:00:00 2001 From: espie Date: Tue, 16 Apr 2002 17:35:21 +0000 Subject: [PATCH] Add variable P5SITE/P5ARCH, this will make future plists more compact. --- infrastructure/mk/perl.port.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/infrastructure/mk/perl.port.mk b/infrastructure/mk/perl.port.mk index 083f8cd71a5..e465070e409 100644 --- a/infrastructure/mk/perl.port.mk +++ b/infrastructure/mk/perl.port.mk @@ -1,6 +1,6 @@ #-*- mode: Fundamental; tab-width: 4; -*- # ex:ts=4 sw=4 filetype=make: -# $OpenBSD: perl.port.mk,v 1.2 2001/10/03 08:53:18 espie Exp $ +# $OpenBSD: perl.port.mk,v 1.3 2002/04/16 17:35:21 espie Exp $ # Based on bsd.port.mk, originally by Jordan K. Hubbard. # This file is in the public domain. @@ -22,3 +22,7 @@ MODPERL_configure= \ MODPERL_pre_fake= \ ${SUDO} mkdir -p ${WRKINST}`/usr/bin/perl -e 'use Config; print $$Config{installarchlib}, "\n";'` + +P5SITE=libdata/perl5/site_perl +P5ARCH=${P5SITE}/${MACHINE_ARCH}-openbsd +SUBST_VARS+=P5ARCH P5SITE