[Home]

Summary:ASTERISK-05788: [Patch] update channels/Makefile for current chan_misdn version
Reporter:crich (crich)Labels:
Date Opened:2005-12-06 13:43:34.000-0600Date Closed:2005-12-15 07:25:32.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_misdn
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The patch is findable at

svn/team/crichter/0.2.1/channels/Makefile


It modifies the linking of chan_misdn.so. chan_misdn is linked against an external library called mISDNuser. This library was statically build before. Now this library is dynamically linked and installed under /usr/lib/.

Therefore chan_misdn should link also dynamically against this library. (Sooner or later distribution packages could be built from mISDNuser)

This removes also some Path including bits of channels/Makefile:
The misdn subdirectory doesn't need to generate a Makefile.ast anymore which was included by channels/Makefile before. Now all the headers are installed at /usr/include/mISDNuser when installing mISDNuser. This is also very easy to change. It will be quite more easy to understand the makefiles belonging and interacting with chan_misdn.

Also it fixes the behavior of the symbol CHAN_MISDN_VERSION which was before inside of the global CFLAGS, which meant every object of asterisk contained it without need. This symbol is now only given when compiling chan_misdn.c.

In longer terms we'll remove this symbol anyway, because its enough to care about the asterisk version of course.



****** ADDITIONAL INFORMATION ******

as mentioned the changes are findable under

svn/team/crichter/0.2.1/channels/Makefile

which is a copy of 1.2

I've made the same changes for a copy of trunk under

svn/team/crichter/0.3.0/channels/Makefile

so i think it makes sense to modify this one too.
Comments:By: crich (crich) 2005-12-12 04:21:38.000-0600

This is fixed in Trunk.

It still needs to be fixed in 1.2, at the moment it is not possible by users to compile chan_misdn in 1.2.

By: Kevin P. Fleming (kpfleming) 2005-12-13 10:43:34.000-0600

You should have permissions to fix it in 1.2 as well.

By: crich (crich) 2005-12-15 07:25:13.000-0600

Fixed that in 1.2 also.

By: crich (crich) 2005-12-15 07:25:32.000-0600

closing.