Hi all,

When a new package of type src_make_prog is created, the version number is not 
correctly appended in the generated rules/foo.make file. This causes the 
following error when the package is built:

  ptxdist: error: the URL 'file://local_src/foo' points to non existing 
directory or file.

Here's the relevant snippet from foo.make:

===
#
# We provide this package
#
PACKAGES-$(PTXCONF_FOO) += foo

#
# Paths and names
#
FOO_VERSION     := 1
FOO_MD5         :=
FOO             := foo
FOO_URL         := file://local_src/$(FOO)
FOO_DIR         := $(BUILDDIR)/$(FOO)
FOO_LICENSE     := unknown
[...]
===

I guess that FOO should actually be defined as:

  FOO := foo-$(FOO_VERSION)

This fixes the problem.

Best regards,

Guillermo Rodriguez



-- 
ptxdist mailing list
[email protected]

Reply via email to