ports/149991: [PATCH] www/p5-Dancer: optional dependency on p5-YAML
David Demelier
markand at malikania.fr
Thu Aug 26 17:40:05 UTC 2010
>Number: 149991
>Category: ports
>Synopsis: [PATCH] www/p5-Dancer: optional dependency on p5-YAML
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 26 17:40:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: David Demelier
>Release: 8.1-RELEASE
>Organization:
>Environment:
FreeBSD Melon.malikania.fr 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Sun Aug 22 11:56:47 CEST 2010 root at Melon.malikania.fr:/usr/obj/usr/src/sys/Melon amd64
>Description:
The perl Dancer module can use YAML as config file parser. I just added an optional option (on by default to avoid troubles).
>How-To-Repeat:
>Fix:
--- Makefile.orig 2010-08-26 19:27:15.000000000 +0200
+++ Makefile 2010-08-26 19:32:07.000000000 +0200
@@ -22,6 +22,14 @@
p5-URI>0:${PORTSDIR}/net/p5-URI
BUILD_DEPENDS= ${RUN_DEPENDS}
+OPTIONS= YAML "Enable YAML implementation in Perl" On
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_YAML)
+RUN_DEPENDS+= p5-YAML>=0.71:${PORTSDIR}/textproc/p5-YAML
+.endif
+
PERL_CONFIGURE= yes
MAN1= dancer.1
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list