diff --git a/configure/modules/CONFIG b/configure/modules/CONFIG index 0286b58b55f41f275049d4c2c5dc56b8e7420efe..f0339c77c7cbc687cc3c0984d93b96af04f29f32 100644 --- a/configure/modules/CONFIG +++ b/configure/modules/CONFIG @@ -1,6 +1,7 @@ # -*- mode: Makefile;-*- # Update the module version (for numeric versions) with a build number of 0 if none is specified +E3_MODULE_VERSION_ORIG:=$(E3_MODULE_VERSION) E3_MODULE_VERSION:=$(E3_MODULE_VERSION)$(shell [[ "$(E3_MODULE_VERSION)" =~ ^[0-9]+\.[0-9]+\.[0-9]+$$ ]] && echo +0) include $(EPICS_BASE)/configure/CONFIG_BASE_VERSION diff --git a/configure/modules/DEFINES_FT b/configure/modules/DEFINES_FT index 2da7287542fc7c8e58d596445ea3b2a7ec581103..908d65ed2cfd9a26870d39aeaa65b4a92b298316 100644 --- a/configure/modules/DEFINES_FT +++ b/configure/modules/DEFINES_FT @@ -15,7 +15,7 @@ git submodule update --remote --merge $@/ endef define patch_site -patches=$$(ls $(TOP)/patch/Site/$(E3_MODULE_VERSION)-*.p0.patch 2> /dev/null); \ +patches=$$(ls $(TOP)/patch/Site/$(E3_MODULE_VERSION_ORIG)-*.p0.patch 2> /dev/null); \ if [ -n "$$patches" ]; then \ for i in $$patches; do \ printf "\nPatching %s with the file : %s\n" "$(E3_MODULE_SRC_PATH)" "$$i"; \