Correct flawed path variables in build configuration.

Fri, 07 Oct 2011 16:34:24 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 07 Oct 2011 16:34:24 +0200
changeset 391
9ea3ce683273
parent 390
29651fde8b05
child 392
886f36c75532

Correct flawed path variables in build configuration.

kamailio/kamailio.spec file | annotate | diff | comparison | revisions
     1.1 --- a/kamailio/kamailio.spec	Fri Oct 07 16:33:56 2011 +0200
     1.2 +++ b/kamailio/kamailio.spec	Fri Oct 07 16:34:24 2011 +0200
     1.3 @@ -32,7 +32,7 @@
     1.4  Group:        VoIP
     1.5  License:      GPL
     1.6  Version:      3.1.5
     1.7 -Release:      20111000
     1.8 +Release:      20111001
     1.9  
    1.10  #   package options
    1.11  %option       with_cons    yes
    1.12 @@ -171,8 +171,10 @@
    1.13          -e 's;\$(LOCALBASE)/[^/][^/]*/sctp.h;;g' \
    1.14          -e 's;\$(LOCALBASE)/ssl/include;`%{l_prefix}/bin/pkg-config --cflags-only-I openssl`;g' \
    1.15          -e 's;\$(LOCALBASE)/ssl/lib;`%{l_prefix}/bin/pkg-config --libs openssl`;g' \
    1.16 -        -e 's;\(data_dir\) *= *\(\$(MAIN_NAME)\);\1 = share/\2;g' \
    1.17          -e 's;LOCALBASE *[\?:]*=.*;LOCALBASE = %{l_prefix};g' \
    1.18 +        -e 's;\(data_dir\) *=.*;\1 = share/$(MAIN_NAME);g' \
    1.19 +        -e 's;\(doc_dir\) *=.*;\1 = share/$(MAIN_NAME)/doc;g' \
    1.20 +        -e 's;\(man_dir\) *=.*;\1 = man/;g' \
    1.21          Makefile.defs
    1.22      %{l_shtool} subst \
    1.23          -e 's;CFLAGS *= *$;CFLAGS = %{l_cflags -O};g' \
    1.24 @@ -189,7 +191,7 @@
    1.25          -e 's;LIBS=.*;LIBS=`%{l_prefix}/bin/pkg-config --libs db`;g' \
    1.26          utils/db_berkeley/Makefile
    1.27      %{l_shtool} subst \
    1.28 -        -e 's;\(mkdir.*\$(data_prefix)/\$(data_dir)/.*\)/kamailio;\1;g' \
    1.29 +        -e 's;\(\$(data_prefix)/\$(data_dir)/.*\)/kamailio;\1;g' \
    1.30          utils/kamctl/Makefile
    1.31      %{l_shtool} subst \
    1.32          -e 's;\(radiusclient\)-ng;\1;g' \

mercurial