mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
graphics/xsane: Cleanup RUN_DEPENDS=BUILD_DEPENDS antipattern
Section 5.10.2 of the Porter's handbook states that setting RUN_DEPENDS=${BUILD_DEPENDS} directly is an antipattern and gives guidance on how to avoid it. PR: 283227
This commit is contained in:
parent
98de9ddd99
commit
32685f33bf
1 changed files with 3 additions and 2 deletions
|
@ -10,12 +10,13 @@ WWW= https://gitlab.com/sane-project/frontend/xsane
|
||||||
LICENSE= GPLv2+
|
LICENSE= GPLv2+
|
||||||
LICENSE_FILE= ${WRKSRC}/xsane.COPYING
|
LICENSE_FILE= ${WRKSRC}/xsane.COPYING
|
||||||
|
|
||||||
BUILD_DEPENDS= scanimage:graphics/sane-backends
|
BR_DEPENDS= scanimage:graphics/sane-backends
|
||||||
|
BUILD_DEPENDS= ${BR_DEPENDS}
|
||||||
LIB_DEPENDS= libpng.so:graphics/png \
|
LIB_DEPENDS= libpng.so:graphics/png \
|
||||||
libtiff.so:graphics/tiff \
|
libtiff.so:graphics/tiff \
|
||||||
libfreetype.so:print/freetype2 \
|
libfreetype.so:print/freetype2 \
|
||||||
liblcms.so:graphics/lcms
|
liblcms.so:graphics/lcms
|
||||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
RUN_DEPENDS= ${BR_DEPENDS}
|
||||||
|
|
||||||
USES= gmake gnome jpeg localbase:ldflags pkgconfig
|
USES= gmake gnome jpeg localbase:ldflags pkgconfig
|
||||||
USE_GITLAB= yes
|
USE_GITLAB= yes
|
||||||
|
|
Loading…
Add table
Reference in a new issue