1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/Mk/Uses/vala.mk
Charlie Li 7669247b74
lang/vala: update to 0.56.16
Changelog: https://gitlab.gnome.org/GNOME/vala/-/blob/0.56.16/NEWS

Notably, pragmas have been added to ignore incompatible {,function}
pointer type warnings/errors, so dispense of our local workaround.
2024-03-16 04:10:27 -04:00

27 lines
619 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.16
_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