fix infinite recursion for p5-version like we already did for modbuild

proper... nothing new under the sun.
This commit is contained in:
espie 2007-05-22 20:57:25 +00:00
parent fd5b27d0c8
commit 9fd3895989
2 changed files with 8 additions and 5 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.8 2007/05/22 19:05:46 simon Exp $
# $OpenBSD: Makefile,v 1.9 2007/05/22 20:57:25 espie Exp $
COMMENT= "build and install Perl modules"
MODULES= cpan
DISTNAME= Module-Build-0.2806
PKGNAME= p5-${DISTNAME}p0
PKGNAME= p5-${DISTNAME}p1
CATEGORIES= devel
MAINTAINER= Mathieu Sauve-Frankel <msf@openbsd.org>
@ -21,8 +21,8 @@ CONFIGURE_STYLE=modbuild
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ::archivers/p5-Archive-Tar \
::devel/p5-ExtUtils-ParseXS \
::devel/p5-YAML \
::devel/p5-version
::devel/p5-YAML
REGRESS_DEPENDS=::devel/p5-version
do-regress:
@cd ${WRKSRC} && /usr/bin/perl ${MODPERL_BUILD} ${REGRESS_TARGET}

View File

@ -1,6 +1,6 @@
#-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=4 sw=4 filetype=make:
# $OpenBSD: perl.port.mk,v 1.12 2007/04/08 16:16:06 espie Exp $
# $OpenBSD: perl.port.mk,v 1.13 2007/05/22 20:57:25 espie Exp $
# Based on bsd.port.mk, originally by Jordan K. Hubbard.
# This file is in the public domain.
@ -10,6 +10,9 @@ MODPERL_BUILD ?= Build
.if ${CONFIGURE_STYLE:L:Mmodbuild}
. if !${PKGPATH:M*devel/p5-Module-Build}
BUILD_DEPENDS+= ::devel/p5-Module-Build
. if !${PKGPATH:M*devel/p5-version}
BUILD_DEPENDS+= ::devel/p5-version
. endif
. endif
MODPERL_configure= \
arch=`/usr/bin/perl -e 'use Config; print $$Config{archname}, "\n";'`; \