[Asterisk-Dev] libpri-s makefile

Steve Drach sdrach at gmail.com
Mon Aug 22 16:52:55 MST 2005


> The makefile seems to have been patched by a Solaris guy.

Actually it looks to me like sombody who doesn't know Solaris very well.

> It seems to
> have the assumption that you're either using Solaring and installing to
> /usr/local or using Linux and nor really using ldconfig at install time
> (-n: just symlink, don't update cache. Handy for package builders) and
> installing files under /usr .

That whole section was pretty well messed up.  For a patch, check out bug report
4999.

> > Fine with me for my package. But what if you just want to install it to
> /usr/local ? Shouldn't that be the default?

Actually Solaris has well defined, and specified locations for third
party applications.
There is a comment in bug report 4999.

> Anyway: I also saw there:
> 
>   ifeq ($(PROC),sparc64)
>   PROC=ultrasparc
> 
> Does this actually work? Last time I tried something like that, make
> complained about redefining values and ignored the second assignment.

I think it should work.  But it won't do anything for Solaris Sparc
compiles since
uname -m returns sun4u and not sparc64.  I suspect this is for Linux on Sparc.

> There is actually no need to change PROC there, as the new value is only
> used once in the makefile: in the next line (still inside that same
> ifeq).

Yep.



More information about the asterisk-dev mailing list