[-]
[+]
|
Changed |
PDFlib-Lite.spec
|
|
[-]
[+]
|
Added |
PDFlib-Lite-7.0.5.diff
^
|
@@ -0,0 +1,68 @@
+--- PDFlib-Lite-7.0.2/bind/pdflib/tcl/Makefile.orig 2007-06-25 04:32:47.000000000 +0200
++++ PDFlib-Lite-7.0.2/bind/pdflib/tcl/Makefile 2007-06-25 04:34:12.000000000 +0200
+@@ -50,16 +50,16 @@
+ ../../../progs/pdi/pdfcheck -i ../java/starter.ref -o -
+
+ install:: $(LIBNAME)
+- if test ! -d $(LANG_LIBDIR) ; then \
+- mkdir -p $(LANG_LIBDIR); \
+- chmod 755 $(LANG_LIBDIR); \
++ if test ! -d $(DESTDIR)$(LANG_LIBDIR) ; then \
++ mkdir -p $(DESTDIR)$(LANG_LIBDIR); \
++ chmod 755 $(DESTDIR)$(LANG_LIBDIR); \
+ fi
+- $(INSTALL_DATA) pkgIndex.tcl $(LANG_LIBDIR)
++ $(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(LANG_LIBDIR)
+ @-if test -f .libs/libpdflib_tcl.dylib; then \
+- $(INSTALL_DATA) .libs/pdflib_tcl.dylib $(LANG_LIBDIR); \
++ $(INSTALL_DATA) .libs/pdflib_tcl.dylib $(DESTDIR)$(LANG_LIBDIR); \
+ else \
+ $(LIBTOOL) --mode=install $(INSTALL_DATA) \
+- $(LIBNAME) $(LANG_LIBDIR); \
++ $(LIBNAME) $(DESTDIR)$(LANG_LIBDIR); \
+ fi
+
+ uninstall::
+--- PDFlib-Lite-7.0.2/bind/pdflib/java/Makefile.orig 2007-06-25 04:34:18.000000000 +0200
++++ PDFlib-Lite-7.0.2/bind/pdflib/java/Makefile 2007-06-25 04:36:38.000000000 +0200
+@@ -90,10 +90,10 @@
+ install:: $(LIBNAME) pdflib.jar
+ @-if test -f .libs/libpdf_java.jnilib; then \
+ $(LIBTOOL) --mode=install $(INSTALL_DATA) \
+- .libs/libpdf_java.jnilib $(LANG_LIBDIR); \
++ .libs/libpdf_java.jnilib $(DESTDIR)$(LANG_LIBDIR); \
+ else \
+ $(LIBTOOL) --mode=install $(INSTALL_DATA) \
+- $(LIBNAME) $(LANG_LIBDIR); \
++ $(LIBNAME) $(DESTDIR)$(LANG_LIBDIR); \
+ fi
+ @echo Copy pdflib.jar and javadoc to an appropriate directory,
+ @echo and include pdflib.jar in your CLASSPATH.
+--- PDFlib-Lite-7.0.2/bind/pdflib/perl/Makefile.orig 2007-06-25 04:36:46.000000000 +0200
++++ PDFlib-Lite-7.0.2/bind/pdflib/perl/Makefile 2007-06-25 04:37:42.000000000 +0200
+@@ -47,8 +47,8 @@
+
+ install:: $(LIBNAME)
+ $(LIBTOOL) --mode=install \
+- $(INSTALL_DATA) $(LIBNAME) $(LANG_LIBDIR)
+- $(INSTALL_DATA) pdflib_pl.pm $(LANG_LIBDIR)
++ $(INSTALL_DATA) $(LIBNAME) $(DESTDIR)$(LANG_LIBDIR)
++ $(INSTALL_DATA) pdflib_pl.pm $(DESTDIR)$(LANG_LIBDIR)
+
+ uninstall::
+ $(LIBTOOL) --mode=uninstall \
+--- PDFlib-Lite-7.0.3/bind/pdflib/python/Makefile.orig 2008-04-06 13:22:39.000000000 +0200
++++ PDFlib-Lite-7.0.3/bind/pdflib/python/Makefile 2008-04-06 13:23:12.000000000 +0200
+@@ -57,10 +57,10 @@
+
+ install:: $(LIBNAME)
+ @-if test -f libpdflib_py.dylib; then \
+- $(INSTALL_DATA) .libs/pdflib_py.so $(LANG_LIBDIR); \
++ $(INSTALL_DATA) .libs/pdflib_py.so $(DESTDIR)$(LANG_LIBDIR); \
+ else \
+ $(LIBTOOL) --mode=install $(INSTALL_DATA) \
+- $(LIBNAME) $(LANG_LIBDIR); \
++ $(LIBNAME) $(DESTDIR)$(LANG_LIBDIR); \
+ fi
+
+ uninstall::
|
[-]
[+]
|
Added |
PDFlib-Lite-7.0.5_perlvendor.diff
^
|
@@ -0,0 +1,11 @@
+--- configure.orig 2008-07-18 22:49:02.000000000 +0200
++++ configure 2008-07-18 22:49:12.000000000 +0200
+@@ -8513,7 +8513,7 @@
+ WITH_PERL=no
+ fi
+
+- PERLLIBDIR=`($PERL -e 'use Config; print $Config{sitearchexp};') 2>/dev/null`
++ PERLLIBDIR=`($PERL -e 'use Config; print $Config{vendorarchexp};') 2>/dev/null`
+ if test -z "$PERLLIBDIR" -o ! -d "$PERLLIBDIR"; then
+ echo "$as_me:$LINENO: result: unable to determine perl shared library directory" >&5
+ echo "${ECHO_T}unable to determine perl shared library directory" >&6
|
|
Added |
PDFlib-Lite-7.0.5.tar.bz2
^
|