Package: nas
Severity: important
Tags: patch
Hi,
nas currently fails to build on GNU/kFreeBSD (both kfreebsd-i386 and
kfreebsd-amd64), because the server is currently not built, whereas
the debian/rules script assumes the contrary.
Please find attached a patch to fix that. It would be nice if you could
include it in the next upload.
Thanks in advance,
Aurélien
-- System Information:
Debian Release: testing/unstable
Architecture: kfreebsd-i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.4-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Author: aurel32
Status: in BTS
diff -u nas-1.7/server/Imakefile nas-1.7/server/Imakefile
--- nas-1.7/server/Imakefile
+++ nas-1.7/server/Imakefile
@@ -99,7 +99,7 @@
#endif
-#if defined(i386SVR4Architecture) || defined(__FreeBSD__) ||
defined(FreeBSDArchitecture) || defined(LinuxArchitecture) ||
defined(GNUArchitecture) || defined(i386BsdArchitecture) ||
defined(USLArchitecture) || defined(cygwinArchitecture)
+#if defined(i386SVR4Architecture) || defined(__FreeBSD__) ||
defined(__FreeBSD_kernel__) || defined(FreeBSDArchitecture) ||
defined(LinuxArchitecture) || defined(GNUArchitecture) ||
defined(i386BsdArchitecture) || defined(USLArchitecture) ||
defined(cygwinArchitecture)
# define CanBuildAuServer YES
# if defined(LinuxArchitecture) || defined(GNUArchitecture) ||
defined(GNUMachArchitecture)
diff -u nas-1.7/debian/rules nas-1.7/debian/rules
--- nas-1.7/debian/rules
+++ nas-1.7/debian/rules
@@ -16,10 +16,6 @@
endif
allpacs=nas-doc
-ifneq (, $(filter $(DEB_BUILD_GNU_SYSTEM),kfreebsd-gnu knetbsd-gnu))
-DEB_BUILD_GNU_TYPE = $(DEB_BUILD_GNU_CPU)-gnu
-endif
-
build:
# Make include symlinks
( cd include/audio; for file in ../../lib/audio/*.h; do ln -s $$file .;
done )