summaryrefslogtreecommitdiff
path: root/libc/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'libc/debian/rules')
-rwxr-xr-xlibc/debian/rules4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/debian/rules b/libc/debian/rules
index 7693350..ee3e72d 100755
--- a/libc/debian/rules
+++ b/libc/debian/rules
@@ -89,9 +89,6 @@ unpack-stamp:
dh_testdir
# TODO: unpack only required stuff
dh_illumos_gate
- # Since, we've patched sys/avl.h, this file will break us.
- # We need system /usr/include/sys/avl_impl.h
- rm -f usr/src/uts/common/sys/avl_impl.h
echo 'export DEB_CRYPT_MODULE_DIR_32="$$DEB_LIBDIR_32/security"' >> usr/env.sh
echo 'export DEB_CRYPT_MODULE_DIR_64="$$DEB_LIBDIR_64/security"' >> usr/env.sh
touch $@
@@ -169,6 +166,7 @@ dirs-stamp:
headers-stamp: patch-stamp dirs-stamp fix-x-stamp
dh_illumos_make $(make) usr/src/head -t install_h
dh_illumos_make $(make) $(libs_headers:%=usr/src/lib/%) -t install_h
+ cp usr/src/uts/common/sys/avl*.h debian/tmp/usr/include/sys/
touch $@
lib-stamp: headers-stamp