1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Fix variable expansion bug on 4.x systems, this will fix INDEX and

builds of some ports.

PR:		ports/77250
Submitted by:	NIIMI Satoshi <sa2c at sa2c dot net>
This commit is contained in:
Kirill Ponomarev 2005-02-09 09:07:37 +00:00
parent 03860695c5
commit 445134f025
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128351

View File

@ -1082,6 +1082,8 @@ OPTIONSFILE?= ${PORT_DBDIR}/${UNIQUENAME}/options
_OPTIONSFILE!= ${ECHO_CMD} "${OPTIONSFILE}"
.if defined(OPTIONS)
. if defined(PACKAGE_BUILDING) || (defined(BATCH) && !exists(${_OPTIONSFILE}))
WITHOUT:=
WITH:=
. if defined(OPTIONS)
REALOPTIONS=${OPTIONS:C/".*"//g}
. for O in ${REALOPTIONS}