--- pcre-ocaml-5.13.0.orig/debian/control
+++ pcre-ocaml-5.13.0/debian/control
@@ -0,0 +1,52 @@
+Source: pcre-ocaml
+Section: devel
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
+Uploaders: Stefano Zacchiroli <zack@debian.org>
+Build-Depends: debhelper (>= 5.0.0), libpcre3-dev (>= 4.5), ocaml-nox (>= 3.10.1), ocaml-findlib (>= 1.2.1-4~bpo40+3), cdbs, dpatch
+Standards-Version: 3.7.3
+Vcs-Svn: svn://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/pcre-ocaml/trunk
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/pcre-ocaml/trunk/
+Homepage: http://www.ocaml.info/home/ocaml_sources.html
+
+Package: libpcre-ocaml
+Architecture: any
+Section: libs
+Depends: ocaml-base-nox-${F:OCamlABI}, ${shlibs:Depends}, ${misc:Depends}
+Description: OCaml bindings for PCRE (Perl Compatible Regular Expression)
+ This OCaml-library interfaces the PCRE (Perl-compatibility
+ regular expressions) C library. it can be used for matching
+ regular expressions which are written in Perl style.
+ .
+ Compared with the OCaml standard library "Str" module, this
+ library:
+  * uses Perl style rather than Emacs one
+  * is reentrant and thus thread safe
+  * is faster (when compiled to native code is even faster than
+    Perl regular expressions)
+  * returns data on which you can safely use destructive updates
+  * gives more "programming confort" through a better API
+ .
+ This package contains only the shared runtime stub libraries.
+
+Package: libpcre-ocaml-dev
+Architecture: any
+Section: libdevel
+Depends: ocaml-nox-${F:OCamlABI}, libpcre3-dev (>= 4.5), libpcre-ocaml (= ${binary:Version}), ocaml-findlib (>= 1.1), ${misc:Depends}
+Description: OCaml bindings for PCRE (Perl Compatible Regular Expression)
+ This OCaml-library interfaces the PCRE (Perl-compatibility
+ regular expressions) C library. it can be used for matching
+ regular expressions which are written in Perl style.
+ .
+ Compared with the OCaml standard library "Str" module, this
+ library:
+  * uses Perl style rather than Emacs one
+  * is reentrant and thus thread safe
+  * is faster (when compiled to native code is even faster than
+    Perl regular expressions)
+  * returns data on which you can safely use destructive updates
+  * gives more "programming confort" through a better API
+ .
+ This package contains all the development stuff you need to use
+ OCaml PCRE in your programs.
+
--- pcre-ocaml-5.13.0.orig/debian/libpcre-ocaml.install
+++ pcre-ocaml-5.13.0/debian/libpcre-ocaml.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/ocaml/*/pcre/*.so	usr/lib/ocaml/3.10.1/stublibs/
--- pcre-ocaml-5.13.0.orig/debian/rules
+++ pcre-ocaml-5.13.0/debian/rules
@@ -0,0 +1,21 @@
+#!/usr/bin/make -f
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/class/ocaml.mk
+include /usr/share/cdbs/1/rules/dpatch.mk
+
+PKGNAME = libpcre-ocaml-dev
+DESTDIR := $(CURDIR)/debian/tmp$(OCAML_STDLIB_DIR)
+DOCDIR = $(CURDIR)/debian/doc/html
+OCAML_OCAMLDOC_PACKAGES = $(OCAML_LIBDEV_PACKAGES)
+
+ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
+	DEB_MAKE_BUILD_TARGET = opt NO_CUSTOM=y
+	DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(DESTDIR) NATIVE=true
+else
+	DEB_MAKE_BUILD_TARGET = all NO_CUSTOM=y
+	DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(DESTDIR)
+endif
+
+build/$(PKGNAME)::
+	rm -f examples/cloc/make_win32_cloc.bat
--- pcre-ocaml-5.13.0.orig/debian/watch
+++ pcre-ocaml-5.13.0/debian/watch
@@ -0,0 +1,7 @@
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+http://www.ocaml.info/ocaml_sources/pcre-ocaml-(.*)\.tar\.gz
+
--- pcre-ocaml-5.13.0.orig/debian/svn-deblayout
+++ pcre-ocaml-5.13.0/debian/svn-deblayout
@@ -0,0 +1,3 @@
+origDir=../upstream
+origUrl=svn+ssh://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/pcre-ocaml/upstream
+tagsUrl=svn+ssh://svn.debian.org/svn/pkg-ocaml-maint/tags/packages/pcre-ocaml
--- pcre-ocaml-5.13.0.orig/debian/changelog
+++ pcre-ocaml-5.13.0/debian/changelog
@@ -0,0 +1,294 @@
+pcre-ocaml (5.13.0-1~bpo40+3) etch-backports; urgency=low
+
+  * Versioned build dependency on ocaml-findlib
+
+ -- Romain Beauxis <toots@rastageeks.org>  Tue, 13 May 2008 02:04:31 +0200
+
+pcre-ocaml (5.13.0-1~bpo40+2) etch-backports; urgency=low
+
+  * Rebuild against the new ocaml and ocamlfind.
+
+ -- Romain Beauxis <toots@rastageeks.org>  Tue, 13 May 2008 00:52:09 +0200
+
+pcre-ocaml (5.13.0-1~bpo40+1) etch-backports; urgency=low
+
+  * Rebuild for etch-backports.
+  * Changed build-dep constraint on ocaml-nox to (>= 3.10.0-13~bpo40+1)
+
+ -- Romain Beauxis <toots@rastageeks.org>  Mon, 07 Apr 2008 10:23:02 +0100
+
+pcre-ocaml (5.13.0-1) unstable; urgency=low
+
+  * new upstream release
+  * fix vcs-svn field to point just above the debian/ dir
+  * rebuild against ocaml 3.10.1
+
+ -- Stefano Zacchiroli <zack@debian.org>  Sat, 09 Feb 2008 17:58:20 +0100
+
+pcre-ocaml (5.12.2-3) unstable; urgency=low
+
+  * add Homepage field to debian/control
+  * update standards-version, no changes needed
+  * setting me as an uploader, d-o-m as the maintainer
+  * debian/patches: added patch descriptions for build.dpatch and fpic.dpatch
+  * debian/rules: remove unneeded win32 .bat file (make_win32_cloc.bat), it
+    was useless and its removal makes lintian happy
+
+ -- Stefano Zacchiroli <zack@debian.org>  Sat, 29 Dec 2007 22:32:54 +0100
+
+pcre-ocaml (5.12.2-2) unstable; urgency=low
+
+  * debian/control
+    - bump build-dep on ocaml-nox to 3.10.0-8 to ensure we build against fixed
+      CDBS class wrt ocamldoc generation
+
+ -- Stefano Zacchiroli <zack@debian.org>  Sun, 02 Sep 2007 23:19:49 +0200
+
+pcre-ocaml (5.12.2-1) unstable; urgency=low
+
+  * new upstream release
+  * bump debhelper dep and compatibility level to 5
+  * debian/rules
+    - use CDBS class support for generating the API reference via ocamldoc
+      instead of doing that by hand. Remove doc-base entry for the HTML API
+      reference; this is a bit of a regression, but in the future the doc-base
+      entries will be automatically generated by CDBS
+  * debian/control
+    - bump dep on ocaml-nox to 3.10.0-7, since we now use latest stuff of the
+      CDBS class
+  * debian/patches/build.dpatch
+    - ensure DESTDIR is created before attempting to install there with
+      findlib (apparently needed starting from this upstream version)
+
+ -- Stefano Zacchiroli <zack@debian.org>  Sun, 02 Sep 2007 16:39:34 +0200
+
+pcre-ocaml (5.11.4-1) experimental; urgency=low
+
+  * new upstream release
+  * rebuilt against OCaml 3.10.0
+  * debian/watch
+    - added watch file
+  * debian/control
+    - use binary:Version instead of Source-Version for strict dependencies
+  * debian/patches/*
+    - removed heading XX_ in dpatches: 00list is enough for the ordering
+
+ -- Stefano Zacchiroli <zack@debian.org>  Thu, 05 Jul 2007 10:20:08 +0200
+
+pcre-ocaml (5.11.1-2) unstable; urgency=low
+
+  * debian/rules
+    - use ocaml.mk cdbs class
+  * debian/control
+    - bumped ocaml-nox build dependency to >= 3.09.2-7 since we now use
+      ocaml.mk
+
+ -- Stefano Zacchiroli <zack@debian.org>  Sat,  4 Nov 2006 09:23:02 +0100
+
+pcre-ocaml (5.11.1-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/rules
+    - removed no longer needed workaround for cdbs + dpatch
+    - avoid to create debian/control from debian/control.in on ocamlinit
+  * debian/control.in
+    - file removed; it is deprecated as per ocaml packaging policy 3.3
+  * debian/patches/
+    - commented out 19_meta.dpatch (not needed with this version, lib version
+      is correct in upstream's META)
+
+ -- Stefano Zacchiroli <zack@debian.org>  Tue,  5 Sep 2006 21:27:53 +0200
+
+pcre-ocaml (5.10.1-4) unstable; urgency=low
+
+  * Upload to unstable.
+
+ -- Stefano Zacchiroli <zack@debian.org>  Tue, 16 May 2006 20:12:18 +0000
+
+pcre-ocaml (5.10.1-3) experimental; urgency=low
+
+  * Rebuilt against OCaml 3.09.2, bumped deps accordingly.
+  * Bumped Standards-Version to 3.7.2 (no changes needed).
+
+ -- Stefano Zacchiroli <zack@debian.org>  Thu, 11 May 2006 22:09:37 +0000
+
+pcre-ocaml (5.10.1-2) unstable; urgency=low
+
+  * Rebuilt against OCaml 3.09.1, bumped deps accordingly.
+
+ -- Stefano Zacchiroli <zack@debian.org>  Sat,  7 Jan 2006 14:30:33 +0100
+
+pcre-ocaml (5.10.1-1) unstable; urgency=low
+
+  * New upstream release
+  * rebuilt with ocaml 3.09
+  * debian/*
+    - no more hardcoding of ocaml abi anywhere
+  * debian/control
+    - bumped standards-version
+  * debian/patches/19_meta.dpatch
+    - bumped lib version in META
+
+ -- Stefano Zacchiroli <zack@debian.org>  Tue,  8 Nov 2005 23:08:44 +0100
+
+pcre-ocaml (5.10.0-3) unstable; urgency=low
+
+  * debian/patches/31_fpic
+    - patched OCamlMakefile so that pcre_stubs.o is built with -fPIC,
+      fixes FTBFS on amd64 and other archs (Closes: Bug#320624).
+
+ -- Stefano Zacchiroli <zack@debian.org>  Sun, 31 Jul 2005 22:01:15 +0200
+
+pcre-ocaml (5.10.0-2) unstable; urgency=low
+
+  * debian/control
+    - added build-dep on dpatch (Closes: Bug#320456).
+
+ -- Stefano Zacchiroli <zack@debian.org>  Fri, 29 Jul 2005 17:36:36 +0200
+
+pcre-ocaml (5.10.0-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/*
+    - uses CDBS and dpatch
+
+ -- Stefano Zacchiroli <zack@debian.org>  Sat, 25 Jun 2005 09:54:05 +0200
+
+pcre-ocaml (5.08.1-3) unstable; urgency=low
+
+  * Rebuilt against ocaml 3.08.3
+
+ -- Stefano Zacchiroli <zack@debian.org>  Thu, 24 Mar 2005 22:44:54 +0100
+
+pcre-ocaml (5.08.1-2) unstable; urgency=medium
+
+  * debian/control
+    - depend on ocaml-base-nox-3.08 instead of ocaml-base-3.08 since
+      this package doesn't directly need ocaml X libraries
+
+ -- Stefano Zacchiroli <zack@debian.org>  Tue, 24 Aug 2004 12:18:34 +0200
+
+pcre-ocaml (5.08.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Rebuilt with ocaml 3.08
+  * debian/control
+    - bumped ocaml deps to 3.08
+    - bumped standards-version to 3.6.1.1
+    - changed ocaml deps to ocaml-nox
+
+ -- Stefano Zacchiroli <zack@debian.org>  Mon, 26 Jul 2004 14:58:03 +0200
+
+pcre-ocaml (5.06.2-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control
+    - bumped standards-version to 3.6.1.0
+    - bumped dependencies to libpcre3-dev >= 4.5 as needed by this
+      upstream release
+
+ -- Stefano Zacchiroli <zack@debian.org>  Mon, 15 Mar 2004 19:18:28 +0100
+
+pcre-ocaml (5.03.1-4) unstable; urgency=low
+
+  * Rebuilt with ocaml 3.07
+
+ -- Stefano Zacchiroli <zack@debian.org>  Wed,  1 Oct 2003 13:33:03 +0200
+
+pcre-ocaml (5.03.1-3) unstable; urgency=low
+
+  * Rebuilt with ocaml 3.07beta2
+
+ -- Stefano Zacchiroli <zack@debian.org>  Mon, 22 Sep 2003 17:11:38 +0200
+
+pcre-ocaml (5.03.1-2) unstable; urgency=low
+
+  * bugfix: added build dependencies on ocaml-findlib
+
+ -- Stefano Zacchiroli <zack@debian.org>  Tue, 17 Jun 2003 18:00:31 +0200
+
+pcre-ocaml (5.03.1-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control
+    - added versioned dependencies on libcpre3 (>= 4.3)
+    - bumped standards-version to 3.5.10
+    - removed obsolete Provides libpcre-ocaml-dev-<version>
+    - changed section of libpcre-ocaml-dev to libdevel
+    - added ${misc:Depends}
+  * debian/rules
+    - removed DH_COMPAT in favour of debian/compat
+    - removed useless NO_CUSTOM=y option when compiling native code
+    - use dh_install in place of dh_movefiles
+
+ -- Stefano Zacchiroli <zack@debian.org>  Tue, 17 Jun 2003 13:18:13 +0200
+
+pcre-ocaml (4.30.0-3) unstable; urgency=low
+
+  * Removed Provides:.*-<version>
+
+ -- Stefano Zacchiroli <zack@debian.org>  Mon, 10 Mar 2003 12:50:29 +0100
+
+pcre-ocaml (4.30.0-2) unstable; urgency=low
+
+  * Libdir transition to /usr/lib/ocaml/3.06
+  * Changed depends and build depends to ocaml{,-base}-3.06-1
+
+ -- Stefano Zacchiroli <zack@debian.org>  Mon, 16 Dec 2002 12:46:33 +0100
+
+pcre-ocaml (4.30.0-1) unstable; urgency=low
+
+  * New upstream release
+  * Create ocamldoc documentation at debian package build time (thus
+    removed TODO)
+  * Added 'Provides: libpcre-ocaml-dev-<version>' to libpcre-ocaml-dev
+  * Bumped Standards-Version to 3.5.8
+
+ -- Stefano Zacchiroli <zack@debian.org>  Thu, 28 Nov 2002 23:04:30 +0100
+
+pcre-ocaml (4.28.2-2) unstable; urgency=low
+
+  * Disabled custom mode forcing, now is possible to build arch:all
+    packages against pcre-ocaml
+  * Use a more intelligent test to see if ocamlopt is available in
+  	debian/rules
+
+ -- Stefano Zacchiroli <zack@debian.org>  Tue, 17 Sep 2002 15:11:27 +0200
+
+pcre-ocaml (4.28.2-1) unstable; urgency=low
+
+  * New upstream release
+  * Rebuilt against ocaml 3.06 (Closes: Bug#158248, Bug#158231)
+  * Changed deps and build-deps to ocaml-3.06 and ocaml-base-3.06
+    accordingly to the new ocaml packaging policy
+  * Changed ocaml-findlib from recommends to depends
+
+ -- Stefano Zacchiroli <zack@debian.org>  Mon, 26 Aug 2002 15:50:04 +0200
+
+pcre-ocaml (4.26.3-3) unstable; urgency=low
+
+  * Moved shared objects in /usr/lib/ocaml/stublibs
+  * Switched to debhelper 4
+  * Commented out dh_ocamlld, no longer needed
+
+ -- Stefano Zacchiroli <zack@debian.org>  Sun,  7 Jul 2002 15:05:56 +0200
+
+pcre-ocaml (4.26.3-2) unstable; urgency=low
+
+  * Bugfix: changed dependency on libpcre3 to libpcre3-dev
+  * Added Recommends on ocaml-findlib
+
+ -- Stefano Zacchiroli <zack@debian.org>  Sat, 11 May 2002 11:35:14 +0200
+
+pcre-ocaml (4.26.3-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Stefano Zacchiroli <zack@debian.org>  Mon,  6 May 2002 22:45:22 +0200
+
+pcre-ocaml (4.26.0-1) unstable; urgency=low
+
+  * Initial Release (Closes: Bug#137859).
+
+ -- Stefano Zacchiroli <zack@debian.org>  Thu,  2 May 2002 17:00:14 +0200
+
--- pcre-ocaml-5.13.0.orig/debian/libpcre-ocaml-dev.examples
+++ pcre-ocaml-5.13.0/debian/libpcre-ocaml-dev.examples
@@ -0,0 +1 @@
+examples/*
--- pcre-ocaml-5.13.0.orig/debian/compat
+++ pcre-ocaml-5.13.0/debian/compat
@@ -0,0 +1 @@
+5
--- pcre-ocaml-5.13.0.orig/debian/libpcre-ocaml-dev.docs
+++ pcre-ocaml-5.13.0/debian/libpcre-ocaml-dev.docs
@@ -0,0 +1 @@
+README
--- pcre-ocaml-5.13.0.orig/debian/libpcre-ocaml-dev.README.Debian
+++ pcre-ocaml-5.13.0/debian/libpcre-ocaml-dev.README.Debian
@@ -0,0 +1,13 @@
+
+  - About the examples
+    
+    Examples' Makefiles are built using OcamlMakefile and thus
+    depend on it, to build them install the ocaml-tools package
+    that contains OcamlMakefile and change the OCAMLMAKEFILE
+    variable defined in the various Makefiles making it point to
+    /usr/share/ocaml-tools/OcamlMakefile.
+
+    E.g.  OCAMLMAKEFILE = /usr/share/ocaml-tools/OcamlMakefile
+
+-- Stefano Zacchiroli <zack@debian.org>, Thu,  2 May 2002 23:01:21 +0200
+
--- pcre-ocaml-5.13.0.orig/debian/patches/build.dpatch
+++ pcre-ocaml-5.13.0/debian/patches/build.dpatch
@@ -0,0 +1,55 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## build.dpatch by  <zack@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: split the build process among native and non native targets, introducing
+## DP: the new opt target; it will be invoked only if /usr/bin/ocamlopt exists
+
+@DPATCH@
+diff -urNad trunk~/Makefile trunk/Makefile
+--- trunk~/Makefile	2007-08-27 05:20:48.000000000 +0200
++++ trunk/Makefile	2007-09-02 16:36:17.000000000 +0200
+@@ -4,8 +4,13 @@
+ 
+ .PHONY: all
+ all:
++	@cd lib && $(MAKE) byte-code-library
++
++.PHONY: opt
++opt:
+ 	@cd lib && $(MAKE) byte-code-library native-code-library
+ 
++
+ .PHONY:	examples
+ examples:
+ 	@for dir in $(EXAMPLES); do (cd $$dir && $(MAKE)); done
+diff -urNad trunk~/OCamlMakefile trunk/OCamlMakefile
+--- trunk~/OCamlMakefile	2007-08-27 05:20:48.000000000 +0200
++++ trunk/OCamlMakefile	2007-09-02 16:37:08.000000000 +0200
+@@ -498,8 +498,14 @@
+ endif
+ 
+ ifndef LIBINSTALL_FILES
+-  LIBINSTALL_FILES := $(RESULT).mli $(RESULT).cmi $(RESULT).cma \
+-		      $(RESULT).cmxa $(RESULT).$(EXT_LIB) $(RES_CLIB)
++  ifdef NATIVE
++    LIBINSTALL_FILES := $(RESULT).mli $(RESULT).cmi $(RESULT).cma \
++                        $(RESULT).cmxa $(RESULT).$(EXT_LIB) $(RES_CLIB)
++  else
++    LIBINSTALL_FILES := $(RESULT).mli $(RESULT).cmi $(RESULT).cma \
++                        $(RES_CLIB)
++  endif
++
+   ifndef STATIC
+     ifneq ($(strip $(OBJ_LINK)),)
+       LIBINSTALL_FILES += $(DLLSONAME)
+@@ -1138,7 +1144,8 @@
+ .PHONY: libinstall
+ libinstall:	all
+ 	$(QUIET)printf "\nInstalling library with ocamlfind\n"
+-	$(OCAMLFIND) install $(OCAMLFIND_INSTFLAGS) $(RESULT) META $(LIBINSTALL_FILES)
++	mkdir -p $(DESTDIR)
++	$(OCAMLFIND) install -destdir $(DESTDIR) -ldconf /dev/null $(OCAMLFIND_INSTFLAGS) $(RESULT) META $(LIBINSTALL_FILES)
+ 	$(QUIET)printf "\nInstallation successful.\n"
+ 
+ .PHONY: libuninstall
--- pcre-ocaml-5.13.0.orig/debian/patches/00dpatch.conf
+++ pcre-ocaml-5.13.0/debian/patches/00dpatch.conf
@@ -0,0 +1,2 @@
+conf_debianonly=1
+conf_origtargzpath=../upstream
--- pcre-ocaml-5.13.0.orig/debian/patches/meta.dpatch
+++ pcre-ocaml-5.13.0/debian/patches/meta.dpatch
@@ -0,0 +1,17 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## meta.dpatch by  <zack@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad trunk~/lib/META trunk/lib/META
+--- trunk~/lib/META	2004-05-19 10:35:36.000000000 +0000
++++ trunk/lib/META	2005-11-13 00:07:14.000000000 +0000
+@@ -1,5 +1,5 @@
+ name="pcre"
+-version="5.08.1"
++version="5.10.1"
+ description="Perl Compatibility Regular Expressions"
+ requires=""
+ archive(byte)="pcre.cma"
--- pcre-ocaml-5.13.0.orig/debian/patches/00list
+++ pcre-ocaml-5.13.0/debian/patches/00list
@@ -0,0 +1,2 @@
+build.dpatch
+fpic.dpatch
--- pcre-ocaml-5.13.0.orig/debian/patches/fpic.dpatch
+++ pcre-ocaml-5.13.0/debian/patches/fpic.dpatch
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fpic.dpatch by Stefano Zacchiroli <zack@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: build shared objects as PIC objects
+
+@DPATCH@
+diff -urNad --exclude=CVS --exclude=.svn ./OCamlMakefile /tmp/dpep-work.483SSF/trunk/OCamlMakefile
+--- ./OCamlMakefile	2005-06-09 01:42:12.000000000 +0200
++++ /tmp/dpep-work.483SSF/trunk/OCamlMakefile	2005-07-31 22:00:28.000000000 +0200
+@@ -1011,6 +1011,7 @@
+ 
+ .c.$(EXT_OBJ):
+ 			$(OCAMLC) -c -cc "$(CC)" -ccopt "$(CFLAGS) \
++				-fPIC \
+ 				$(CPPFLAGS) $(CPPFLAGS_WIN32) \
+ 				$(CFLAGS_WIN32) $(CINCFLAGS) $(CFLAG_O)$@ " $< 
+ 
--- pcre-ocaml-5.13.0.orig/debian/libpcre-ocaml.install.in
+++ pcre-ocaml-5.13.0/debian/libpcre-ocaml.install.in
@@ -0,0 +1 @@
+debian/tmp/usr/lib/ocaml/*/pcre/*.so	usr/lib/ocaml/@OCamlABI@/stublibs/
--- pcre-ocaml-5.13.0.orig/debian/copyright
+++ pcre-ocaml-5.13.0/debian/copyright
@@ -0,0 +1,28 @@
+This package was debianized by Stefano Zacchiroli <zack@debian.org> on
+Thu,  2 May 2002 17:00:14 +0200.
+
+It was downloaded from:
+  http://www.ai.univie.ac.at/~markus/ocaml_sources
+
+Upstream Author:
+  Markus Mottl <markus@oefai.at>
+
+Copyright:
+
+  This library is free software; you can redistribute it and/or
+  modify it under the terms of the GNU Lesser General Public
+  License as published by the Free Software Foundation; either
+  version 2.1 of the License, or (at your option) any later version.
+
+  This library is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+  Lesser General Public License for more details.
+
+  You should have received a copy of the GNU Lesser General Public
+  License along with this library; if not, write to the Free Software
+  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
+  USA.
+
+  On a Debian GNU/Linux system, the LGPL can be found as
+  /usr/share/common-licenses/LGPL-2.1.
--- pcre-ocaml-5.13.0.orig/debian/libpcre-ocaml-dev.install
+++ pcre-ocaml-5.13.0/debian/libpcre-ocaml-dev.install
@@ -0,0 +1,4 @@
+debian/tmp/usr/lib/ocaml/*/pcre/META
+debian/tmp/usr/lib/ocaml/*/pcre/*.a
+debian/tmp/usr/lib/ocaml/*/pcre/*.cm*
+debian/tmp/usr/lib/ocaml/*/pcre/*.ml*
