Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Dec 2016 08:45:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 214608] databases/sqlite3: Improve CFLAGS and CPPFLAGS configuration
Message-ID:  <bug-214608-13-xIG6MmxMqv@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-214608-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-214608-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214608

--- Comment #7 from Pavel Volkov <pavelivolkov@gmail.com> ---
(In reply to Raphael Kubo da Costa from comment #6)

Hello. Yes, It's easy. You may use next Makefile for check. You should exec=
ute
him on system with support "Variable modifiers :?" (make on FreeBSD 10 and
later) and without him (before 10). And see a result.

# --- Makefile ---
.if defined(q)
.warning Test: variable "q" is exist and =3D ${q}
.else
.warning Test: variable "q" does not exist
.endif

reply=3D${ ${q}<50 :? "It work and <50 (true)" : "It work and >=3D50 (false=
)" }

.if empty(reply)
.warning expression: ":?" not supported
.else
.warning expression: ${reply}
.endif

.warning bmake have version ${MAKE_VERSION}

all:
        @echo ${.TARGET} reply=3D${reply}
# --- Makefile ---

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214608-13-xIG6MmxMqv>