From 9d21910a44b85b97e6bbac15bff25112ed750717 Mon Sep 17 00:00:00 2001 From: Anton Berezin Date: Tue, 28 Oct 2003 20:46:51 +0000 Subject: Fix the workings of ENABLE_SUIDPERL knob. Reported by: Neil Darlow , Nicola Tiling --- lang/perl5.8/Makefile | 3 ++- lang/perl5.8/pkg-plist | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'lang/perl5.8') diff --git a/lang/perl5.8/Makefile b/lang/perl5.8/Makefile index 9a2e411b2642..b56c7be64984 100644 --- a/lang/perl5.8/Makefile +++ b/lang/perl5.8/Makefile @@ -7,6 +7,7 @@ PORTNAME= perl PORTVERSION= ${PERL_VER} +PORTREVISION= 1 CATEGORIES= lang devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \ ${MASTER_SITE_LOCAL:S/$/:local/} \ @@ -36,7 +37,7 @@ CONFIGURE_ARGS= -sde -Dprefix=${PREFIX} \ -Dccflags=-DAPPLLIB_EXP=\"${BSDPAN_DEST}\" .if defined(ENABLE_SUIDPERL) -CONFIGURE_ARGS+= -Dd_dosuid=true +CONFIGURE_ARGS+= -Dd_dosuid=define PLIST_SUB+= ENABLE_SUIDPERL="" .else CONFIGURE_ARGS+= -Ud_dosuid diff --git a/lang/perl5.8/pkg-plist b/lang/perl5.8/pkg-plist index db065b462236..3af0f6e34f6b 100644 --- a/lang/perl5.8/pkg-plist +++ b/lang/perl5.8/pkg-plist @@ -483,6 +483,7 @@ lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/CORE/regexp.h lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/CORE/regnodes.h lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/CORE/scope.h lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/CORE/sv.h +%%ENABLE_SUIDPERL%%lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/CORE/sperl.o lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/CORE/thrdvar.h lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/CORE/thread.h lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/CORE/uconfig.h -- cgit v1.2.3