aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormandree <mandree@FreeBSD.org>2014-09-13 18:18:41 +0800
committermandree <mandree@FreeBSD.org>2014-09-13 18:18:41 +0800
commit3fea9ad45c1dba6433d01fb5bc8c09c5cfcc3829 (patch)
tree451e7083e714bc3809d9d4e1d12840a58ad0bdd5 /www
parent5cd3bdf92db7366588dfba5851efbacb09f2d2ab (diff)
downloadfreebsd-ports-gnome-3fea9ad45c1dba6433d01fb5bc8c09c5cfcc3829.tar.gz
freebsd-ports-gnome-3fea9ad45c1dba6433d01fb5bc8c09c5cfcc3829.tar.zst
freebsd-ports-gnome-3fea9ad45c1dba6433d01fb5bc8c09c5cfcc3829.zip
Replace BUILD_DEPENDS by USES=gecko:...,build.
Tested on redports.org, and we have a RUN_DEPENDS on the respective GECKO application anyways. Still required to fix upgrade trouble if the gecko application needs a rebuild from source (ports) if a requisite .so file has gone away, for instance, after lang/gcc version upgrades. a RUN_DEPENDS anyhow.
Diffstat (limited to 'www')
-rw-r--r--www/firefox-esr-i18n/Makefile5
-rw-r--r--www/firefox-i18n/Makefile5
2 files changed, 2 insertions, 8 deletions
diff --git a/www/firefox-esr-i18n/Makefile b/www/firefox-esr-i18n/Makefile
index 133d521888e2..ca15de8ec66c 100644
--- a/www/firefox-esr-i18n/Makefile
+++ b/www/firefox-esr-i18n/Makefile
@@ -16,7 +16,7 @@ COMMENT= Localized interface for Firefox
EXTRACT_DEPENDS= zip:${PORTSDIR}/archivers/zip
-USES= zip:infozip gecko:firefox
+USES= zip:infozip gecko:firefox,build
USE_XPI= firefox
NO_ARCH= yes
@@ -33,9 +33,6 @@ PLISTF?= ${WRKDIR}/plist_files
.include "${.CURDIR}/Makefile.option"
.include <bsd.port.pre.mk>
-# 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 001c6ab057bb..edf5dce6e49b 100644
--- a/www/firefox-i18n/Makefile
+++ b/www/firefox-i18n/Makefile
@@ -15,7 +15,7 @@ COMMENT= Localized interface for Firefox
EXTRACT_DEPENDS= zip:${PORTSDIR}/archivers/zip
-USES= zip:infozip gecko:firefox,32
+USES= zip:infozip gecko:firefox,32,build
USE_XPI= firefox linux-firefox
NO_ARCH= yes
@@ -32,9 +32,6 @@ PLISTF?= ${WRKDIR}/plist_files
.include "${.CURDIR}/Makefile.option"
.include <bsd.port.pre.mk>
-# 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