aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2007-09-18 11:37:27 +0800
committerlinimon <linimon@FreeBSD.org>2007-09-18 11:37:27 +0800
commitafad24d1efe4857562addee90ca2ec2cfcd2bcd2 (patch)
tree2ea7da0fcae9c987c64b68874fb249d0b707e1ab /multimedia
parent8b3d4aa9316031f2fe7fae62fe075d1f4bf8500c (diff)
downloadfreebsd-ports-gnome-afad24d1efe4857562addee90ca2ec2cfcd2bcd2.tar.gz
freebsd-ports-gnome-afad24d1efe4857562addee90ca2ec2cfcd2bcd2.tar.zst
freebsd-ports-gnome-afad24d1efe4857562addee90ca2ec2cfcd2bcd2.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
Diffstat (limited to 'multimedia')
-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>