]> git.pld-linux.org Git - packages/gnucash.git/blob - gnucash-destdir.patch
- perl -pi -e "s/^libtoolize --copy --force/\%\{__libtoolize\}/"
[packages/gnucash.git] / gnucash-destdir.patch
1 --- gnucash-1.4.0/src/optional/swig/Makefile.am.orig    Wed Jun 14 10:05:40 2000
2 +++ gnucash-1.4.0/src/optional/swig/Makefile.am Mon Jun 19 20:57:39 2000
3 @@ -67,11 +67,11 @@
4  ## same as the .pm file, and automake won't tolerate libraries that
5  ## aren't named lib*.so...
6  install-data-local: libgncswig.la
7 -       cd ${perllibdir} && rm -f gnucash.so
8 -       if [ -f ${perllibdir}/libgncswig.so ]; then \
9 -               cd ${perllibdir} && ln -s libgncswig.so gnucash.so; \
10 -       elif [ -f ${perllibdir}/libgncswig.so.1.1 ]; then \
11 -               cd ${perllibdir} && ln -s libgncswig.so.1.1 gnucash.so; \
12 +       cd ${DESTDIR}/${perllibdir} && rm -f gnucash.so
13 +       if [ -f ${DESTDIR}/${perllibdir}/libgncswig.so ]; then \
14 +               cd ${DESTDIR}/${perllibdir} && ln -s libgncswig.so gnucash.so; \
15 +       elif [ -f ${DESTDIR}/${perllibdir}/libgncswig.so.1.1 ]; then \
16 +               cd ${DESTDIR}/${perllibdir} && ln -s libgncswig.so.1.1 gnucash.so; \
17         else \
18                 echo "Can't find libgncswig shared library!" \
19                 exit 1; \
This page took 0.043731 seconds and 3 git commands to generate.