From 0508ff9f90eded3fdc693c268f8862881b6ba21b Mon Sep 17 00:00:00 2001 From: steven Date: Sat, 7 Jan 2006 10:56:11 +0000 Subject: [PATCH] do not build with -O3 flag --- devel/p5-Clone/Makefile | 6 +++--- devel/p5-Clone/patches/patch-Makefile_PL | 11 +++++++++++ 2 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 devel/p5-Clone/patches/patch-Makefile_PL diff --git a/devel/p5-Clone/Makefile b/devel/p5-Clone/Makefile index 6ca4d451889..9bd781cdecd 100644 --- a/devel/p5-Clone/Makefile +++ b/devel/p5-Clone/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.3 2005/06/10 06:11:58 kevlo Exp $ +# $OpenBSD: Makefile,v 1.4 2006/01/07 10:56:11 steven Exp $ -NOT_FOR_ARCHS= ${NO_SHARED_ARCHS} +SHARED_ONLY= Yes COMMENT= "recursively copy Perl datatypes" DISTNAME= Clone-0.18 -PKGNAME= p5-${DISTNAME} +PKGNAME= p5-${DISTNAME}p0 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Clone/} diff --git a/devel/p5-Clone/patches/patch-Makefile_PL b/devel/p5-Clone/patches/patch-Makefile_PL new file mode 100644 index 00000000000..7c2f9336f5b --- /dev/null +++ b/devel/p5-Clone/patches/patch-Makefile_PL @@ -0,0 +1,11 @@ +$OpenBSD: patch-Makefile_PL,v 1.1 2006/01/07 10:56:11 steven Exp $ +--- Makefile.PL.orig Sat Jan 7 11:52:01 2006 ++++ Makefile.PL Sat Jan 7 11:52:05 2006 +@@ -8,7 +8,5 @@ WriteMakefile( + 'LIBS' => [''], # e.g., '-lm' + 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING' + 'INC' => '', # e.g., '-I/usr/include/other' +-# 'OPTIMIZE' => '-g', # e.g., '-I/usr/include/other' +- 'OPTIMIZE' => '-O3', # e.g., '-I/usr/include/other' + ); +