diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2003-11-02 18:15:37 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2003-11-02 18:15:37 +0000 |
commit | 62f10d03f42030c80e920b5160aec24fac271817 (patch) | |
tree | 6aa7de41db0c6a2ebbbcfd3b67f75090c3aaf759 /devel | |
parent | df3d3d22c3295e682013a761bbd21b3cc06c5e3d (diff) | |
download | ports-62f10d03f42030c80e920b5160aec24fac271817.tar.gz ports-62f10d03f42030c80e920b5160aec24fac271817.zip |
Notes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-ExtUtils-PkgConfig/Makefile | 10 | ||||
-rw-r--r-- | devel/p5-ExtUtils-PkgConfig/files/500600-Makefile.PL | 18 |
2 files changed, 25 insertions, 3 deletions
diff --git a/devel/p5-ExtUtils-PkgConfig/Makefile b/devel/p5-ExtUtils-PkgConfig/Makefile index 8189bf1f397f..1bd32159438d 100644 --- a/devel/p5-ExtUtils-PkgConfig/Makefile +++ b/devel/p5-ExtUtils-PkgConfig/Makefile @@ -17,8 +17,6 @@ COMMENT= Simplistic interface to pkg-config RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig -BROKEN= Broken pkg-plist - PERL_CONFIGURE= yes MAN3= ExtUtils::PkgConfig.3 @@ -26,4 +24,10 @@ MAN3= ExtUtils::PkgConfig.3 post-patch: @${PERL} -pi -e '$$_="" if $$.==1' ${WRKSRC}/Makefile.PL -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500800 +EXTRA_PATCHES= ${PATCHDIR}/500600-Makefile.PL +.endif + +.include <bsd.port.post.mk> diff --git a/devel/p5-ExtUtils-PkgConfig/files/500600-Makefile.PL b/devel/p5-ExtUtils-PkgConfig/files/500600-Makefile.PL new file mode 100644 index 000000000000..6f5ed8f7cd27 --- /dev/null +++ b/devel/p5-ExtUtils-PkgConfig/files/500600-Makefile.PL @@ -0,0 +1,18 @@ +--- Makefile.PL.orig Wed Sep 17 08:07:33 2003 ++++ Makefile.PL Sun Nov 2 21:13:30 2003 +@@ -45,4 +45,14 @@ + rpmbuild -ba --define \"_topdir $cwd/rpms\" perl-\$(DISTNAME).spec + " + } +-package MAIN; ++sub manifypods { ++ my $self=shift; ++ $self->{MAN3PODS}->{'lib/ExtUtils/PkgConfig.pm'}='$(INST_MAN3DIR)/ExtUtils::PkgConfig.$(MAN3EXT)'; ++ $self->SUPER::manifypods(@_); ++} ++sub constants { ++ my $self=shift; ++ $self->{MAN3PODS}->{'lib/ExtUtils/PkgConfig.pm'}='$(INST_MAN3DIR)/ExtUtils::PkgConfig.$(MAN3EXT)'; ++ $self->SUPER::constants(@_); ++} ++ |