Author: aurel32
Date: 2015-12-24 17:11:20 +0000 (Thu, 24 Dec 2015)
New Revision: 6840

Modified:
   glibc-package/trunk/debian/sysdeps/kfreebsd.mk
Log:
Fix previous commit


Modified: glibc-package/trunk/debian/sysdeps/kfreebsd.mk
===================================================================
--- glibc-package/trunk/debian/sysdeps/kfreebsd.mk      2015-12-24 16:52:56 UTC 
(rev 6839)
+++ glibc-package/trunk/debian/sysdeps/kfreebsd.mk      2015-12-24 17:11:20 UTC 
(rev 6840)
@@ -43,13 +43,13 @@
 
        mkdir -p debian/include/sys
        # Link to any headers found in the old locations first
-       if test -d $(KFREEBSD_HEADERS) ; then \
+       if test -d $(KFREEBSD_HEADERS)/sys ; then \
            find $(KFREEBSD_HEADERS)/sys -mindepth 1 \
                -exec ln -sf '{}' debian/include/sys ';' ; \
        fi
        # Link to any headers found at the new multiarch location,
        # replacing any existing links
-       if test -d $(KFREEBSD_ARCH_HEADERS) ; then \
+       if test -d $(KFREEBSD_ARCH_HEADERS)/sys ; then \
            find $(KFREEBSD_ARCH_HEADERS)/sys -mindepth 1 \
                -exec ln -sf '{}' debian/include/sys ';' ; \
        fi

Reply via email to