i think some old addons did something like:
# documentation coment
ADDON_SOURCES =
which now overwrites the sources (or any other variable) the correct syntax would be to leave those example variables commented, take a look at the opencv addon or the addon template:
# documentation coment
# ADDON_SOURCES =