tags 466770 + patch
thanks

Hi,

Attached is the diff for my perl4caml 0.9.3-8.1 NMU (based on Niko's
patch).

Marc
diff -u perl4caml-0.9.3/debian/patches/00list perl4caml-0.9.3/debian/patches/00list
--- perl4caml-0.9.3/debian/patches/00list
+++ perl4caml-0.9.3/debian/patches/00list
@@ -1,0 +2 @@
+11_Makefile.config
diff -u perl4caml-0.9.3/debian/changelog perl4caml-0.9.3/debian/changelog
--- perl4caml-0.9.3/debian/changelog
+++ perl4caml-0.9.3/debian/changelog
@@ -1,3 +1,12 @@
+perl4caml (0.9.3-8.1) unstable; urgency=low
+
+  * Non-maintainer upload to help perl5.10 transition along
+  * debian/patches/11_Makefile.config.dpatch: Added patch from Niko Tyni to
+    let perl4caml build against other perl version than 5.8.X. (Closes:
+    #466770)
+
+ -- Marc 'HE' Brockschmidt <[EMAIL PROTECTED]>  Fri, 09 May 2008 11:19:11 +0200
+
 perl4caml (0.9.3-8) unstable; urgency=low
 
   * Rebuild for 3.10.0
only in patch2:
unchanged:
--- perl4caml-0.9.3.orig/debian/patches/11_Makefile.config.dpatch
+++ perl4caml-0.9.3/debian/patches/11_Makefile.config.dpatch
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 11_Makefile.config.dpatch by Marc Brockschmidt <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix up Makefile.config to not be bound to Perl5.8
+
[EMAIL PROTECTED]@
+--- a/Makefile.config
++++ b/Makefile.config
+@@ -36,7 +36,8 @@ EXTRA_CFLAGS := -DPERL4CAML_REFCOUNTING_EXPERIMENTAL=1
+ # To work out what this should be, try:
+ # `perl -MExtUtils::Embed -e ldopts'
+ 
+-DYNALOADER_HACK := /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a
++#DYNALOADER_HACK := /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a
++DYNALOADER_HACK := $(shell perl -MExtUtils::Embed -e 'print map { m{^(-l|/)} ? "-cclib $$_ " : "-ccopt $$_ "} split(/\s+/, ldopts(1))')
+ #DYNALOADER_HACK := /System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a
+ 
+ # PACKAGE and VERSION

Reply via email to