summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules/glibc-ports.make6
1 files changed, 4 insertions, 2 deletions
diff --git a/rules/glibc-ports.make b/rules/glibc-ports.make
index 07ff4ff..d29cf73 100644
--- a/rules/glibc-ports.make
+++ b/rules/glibc-ports.make
@@ -18,11 +18,13 @@ PACKAGES-$(PTXCONF_GLIBC_PORTS) += glibc-ports
#
# Paths and names
#
-ifneq ($(PTXCONF_GLIBC_VERSION),"")
+ifneq ($(call remove_quotes $(PTXCONF_GLIBC_PORTS_VERSION)),)
GLIBC_PORTS_VERSION := -$(call remove_quotes,$(PTXCONF_GLIBC_PORTS_VERSION))
+else
+GLIBC_PORTS_VERSION := -$(call remove_quotes,$(PTXCONF_GLIBC_VERSION))
endif
-ifneq ($(PTXCONF_GLIBC_PORTS_TIMESTAMP),"")
+ifneq ($(call remove_quotes $(PTXCONF_GLIBC_PORTS_TIMESTAMP)),)
GLIBC_PORTS_TIMESTAMP := -$(call remove_quotes,$(PTXCONF_GLIBC_PORTS_TIMESTAMP))
GLIBC_PORTS := glibc$(GLIBC_PORTS_VERSION)-ports$(GLIBC_PORTS_TIMESTAMP)
else