Author: glondu-guest
Date: Thu Jul 24 21:19:02 2008
New Revision: 5884

URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=5884
Log:
(Tentatively) Fix FTBFS on hurd-i386

Modified:
    trunk/packages/ocamlnet/trunk/debian/changelog
    trunk/packages/ocamlnet/trunk/debian/rules

Modified: trunk/packages/ocamlnet/trunk/debian/changelog
URL: 
http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlnet/trunk/debian/changelog?rev=5884&op=diff
==============================================================================
--- trunk/packages/ocamlnet/trunk/debian/changelog (original)
+++ trunk/packages/ocamlnet/trunk/debian/changelog Thu Jul 24 21:19:02 2008
@@ -1,3 +1,9 @@
+ocamlnet (2.2.9-4) UNRELEASED; urgency=low
+
+  * Fix FTBFS on hurd-i386.
+
+ -- Stephane Glondu <[EMAIL PROTECTED]>  Thu, 24 Jul 2008 23:09:20 +0200
+
 ocamlnet (2.2.9-3) unstable; urgency=medium
 
   [ Stephane Glondu ]

Modified: trunk/packages/ocamlnet/trunk/debian/rules
URL: 
http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlnet/trunk/debian/rules?rev=5884&op=diff
==============================================================================
--- trunk/packages/ocamlnet/trunk/debian/rules (original)
+++ trunk/packages/ocamlnet/trunk/debian/rules Thu Jul 24 21:19:02 2008
@@ -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
@@ -43,4 +46,3 @@
        /usr/share/cdbs/1/class/ocamldoc-api-ref-config --doc-base-generate 
$(PKGNAME)
        mv debian/libocamlnet-ocaml-dev.doc-base.ocamldoc-apiref \
           debian/libocamlnet-ocaml-doc.doc-base.ocamldoc-apiref
-


_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to