Please use this patch for #293472 (the bug I just cloned). gnu lacks posix
semaphores so it can't be in the same filter list (although we'll have to
add it eventualy).
--
.''`. Proudly running Debian GNU/kFreeBSD unstable/unreleased (on UFS2+S)
: :' :
`. `' http://www.debian.org/ports/kfreebsd-gnu
`-
diff -ur icon-9.4.2.old/debian/rules icon-9.4.2/debian/rules
--- icon-9.4.2.old/debian/rules 2005-02-02 02:28:27.000000000 +0100
+++ icon-9.4.2/debian/rules 2005-02-02 02:33:43.000000000 +0100
@@ -33,6 +33,9 @@
CFLAGS_OPT = -O0
endif
+ifneq (, $(filter $(DEB_HOST_GNU_SYSTEM), linux kfreebsd-gnu knetbsd-gnu))
+system = linux
+else
+system = $(DEB_HOST_GNU_SYSTEM)
+endif
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS_OPT = -O0
@@ -42,7 +45,7 @@
configure:
$(checkdir)
- $(MAKE) X-Configure name=$(DEB_HOST_GNU_SYSTEM)
+ $(MAKE) X-Configure name=$(system)
sed "s/CFLAGS = -O2/CFLAGS = $(CFLAGS)/" Makedefs > Makedefs.tmp
mv Makedefs.tmp Makedefs
touch configure