Remove rpcnis-headers
authorHugo Villeneuve <hugo@hugovil.com>
Sun, 28 Dec 2014 05:15:26 +0000 (00:15 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Mon, 29 Dec 2014 16:24:31 +0000 (11:24 -0500)
Now installed by glibc option --enable-obsolete-rpc

config/packages-list
stage3/packages-update
stage3/pkg/libtirpc

index b4fc4a3..b019ed6 100644 (file)
@@ -254,7 +254,6 @@ LIBSPECTRE="libspectre-0.2.7"
 LIBTASN1="libtasn1-4.2"
 LIBTHEORA="libtheora-1.1.1"
 LIBTIRPC="libtirpc-0.2.5"
-RPCNIS_HEADERS="rpcnis-headers"
 LIBTOOL="libtool-2.4.2"
 LIBVORBIS="libvorbis-1.3.4"
 VORBIS_TOOLS="vorbis-tools-1.4.0"
index e63a516..8efb093 100755 (executable)
@@ -18,7 +18,6 @@ fpkg -e "tar.xz" -s "software/network/rfkill" ${RFKILL} ${KERNEL_URL}
 fpkg ${REISERFSPROGS} "ftp://anduin.linuxfromscratch.org/BLFS/svn/r"
 fpkg -e "tar.gz" ${POPT} "http://rpm5.org/files/popt"
 fpkg -m sf ${LIBTIRPC}
-fpkg ${RPCNIS_HEADERS} "http://anduin.linuxfromscratch.org/other"
 fpkg ${PAM} "https://fedorahosted.org/releases/l/i/linux-pam"
 fpkg -e "tar.gz" -f "${FCRON}.src" ${FCRON} "http://fcron.free.fr/archives"
 fpkg -e "tar.gz" ${OPENSSL} "ftp://ftp.openssl.org/source"
index d8f79d0..61a11cf 100644 (file)
@@ -2,18 +2,9 @@
 
 hvconfig_pre()
 {
-    # WARNING: THIS SHOULD be replaced by --enable-obsolete-rpc in glibc installation...
-    # Then remove package ${RPCNIS_HEADERS}.......
-
-    # Glibc-2.14 and later do not install NIS and RPC related headers by
-    # default. If needed, install them here:
-    if [ ! -r /usr/include/rpc/rpc.h ]; then
-        decompress_package ${RPCNIS_HEADERS} /usr/include
-    fi
-
     # Need autoreconf after applying patch
-    cd ${LFS_TMP}/${PACKAGE}
-    autoreconf -i
+    cd ${SRC_DIR}
+    autoreconf -vi
 }
 
 hvbuild_post()