Revision
92516
Author
mcalhoun@macports.org
Date
2012-04-30 11:58:47 -0700 (Mon, 30 Apr 2012)

Log Message

Only apply patches if there are files to patch.

Modified Paths

Diff

Modified: trunk/dports/perl/p5-text-bibtex/Portfile (92515 => 92516)


--- trunk/dports/perl/p5-text-bibtex/Portfile	2012-04-30 18:54:00 UTC (rev 92515)
+++ trunk/dports/perl/p5-text-bibtex/Portfile	2012-04-30 18:58:47 UTC (rev 92516)
@@ -19,11 +19,11 @@
 checksums           sha256  390c2deb808c5a915882f21d057f3951729c4bdc42aa422a51d9fc8c357644cc \
                     rmd160  8a694ef6361e18f6acfbcc963827ec4a12e38724
 
+if {${perl5.major} != ""} {
 # see #31769
 patchfiles          patch-btparse_tests_namebug.c.diff \
                     patch-btparse_tests_tex_test.c.diff
 
-if {${perl5.major} != ""} {
 depends_build-append port:p${perl5.major}-capture-tiny \
                      port:p${perl5.major}-extutils-libbuilder \
                      port:p${perl5.major}-config-autoconf