diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2005-02-14 19:34:26 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2005-02-14 19:34:26 +0000 |
commit | 48f6fce14925ca7ea68c2b7b01185ebc39b6ab4d (patch) | |
tree | d0e2e054e0abcabacbb87050cb5fdcc90bad90fc /sys-fs/lufs | |
parent | Stable on hppa. (diff) | |
download | historical-48f6fce14925ca7ea68c2b7b01185ebc39b6ab4d.tar.gz historical-48f6fce14925ca7ea68c2b7b01185ebc39b6ab4d.tar.bz2 historical-48f6fce14925ca7ea68c2b7b01185ebc39b6ab4d.zip |
Fixing configure to not consider kernel sources thanks to Frank Van Damme <frank.vandamme@student.kuleuven.ac.be> in bug 78790
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'sys-fs/lufs')
-rw-r--r-- | sys-fs/lufs/ChangeLog | 7 | ||||
-rw-r--r-- | sys-fs/lufs/Manifest | 5 | ||||
-rw-r--r-- | sys-fs/lufs/files/lufs-no-kernel.patch | 111 | ||||
-rw-r--r-- | sys-fs/lufs/lufs-0.9.7-r3.ebuild | 9 |
4 files changed, 124 insertions, 8 deletions
diff --git a/sys-fs/lufs/ChangeLog b/sys-fs/lufs/ChangeLog index c362184a10c7..d69034fc2882 100644 --- a/sys-fs/lufs/ChangeLog +++ b/sys-fs/lufs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-fs/lufs # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/lufs/ChangeLog,v 1.20 2005/02/02 17:09:33 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/lufs/ChangeLog,v 1.21 2005/02/14 19:34:26 genstef Exp $ + + 14 Feb 2005; Stefan Schweizer <genstef@gentoo.org> + +files/lufs-no-kernel.patch, lufs-0.9.7-r3.ebuild: + Fixing configure to not consider kernel sources thanks to Frank Van Damme + <frank.vandamme@student.kuleuven.ac.be> in bug 78790 02 Feb 2005; Stefan Schweizer <genstef@gentoo.org> lufs-0.9.7-r3.ebuild: Removing autofs stuff, because it has no chance to work, thanks to Michael S diff --git a/sys-fs/lufs/Manifest b/sys-fs/lufs/Manifest index 7cf9e90de143..f42787fae5eb 100644 --- a/sys-fs/lufs/Manifest +++ b/sys-fs/lufs/Manifest @@ -1,9 +1,9 @@ MD5 af8170bde5ae59fbcc13596c328fa8bb lufs-0.9.5.ebuild 1571 -MD5 21b18ca4d40b35a3c9c342480c3f8347 lufs-0.9.7-r3.ebuild 1661 +MD5 5f5858e23e4d47e6c891995c807522a7 lufs-0.9.7-r3.ebuild 1622 MD5 42a13004deaa168668edda9d84c37a58 lufs-0.7.0.ebuild 1300 MD5 5698c7df416433a5d59bace8eb35c131 lufs-0.8.0-r1.ebuild 1337 MD5 7726048056881c32f36d627b15d65875 lufs-0.9.7-r2.ebuild 2257 -MD5 9f53e54669b52bda1fd97eda1fe431c1 ChangeLog 4970 +MD5 285e4b8877ca31c27556a1e5b9158003 ChangeLog 5208 MD5 2d8e24e9e409e35ee446ec8d59f23c8d metadata.xml 269 MD5 3f5d97db2f2eedc51f0ae99618a924c2 files/lufs-0.7.0-init 361 MD5 5bb142fc118cf319966c128949fba3bb files/gentoo-gcc332fix-0.9.7.patch 453 @@ -17,3 +17,4 @@ MD5 acf6168850b8d8eeb29cda95f24bf348 files/lufs-0.9.7-enable-gnome-2.patch 3079 MD5 6b6cf45b49b2229781b000b9ae2a0027 files/lufs-automount-port.diff 754 MD5 3f5d97db2f2eedc51f0ae99618a924c2 files/lufs-0.8.0-init 361 MD5 1cc4c0f0d3a43f97ba10d59b026a6c6f files/lufs-0.9.7-fPIC.patch 714 +MD5 1a4f221847326b8ed2360ac70d5d8626 files/lufs-no-kernel.patch 3347 diff --git a/sys-fs/lufs/files/lufs-no-kernel.patch b/sys-fs/lufs/files/lufs-no-kernel.patch new file mode 100644 index 000000000000..75a67dbf9a1a --- /dev/null +++ b/sys-fs/lufs/files/lufs-no-kernel.patch @@ -0,0 +1,111 @@ +diff -pur lufs-0.9.7.orig/configure.in lufs-0.9.7/configure.in +--- lufs-0.9.7.orig/configure.in 2005-02-07 07:59:18.000000000 +0100 ++++ lufs-0.9.7/configure.in 2005-02-07 07:59:40.000000000 +0100 +@@ -9,107 +9,6 @@ AM_INIT_AUTOMAKE(lufs,0.9.7) + dnl "static" FSs + opt_fs="localfs locasefs ftpfs gnetfs" + +-AC_ARG_ENABLE(kernel-support, +- [ --enable-kernel-support enable building of the kernel module (default=yes)], +- [ KERNEL_SUPPORT=$enableval ],) +- +-if test "$KERNEL_SUPPORT" != "no" +-then +- +- dnl Checking os +- AC_MSG_CHECKING(OS) +- OS_DIR=`uname -s` +- if test ! -d kernel/$OS_DIR +- then +- AC_MSG_ERROR($OS_DIR - not supported!) +- else +- AC_MSG_RESULT($OS_DIR) +- fi +- +- dnl LINUX kernel configuration +- if test "$OS_DIR"="Linux" +- then +- +- dnl Checking kernel & headers +- AC_MSG_CHECKING(kernel) +- AC_ARG_WITH(kernel, +- [ --with-kernel=VERSION specify a kernel version to compile for], +- [KERNEL_VERSION=$withval], +- [KERNEL_VERSION=`uname -r`]) +- MODULES_DIR=/lib/modules/$KERNEL_VERSION +- AC_MSG_RESULT($KERNEL_VERSION) +- +- AC_MSG_CHECKING(kernel support) +- KERNEL_DIR=`echo $KERNEL_VERSION | cut -d'.' -f1,2` +- if test ! -d kernel/$OS_DIR/$KERNEL_DIR +- then +- AC_MSG_ERROR([$KERNEL_DIR not supported!]) +- else +- AC_MSG_RESULT([supported in kernel/$OS_DIR/$KERNEL_DIR]) +- fi +- +- AC_MSG_CHECKING(kernel headers) +- AC_ARG_WITH(kheaders, +- [ --with-kheaders=DIR specify the location of the kernel headers], +- [KERNEL_HDR=$withval], +- [KERNEL_HDR=$MODULES_DIR/build/include]) +- if test ! -f $KERNEL_HDR/linux/fs.h +- then +- AC_MSG_ERROR([not found in $KERNEL_HDR. please install them!]) +- else +- AC_MSG_RESULT([found in $KERNEL_HDR]) +- fi +- +- AC_MSG_CHECKING(kernel configuration) +- if test -f $MODULES_DIR/build/.config +- then +- tmp=`cat $MODULES_DIR/build/.config | grep CONFIG_MODVERSIONS=y` +- if test "$tmp" +- then +- AC_MSG_RESULT([found, using modversions]) +- MODVERSIONS="yes" +-# MODV_FLAGS="-DMODVERSIONS -include $KERNEL_HDR/linux/modversions.h" +- else +- AC_MSG_RESULT([found, not using modversions]) +- fi +- else +- AC_MSG_RESULT([not found at $MODULES_DIR/build/.config, assuming modversions support]) +- MODVERSIONS="yes" +-# MODV_FLAGS="-DMODVERSIONS -include $KERNEL_HDR/linux/modversions.h" +- fi +- +- AC_ARG_ENABLE(modversions, +- [ --enable-modversions enable modeversions support (default=auto-detect)], +- [ if test $enableval = "yes"; then MODVERSIONS="yes"; else MODVERSIONS=""; fi ],) +- +- if test $MODVERSIONS; then +- AC_MSG_CHECKING(modversions.h) +- if test -f $KERNEL_HDR/linux/modversions.h; then +- MODV_FILE="$KERNEL_HDR/linux/modversions.h" +- fi +- +- if test -f $KERNEL_HDR/config/modversions.h; then +- MODV_FILE="$KERNEL_HDR/config/modversions.h" +- fi +- +- if test $MODV_FILE; then +- MODV_FLAGS="-DMODVERSIONS -include $MODV_FILE" +- AC_MSG_RESULT([$MODV_FILE]) +- else +- AC_MSG_ERROR([not found!]) +- fi +- fi +- +- AC_SUBST(MODV_FLAGS) +- AC_SUBST(KERNEL_DIR) +- AC_SUBST(MODULES_DIR) +- AC_SUBST(KERNEL_HDR) +- +- fi +-fi +-AC_SUBST(OS_DIR) +- +- + dnl options + AC_ARG_ENABLE(debug, + [ --enable-debug enable debug messages to stdout (default=no)], diff --git a/sys-fs/lufs/lufs-0.9.7-r3.ebuild b/sys-fs/lufs/lufs-0.9.7-r3.ebuild index e0f66f4bd26f..ce7c374217ae 100644 --- a/sys-fs/lufs/lufs-0.9.7-r3.ebuild +++ b/sys-fs/lufs/lufs-0.9.7-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/lufs/lufs-0.9.7-r3.ebuild,v 1.4 2005/02/02 17:09:33 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/lufs/lufs-0.9.7-r3.ebuild,v 1.5 2005/02/14 19:34:26 genstef Exp $ inherit eutils @@ -13,8 +13,7 @@ SLOT="0" KEYWORDS="x86 ~ppc" IUSE="debug" DEPEND="sys-fs/lufis - || ( =sys-devel/automake-1.7* - =sys-devel/automake-1.8.5-r1 ) + =sys-devel/automake-1.7* =sys-devel/autoconf-2.5*" src_unpack() { @@ -24,6 +23,7 @@ src_unpack() { epatch ${FILESDIR}/${P}-fPIC.patch epatch ${FILESDIR}/lufs-automount-port.diff epatch ${FILESDIR}/${P}-enable-gnome-2.patch + epatch ${FILESDIR}/lufs-no-kernel.patch filesystems="ftpfs localfs sshfs" } @@ -38,8 +38,7 @@ src_compile() { einfo "Compiling for ${filesystems}" unset ARCH - econf --with-kheaders=${ROOT}/usr/include \ - $(use_enable debug) || die + econf $(use_enable debug) || die cd filesystems for i in ${filesystems} |