summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Lancaster <alexlan[AT]fedoraproject org>2012-10-04 18:47:40 -0400
committerAlex Lancaster <alexlan[AT]fedoraproject org>2012-10-04 18:47:40 -0400
commitebd06803b21e8408877f5ee4cfcbf138129b71a0 (patch)
treec42fed798f0ad3b50ef1e36e128f4470236513cc
parente4373f3508bcf54856e858bd20443876bc40eec7 (diff)
downloadxbmc-rpm-ebd06803b21e8408877f5ee4cfcbf138129b71a0.tar.gz
xbmc-rpm-ebd06803b21e8408877f5ee4cfcbf138129b71a0.tar.xz
xbmc-rpm-ebd06803b21e8408877f5ee4cfcbf138129b71a0.zip
Add CFLAGS option to recognize Samba 4.0 (in f18+)
-rw-r--r--xbmc.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/xbmc.spec b/xbmc.spec
index 16a82e1..4409b86 100644
--- a/xbmc.spec
+++ b/xbmc.spec
@@ -251,8 +251,8 @@ chmod +x bootstrap
--disable-dvdcss \
--disable-optimizations --disable-debug \
CPPFLAGS="-I/usr/include/ffmpeg" \
-CFLAGS="$RPM_OPT_FLAGS -fPIC -I/usr/include/afpfs-ng/ -I/usr/include/ffmpeg -D__STDC_CONSTANT_MACROS" \
-CXXFLAGS="$RPM_OPT_FLAGS -fPIC -I/usr/include/afpfs-ng/ -I/usr/include/ffmpeg -D__STDC_CONSTANT_MACROS" \
+CFLAGS="$RPM_OPT_FLAGS -fPIC -I/usr/include/afpfs-ng/ -I/usr/include/ffmpeg -I/usr/include/samba-4.0/ -D__STDC_CONSTANT_MACROS" \
+CXXFLAGS="$RPM_OPT_FLAGS -fPIC -I/usr/include/afpfs-ng/ -I/usr/include/ffmpeg -I/usr/include/samba-4.0/ -D__STDC_CONSTANT_MACROS" \
LDFLAGS="-fPIC" \
LIBS="-L%{_libdir}/mysql %{?_with_hdhomerun:-lhdhomerun} $LIBS" \
ASFLAGS=-fPIC
@@ -327,6 +327,7 @@ fi
- Drop desktop patch (now in Frodo alpha6)
- Add BR for taglib-devel >= 1.8 (libid3tag is being phased out)
- BR for swig and java-devel
+- Add CFLAGS option to recognize Samba 4.0 (in f18+)
- Rebase patches to 12.0/Frodo where necessary
* Sun Aug 28 2012 Ken Dreyer <ktdreyer@ktdreyer..com> - 12.8-0.1.Frodo_alpha4