[Freeswitch-dev] Help with autotools
alberto.m at futurelinkcorporation.com
Sat Apr 29 00:39:58 MSD 2017
I'm currently working, with a co-worker, in a pkgsrc package for
FreeSwitch 1.6.17. We are writing the Makefile from scratch because we
think that many patches from previous versions are no longer needed in
this version. We are working on FreeBSD 11.
None of us are savvy in development nor know the details of how
autotools work. However, we were able to identify:
1) The distribution file from files.freeswitch.org differs from the git
version, and is easier to fetch via http in pkgsrc; is the preferred
method of getting distfiles.
2) There's a bootstrap.sh or rebootstrap.sh (depending on the source of
the distribution) that uses libtool to generate the configure scripts.
From this .sh script we have a better understanding of the build
process. If you have all the dependencies and run this script,
everything goes fine.
However, we are not very clear on if we should run this .sh script from
pkgsrc framework of if the pkgsrc framework should be able to run the
libtool utility for itself in the same way the script does.
pkgsrc has some vars
USE_TOOLS+= automake autoconf gmake perl pkg-config
so those tools are installed in the build process as dependencies. What
I can't identify is if pkgsrc knows how to run them accordingly or those
vars are useful only for having preinstalled the tools and using them
within the script.
I also noted that some directories were removed from sources in git and
not in distfile. Is there any chance to make them equal?
Thanks in advance for your guidance.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: OpenPGP digital signature
Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20170428/8cb3cb69/attachment-0001.bin
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-dev