From 0d919f7aed4f012b302e958bbb0d7afeaad4f865 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Fri, 12 Sep 2014 17:06:09 +0000 Subject: [PATCH] Add BUILD_DEPENDS to make sure that the referenced thunderbird or firefox port is rebuilt first, so that the -i18n ports can actually build if the firefox/thunderbird port has become unusable through, for instance, lang/gcc version upgrades that "lose" the libstdc++ from the recorded RPATH. --- mail/thunderbird-i18n/Makefile | 3 +++ www/firefox-esr-i18n/Makefile | 3 +++ www/firefox-i18n/Makefile | 3 +++ 3 files changed, 9 insertions(+) diff --git a/mail/thunderbird-i18n/Makefile b/mail/thunderbird-i18n/Makefile index faa5e42416e5..ccc44398df10 100644 --- a/mail/thunderbird-i18n/Makefile +++ b/mail/thunderbird-i18n/Makefile @@ -31,6 +31,9 @@ PLISTF?= ${WRKDIR}/plist_files .include "${.CURDIR}/Makefile.option" .include +# make sure that thunderbird always gets upgraded before this port +BUILD_DEPENDS= thunderbird>=0:${PORTSDIR}/mail/thunderbird + .ifndef WITHOUT_SWITCHER RUN_DEPENDS+= xpi-quick-locale-switcher>=0:${PORTSDIR}/www/xpi-quick-locale-switcher .endif diff --git a/www/firefox-esr-i18n/Makefile b/www/firefox-esr-i18n/Makefile index 7af6c7db96ec..133d521888e2 100644 --- a/www/firefox-esr-i18n/Makefile +++ b/www/firefox-esr-i18n/Makefile @@ -33,6 +33,9 @@ PLISTF?= ${WRKDIR}/plist_files .include "${.CURDIR}/Makefile.option" .include +# make sure that firefox always gets upgraded before this port +BUILD_DEPENDS+= firefox-esr>=0:${PORTSDIR}/www/firefox-esr + .ifndef WITHOUT_SWITCHER RUN_DEPENDS+= xpi-quick-locale-switcher>=0:${PORTSDIR}/www/xpi-quick-locale-switcher .endif diff --git a/www/firefox-i18n/Makefile b/www/firefox-i18n/Makefile index e12041b4d79b..001c6ab057bb 100644 --- a/www/firefox-i18n/Makefile +++ b/www/firefox-i18n/Makefile @@ -32,6 +32,9 @@ PLISTF?= ${WRKDIR}/plist_files .include "${.CURDIR}/Makefile.option" .include +# make sure that firefox always gets upgraded before this port +BUILD_DEPENDS+= firefox>=0:${PORTSDIR}/www/firefox + .ifndef WITHOUT_SWITCHER RUN_DEPENDS+= xpi-quick-locale-switcher>=0:${PORTSDIR}/www/xpi-quick-locale-switcher .endif