[Bug 214608] databases/sqlite3: Improve CFLAGS and CPPFLAGS configuration

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Dec 25 08:45:49 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214608

--- Comment #7 from Pavel Volkov <pavelivolkov at 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 execute
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 = ${q}
.else
.warning Test: variable "q" does not exist
.endif

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

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

.warning bmake have version ${MAKE_VERSION}

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

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


More information about the freebsd-ports-bugs mailing list