aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2005-02-09 17:07:37 +0800
committerkrion <krion@FreeBSD.org>2005-02-09 17:07:37 +0800
commit8b4a244bc91c90f74ba1e1be4145433cbb797c82 (patch)
tree968cd9fc10e95f4fb7943364cea9740cb7a09490
parent5606c108a8e098e4397342f2f4f50db6cbb719d2 (diff)
downloadfreebsd-ports-gnome-8b4a244bc91c90f74ba1e1be4145433cbb797c82.tar.gz
freebsd-ports-gnome-8b4a244bc91c90f74ba1e1be4145433cbb797c82.tar.zst
freebsd-ports-gnome-8b4a244bc91c90f74ba1e1be4145433cbb797c82.zip
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>
-rw-r--r--Mk/bsd.port.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index f1978094eadd..f63e3a35980b 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -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}