aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbeat <beat@FreeBSD.org>2012-06-07 05:53:17 +0800
committerbeat <beat@FreeBSD.org>2012-06-07 05:53:17 +0800
commit871627a82328fc15b5ae39ac532101798b77b1da (patch)
tree8ee427a6b8e51be86a69025259d48f168c2a2606
parentbde521c01a8368c00d72fe260c9991d78a91199d (diff)
downloadfreebsd-ports-gnome-871627a82328fc15b5ae39ac532101798b77b1da.tar.gz
freebsd-ports-gnome-871627a82328fc15b5ae39ac532101798b77b1da.tar.zst
freebsd-ports-gnome-871627a82328fc15b5ae39ac532101798b77b1da.zip
- Re-add a check if Thunderbird binary exist which was accidentally
removed in rev 1.57.
-rw-r--r--Mk/bsd.gecko.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk
index 273b4016b669..88afdbc22e3e 100644
--- a/Mk/bsd.gecko.mk
+++ b/Mk/bsd.gecko.mk
@@ -386,8 +386,10 @@ USE_THUNDERBIRD= ${_THUNDERBIRD_DEFAULT_VERSION}
.endif
# Setting/finding Thunderbird version we want.
+.if exists(${LOCALBASE}/bin/thunderbird)
_TMP_VER!= ${LOCALBASE}/bin/thunderbird --version 2>/dev/null | ${HEAD} -1 | ${SED} -e 's/ Thunderbird \([0-9]\{1,2\}\)\.\([0-9]*\).*/\1\2/'
_THUNDERBIRD_VER:= ${_TMP_VER:C/([0-9][0-9]).*/\1/}
+.endif
# Check if installed Thunderbird version matches the wanted one
.if defined(_THUNDERBIRD_VER)