Browse Source

e2fsprogs: remove obsolete sed based hack to fix pkgconfig file path

This hack can be safely removed because we already have an automatic
mechanism in moving the .pc files into the right place!
stable/0.6
Christian Wiese 11 years ago
parent
commit
64e80bd21a
  1. 10
      filesystem/e2fsprogs/e2fsprogs.conf

10
filesystem/e2fsprogs/e2fsprogs.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../e2fsprogs/e2fsprogs.conf # Filename: package/.../e2fsprogs/e2fsprogs.conf
# Copyright (C) 2008 - 2012 The OpenSDE Project # Copyright (C) 2008 - 2014 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2004 Clifford Wolf # Copyright (C) 1998 - 2004 Clifford Wolf
# #
@ -18,13 +18,6 @@ prefix=
createarchcache=1 # utterly broken configure, assumes hardcoding on cross build createarchcache=1 # utterly broken configure, assumes hardcoding on cross build
set_confopt set_confopt
fix_pkgconfig_dir() {
[ "$prefix" = "" ] || return
for x in lib/et lib/ss lib/e2p lib/ext2fs lib/uuid lib/blkid ; do
sed -i 's,\($(libdir)/pkgconfig\),/usr\1,' $x/Makefile.in
done
}
if [ "$SDECFG_DIETLIBC_e2fsprogs" == "1" ] ; then if [ "$SDECFG_DIETLIBC_e2fsprogs" == "1" ] ; then
confopt="$confopt --with-diet-libc" confopt="$confopt --with-diet-libc"
[ "$dietlibc_dynamic_static" = "dynamic" ] && [ "$dietlibc_dynamic_static" = "dynamic" ] &&
@ -49,4 +42,3 @@ LD=$CC
# the install does not install the headers ... :-( # the install does not install the headers ... :-(
var_append makeinstopt ' ' 'install-libs' var_append makeinstopt ' ' 'install-libs'
hook_add preconf 1 'fix_pkgconfig_dir'

Loading…
Cancel
Save