]> git.pld-linux.org Git - packages/asterisk.git/commitdiff
- simplified
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 1 Mar 2005 21:08:17 +0000 (21:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    asterisk.spec -> 1.43

asterisk.spec

index d8107971acda26c87b5dad894879e0c7745e053e..db7482df4f9579564ea66c17f37b7efe040d5fa5 100644 (file)
@@ -120,15 +120,13 @@ rm -f pbx/.depend
        CC="%{__cc}" \
        OPTIMIZE="%{rpmcflags}"
 
-%if %{!without h323}
+%if %{with h323}
 # H323 plugin:
-cd channels/h323/
-%{__make} \
+%{__make} -C channels/h323 \
        PWLIBDIR="%{_prefix}" \
        OPENH323DIR="%{_prefix}" \
        CC="%{__cc}" \
-       CFLAGS="%{rpmcflags} -I/usr/include/openh323 -fPIC -fpic -I../../include"
-cd ../../
+       CFLAGS="%{rpmcflags} -I/usr/include/openh323 -fPIC -I../../include"
 %endif
 
 # it requires doxygen - I don't know if we should do this...
This page took 0.082803 seconds and 4 git commands to generate.