From: Michael Tremer Date: Sun, 21 Feb 2010 17:46:30 +0000 (+0100) Subject: xfsprogs: Fix package. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ce06e41cc2f7463033f49c5a438490970f62d09;p=ipfire-3.x.git xfsprogs: Fix package. Remove rpath, fix whitespace. --- diff --git a/pkgs/core/xfsprogs/xfsprogs.nm b/pkgs/core/xfsprogs/xfsprogs.nm index fca664c71..f6809835b 100644 --- a/pkgs/core/xfsprogs/xfsprogs.nm +++ b/pkgs/core/xfsprogs/xfsprogs.nm @@ -34,8 +34,8 @@ PKG_URL = http://oss.sgi.com/projects/xfs/ PKG_LICENSE = GPL+ and LGPLv2+ PKG_SUMMARY = Utilities for managing the XFS filesystem -PKG_BUILD_DEPS+= libtool gettext e2fsprogs readline acl acl-devel -PKG_DEPS += readline +PKG_BUILD_DEPS+= libtool gettext +PKG_DEPS += acl e2fsprogs readline define PKG_DESCRIPTION A set of commands to use the XFS filesystem, including mkfs.xfs. @@ -48,19 +48,28 @@ PKG_TARBALL = $(THISAPP).tar.gz ############################################################################### define STAGE_BUILD - cd $(DIR_APP) && ./configure \ + cd $(DIR_APP) && \ + ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ --bindir=/sbin \ --sbindir=/sbin \ --libdir=/lib \ --libexecdir=/usr/lib \ - --enable-readline=yes + --enable-readline=yes \ + --disable-static + + # Kill rpaths + cd $(DIR_APP) && sed -i libtool \ + -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ + -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' + cd $(DIR_APP) && make DEBUG=-DNDEBUG endef define STAGE_INSTALL cd $(DIR_APP) && make install install-dev install-qa DIST_ROOT=$(BUILDROOT) + chmod -v 755 $(BUILDROOT)/lib/libhandle.so* rm -vf $(BUILDROOT)/lib/libhandle.so -mkdir -pv $(BUILDROOT)/usr/lib