[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fwd: [PATCH] ocamlnet: Fix FTBFS on hurd-i386



Hi,

Here is another mail sent to hurd-i386@buildd.debian.org which didn't
get reply. It seems that people are more responsive here...


Cheers,

-- 
Stéphane Glondu
--- Begin Message ---
Hi,

I am a member of the Debian OCaml Maintainers Team, and we maintain the
ocamlnet package. I noticed that this package FTBFS on hurd because of a
problem similar to the one we found on kfreebsd. I've committed a fix in
svn... but we won't do an upload to unstable just for this! I've
attached a patch to the version in unstable. Could you apply it to check
if it really solves the FTBFS issue?


Cheers,

-- 
Stéphane Glondu
diff -u ocamlnet-2.2.9/debian/changelog ocamlnet-2.2.9/debian/changelog
--- ocamlnet-2.2.9/debian/changelog
+++ ocamlnet-2.2.9/debian/changelog
@@ -1,3 +1,9 @@
+ocamlnet (2.2.9-4~hurd1) unstable; urgency=low
+
+  * Fix FTBFS on hurd-i386.
+
+ -- Stephane Glondu <steph@glondu.net>  Thu, 24 Jul 2008 23:19:05 +0200
+
 ocamlnet (2.2.9-3) unstable; urgency=medium
 
   [ Stephane Glondu ]
diff -u ocamlnet-2.2.9/debian/rules ocamlnet-2.2.9/debian/rules
--- ocamlnet-2.2.9/debian/rules
+++ ocamlnet-2.2.9/debian/rules
@@ -22,8 +22,9 @@
 DEB_STRIP_EXCLUDE += usr/bin/netplex-admin
 DEB_STRIP_EXCLUDE += usr/bin/ocamlrpcgen
 
-# For Debian GNU/kFreeBSD port
-NO_RPC_AUTH_LOCAL = $(shell uname | grep FreeBSD)
+# For Debian GNU/kFreeBSD and GNU/Hurd ports
+NO_RPC_AUTH_LOCAL  = $(findstring freebsd,$(DEB_HOST_ARCH))
+NO_RPC_AUTH_LOCAL += $(findstring hurd,$(DEB_HOST_ARCH))
 
 CFGFLAGS =
 CFGFLAGS += -enable-gtk2 -enable-ssl
@@ -34,7 +35,9 @@
 configure/$(PKGNAME):: debian/configure-stamp
 debian/configure-stamp:
 	./configure $(CFGFLAGS)
-	if [ -n "$(NO_RPC_AUTH_LOCAL)" ] ; then sed -i -n '/rpc.auth.local/!p' debian/*.install ; fi
+ifneq "" "$(NO_RPC_AUTH_LOCAL)"
+	sed -i -n '/rpc.auth.local/!p' debian/*.install
+endif
 	touch debian/configure-stamp
 clean::
 	rm -f debian/configure-stamp
@@ -46 +48,0 @@
-

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply to: