diff options
author | Francois Andriot <francois.andriot@free.fr> | 2012-05-05 11:07:25 +0200 |
---|---|---|
committer | Francois Andriot <francois.andriot@free.fr> | 2012-05-05 11:07:25 +0200 |
commit | 2d6a8dc02b9bd60ae9c083dfb61fc097184ec436 (patch) | |
tree | 57afbd991357aab383f05338899e32edb0bc6d68 /redhat/applications/k9copy/trinity-k9copy.spec | |
parent | bd0c3694a5c87aeb902130b18721ad35212ea445 (diff) | |
download | tde-packaging-2d6a8dc02b9bd60ae9c083dfb61fc097184ec436.tar.gz tde-packaging-2d6a8dc02b9bd60ae9c083dfb61fc097184ec436.zip |
RHEL/Fedora: fix k9copy build
Diffstat (limited to 'redhat/applications/k9copy/trinity-k9copy.spec')
-rw-r--r-- | redhat/applications/k9copy/trinity-k9copy.spec | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/redhat/applications/k9copy/trinity-k9copy.spec b/redhat/applications/k9copy/trinity-k9copy.spec index c26b384f2..d56c14c08 100644 --- a/redhat/applications/k9copy/trinity-k9copy.spec +++ b/redhat/applications/k9copy/trinity-k9copy.spec @@ -55,14 +55,15 @@ This is the Trinity version # Ugly hack to modify TQT include directory inside autoconf files. # If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! %__sed -i admin/acinclude.m4.in \ - -e "s,/usr/include/tqt,%{_includedir}/tqt,g" \ - -e "s,kde_htmldir='.*',kde_htmldir='%{tde_docdir}/HTML',g" + -e "s|/usr/include/tqt|%{_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_docdir}/HTML'|g" %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__make -f "admin/Makefile.common" + %build export PATH="%{_bindir}:${PATH}" export LDFLAGS="-L%{_libdir} -I%{_includedir}" |