freebsd-ports/Mk/Uses/vala.mk
Tobias C. Berner 04bda0d8e9 lang/vala: update to 0.56.3
Changelog:
 * Various improvements and bug fixes:
  - vala: Don't unconditionally expect ObjectType of Class [#1341]
  - vala: Make try-statement parsing more resilient [#1304]
  - vala: Avoid problems with '\' in #line directives on Windows [#1353]
  - gidlparser: Set source reference of parameters

 * Bindings:
  - atspi-2: Fix a few binding errors
  - glib-2.0: Use g_abort for GLib.Process.abort() beginning with 2.50 [#1350]
  - gtk+-3.0: Correctly unhide BindingSet.by_class to avoid Version attribute
2022-09-05 17:47:19 +02:00

26 lines
618 B
Makefile

# Handle dependency on lang/vala
#
# Valid args:
# - lib: add a lib depends
# - build: add a build depends
# - no_depend: only used for lang/vala itself
.if ! defined(_INCLUDE_USES_VALA_MK)
_INCLUDE_USES_VALA_MK= yes
_VALA_VERSION= 0.56.3
_VALA_LIB_VERSION= ${_VALA_VERSION:R}
_VALA_LIBRARY= libvala-${_VALA_LIB_VERSION}.so
_VALA_BINARY= valac
_VALA_PORT= lang/vala
. if empty(vala_ARGS:Mno_depend)
. if ! empty(vala_ARGS:Mlib)
LIB_DEPENDS+= ${_VALA_LIBRARY}:${_VALA_PORT}
. endif
. if ! empty(vala_ARGS:Mbuild)
BUILD_DEPENDS+= ${_VALA_BINARY}:${_VALA_PORT}
. endif
. endif
.endif