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.
This commit is contained in:
Matthias Andree 2014-09-13 10:18:41 +00:00
parent a7d98b9a93
commit b5a79a220d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368080
3 changed files with 3 additions and 12 deletions

View file

@ -13,7 +13,7 @@ DIST_SUBDIR= xpi/${DISTNAME}
MAINTAINER= gecko@FreeBSD.org MAINTAINER= gecko@FreeBSD.org
COMMENT= Localized interface for Thunderbird COMMENT= Localized interface for Thunderbird
USES= gecko:thunderbird zip USES= gecko:thunderbird,build zip
USE_XPI= thunderbird USE_XPI= thunderbird
NO_BUILD= yes NO_BUILD= yes
@ -31,9 +31,6 @@ PLISTF?= ${WRKDIR}/plist_files
.include "${.CURDIR}/Makefile.option" .include "${.CURDIR}/Makefile.option"
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
# make sure that thunderbird always gets upgraded before this port
BUILD_DEPENDS= thunderbird>=0:${PORTSDIR}/mail/thunderbird
.ifndef WITHOUT_SWITCHER .ifndef WITHOUT_SWITCHER
RUN_DEPENDS+= xpi-quick-locale-switcher>=0:${PORTSDIR}/www/xpi-quick-locale-switcher RUN_DEPENDS+= xpi-quick-locale-switcher>=0:${PORTSDIR}/www/xpi-quick-locale-switcher
.endif .endif

View file

@ -16,7 +16,7 @@ COMMENT= Localized interface for Firefox
EXTRACT_DEPENDS= zip:${PORTSDIR}/archivers/zip EXTRACT_DEPENDS= zip:${PORTSDIR}/archivers/zip
USES= zip:infozip gecko:firefox USES= zip:infozip gecko:firefox,build
USE_XPI= firefox USE_XPI= firefox
NO_ARCH= yes NO_ARCH= yes
@ -33,9 +33,6 @@ PLISTF?= ${WRKDIR}/plist_files
.include "${.CURDIR}/Makefile.option" .include "${.CURDIR}/Makefile.option"
.include <bsd.port.pre.mk> .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 .ifndef WITHOUT_SWITCHER
RUN_DEPENDS+= xpi-quick-locale-switcher>=0:${PORTSDIR}/www/xpi-quick-locale-switcher RUN_DEPENDS+= xpi-quick-locale-switcher>=0:${PORTSDIR}/www/xpi-quick-locale-switcher
.endif .endif

View file

@ -15,7 +15,7 @@ COMMENT= Localized interface for Firefox
EXTRACT_DEPENDS= zip:${PORTSDIR}/archivers/zip EXTRACT_DEPENDS= zip:${PORTSDIR}/archivers/zip
USES= zip:infozip gecko:firefox,32 USES= zip:infozip gecko:firefox,32,build
USE_XPI= firefox linux-firefox USE_XPI= firefox linux-firefox
NO_ARCH= yes NO_ARCH= yes
@ -32,9 +32,6 @@ PLISTF?= ${WRKDIR}/plist_files
.include "${.CURDIR}/Makefile.option" .include "${.CURDIR}/Makefile.option"
.include <bsd.port.pre.mk> .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 .ifndef WITHOUT_SWITCHER
RUN_DEPENDS+= xpi-quick-locale-switcher>=0:${PORTSDIR}/www/xpi-quick-locale-switcher RUN_DEPENDS+= xpi-quick-locale-switcher>=0:${PORTSDIR}/www/xpi-quick-locale-switcher
.endif .endif