cvs commit: ports/textproc/p5-xmltv Makefile distinfo pkg-plist ports/textproc/p5-xmltv/files patch-Makefile.PL

Alexey Dokuchaev danfe at FreeBSD.org
Fri Mar 4 07:03:13 UTC 2011


On Thu, Mar 03, 2011 at 03:56:17PM +0000, Koop Mast wrote:
> kwm         2011-03-03 15:56:17 UTC
> 
>   Modified files:
>     textproc/p5-xmltv    Makefile distinfo pkg-plist 
>     textproc/p5-xmltv/files patch-Makefile.PL 
>   Log:
>   Update to 0.5.59.
>   
>   fix RUN_DEPENDS=${BUILD_DEPENDS} issue.

You could have solved it by using correct assignment (:=) instead of
introducing extra variable.  It's documented in PH FWIW.  Diff is
attached.

./danfe
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/danfe/fbsd/FreeBSD-CVS/ports/textproc/p5-xmltv/Makefile,v
retrieving revision 1.39
diff -u -r1.39 Makefile
--- Makefile	3 Mar 2011 15:56:17 -0000	1.39
+++ Makefile	4 Mar 2011 07:01:20 -0000
@@ -14,7 +14,7 @@
 MAINTAINER=	multimedia at FreeBSD.org
 COMMENT=	Set of programs to process TV (tvguide) listings in XML format
 
-XMLTV_DEPENDS=	\
+BUILD_DEPENDS=	\
 	${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser \
 	${SITE_PERL}/XML/Twig.pm:${PORTSDIR}/textproc/p5-XML-Twig \
 	${SITE_PERL}/XML/Writer.pm:${PORTSDIR}/textproc/p5-XML-Writer \
@@ -43,8 +43,7 @@
 	${SITE_PERL}/HTTP/Cache/Transparent.pm:${PORTSDIR}/www/p5-HTTP-Cache-Transparent \
 	${SITE_PERL}/IO/Stringy.pm:${PORTSDIR}/devel/p5-IO-stringy \
 	${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate
-BUILD_DEPENDS=	${XMLTV_DEPENDS}
-RUN_DEPENDS=	${XMLTV_DEPENDS}
+RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 USE_BZIP2=	yes
 PERL_CONFIGURE=	yes


More information about the cvs-ports mailing list