Ensure WITH_DVD is not empty to prevent 'WITH_DVD= ' from evaluating

to true.

Submitted by:	hrs
MFC after:	3 days
X-MFC-to-10:	immediate
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2013-12-05 00:56:03 +00:00
parent 0ad3455e41
commit d8824524b7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=258949

View file

@ -79,7 +79,7 @@ IMAGES=
.if exists(${.CURDIR}/${TARGET}/mkisoimages.sh)
RELEASE_TARGETS+= cdrom
IMAGES+= disc1.iso bootonly.iso
. if defined(WITH_DVD)
. if defined(WITH_DVD) && !empty(WITH_DVD)
RELEASE_TARGETS+= dvdrom
IMAGES+= dvd1.iso
. endif