aboutsummaryrefslogtreecommitdiff
path: root/multimedia/p5-GStreamer
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2007-09-18 03:37:27 +0000
committerMark Linimon <linimon@FreeBSD.org>2007-09-18 03:37:27 +0000
commitddcf514c5f5db40dbbd0e113ab1d3ec6f8c84285 (patch)
treea1f9ef1611add413cd0ce8181525db05bb8e657a /multimedia/p5-GStreamer
parent1bddf2590603a62202dc3e9ea98303fb83557b89 (diff)
downloadports-ddcf514c5f5db40dbbd0e113ab1d3ec6f8c84285.tar.gz
ports-ddcf514c5f5db40dbbd0e113ab1d3ec6f8c84285.zip
Attempt to change the logic that detects if perl is threaded, to avoid
failed builds of this port on the cluster. Code cribbed from: dns/gresolver
Notes
Notes: svn path=/head/; revision=199648
Diffstat (limited to 'multimedia/p5-GStreamer')
-rw-r--r--multimedia/p5-GStreamer/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/multimedia/p5-GStreamer/Makefile b/multimedia/p5-GStreamer/Makefile
index 832a84eea2cb..a7de071ac818 100644
--- a/multimedia/p5-GStreamer/Makefile
+++ b/multimedia/p5-GStreamer/Makefile
@@ -63,12 +63,9 @@ MAN3= GStreamer.3 GStreamer::Bin.3 GStreamer::Buffer.3 GStreamer::Bus.3 \
BROKEN= Coredump during build on ${ARCH}
.endif
-post-depends:
-.if exists(${PERL})
-PERL_THREADED!= ${PERL} -V | ${GREP} -- -Dusethreads=y || ${TRUE}
-. if ${PERL_THREADED} == ""
+PERL_THREADED!= ${PERL} -mthreads -e '' >/dev/null 2>&1 && ${ECHO_CMD} 'yes' || true
+.if ${PERL_THREADED} == ""
IGNORE= must be built with a threaded Perl, reinstall Perl with WITH_THREADS=yes
-. endif
.endif
.include <bsd.port.post.mk>