1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Makefile.common: Move a few other variables outside the NO_BUILD block.

Just setting USES=tar:bzip2 is not enough, as ports such as
graphics/kipi-plugin-facebook would still report an invalid distfile if
NO_BUILD was passed.

We now unconditionally set DISTNAME, DISTINFO_FILE and LICENSE besides USES.
This commit is contained in:
Raphael Kubo da Costa 2014-05-26 22:15:31 +00:00
parent e33bc48d5e
commit 911fb043b0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355461

View File

@ -110,21 +110,20 @@ vkontakte_DESC= Export images to VKontakte web service
# wallpaper_DESC= Set image as background on desktop
yandexfotki_DESC= Export images to Yandex web service
USES+= tar:bzip2
.if !defined(NO_BUILD)
DISTNAME= digikam-${DIGIKAM_VER}
DISTINFO_FILE= ${.CURDIR}/../../graphics/digikam-kde4/distinfo
LICENSE?= GPLv2
USES+= tar:bzip2
.if !defined(NO_BUILD)
USES+= cmake
USE_KDE4+= automoc4 kdehier kdeprefix kdelibs
USE_QT4+= qmake_build moc_build rcc_build uic_build
WRKSRC?= ${WRKDIR}/${DISTNAME}/extra/${PORTNAME}
DISTINFO_FILE= ${.CURDIR}/../../graphics/digikam-kde4/distinfo
. if defined(KIPI_PLUGIN)
CONFLICTS_INSTALL= kipi-plugins-2.*