Package: drbd0.7
Version: 0.7.21-4
Severity: normal
Hi,
thanks for maintaining this package.
There are bashisms in Makefile and drbd/Makefile, which will cause a
failure to build the module, if /bin/sh is set to /bin/dash.
Small patch for reference how to fix this:
diff -urNad drbd0.7-0.7.21~/Makefile drbd0.7-0.7.21/Makefile
--- drbd0.7-0.7.21~/Makefile 2006-03-14 10:08:07.000000000 +0100
+++ drbd0.7-0.7.21/Makefile 2007-02-10 17:47:32.000000000 +0100
@@ -22,6 +22,8 @@
#PREFIX = /usr/local
+SHELL=/bin/bash
+
SUBDIRS = user scripts documentation drbd #testing #benchmark
ALLSUBDIRS = user scripts benchmark documentation drbd testing
diff -urNad drbd0.7-0.7.21~/drbd/Makefile drbd0.7-0.7.21/drbd/Makefile
--- drbd0.7-0.7.21~/drbd/Makefile 2006-06-23 12:07:48.000000000
+0200
+++ drbd0.7-0.7.21/drbd/Makefile 2007-02-10 17:47:48.000000000
+0100
@@ -31,6 +31,8 @@
# e.g. when building agains some (broken?) linux-header package.
# Lets test on PATCHLEVEL, that won't change too soon...
+SHELL=/bin/bash
+
ifneq ($(PATCHLEVEL),)
ifneq ($(VERSION),2)
$(error "won't compile with this kernel version")
Thanks,
Stefan.
-- System Information:
Debian Release: 4.0
APT prefers feisty
APT policy: (500, 'feisty')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.20-6-generic
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]