Advertisement
Guest User

aur/mmv: Patch with LFS support

a guest
Feb 16th, 2015
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. --- PKGBUILD 2011-11-20 07:52:18.000000000 +0800
  2. +++ PKGBUILD.lfs 2015-02-17 09:43:03.000000000 +0800
  3. @@ -11,13 +11,15 @@
  4. url="http://linux.maruhn.com/sec/mmv.html"
  5. license="GPL"
  6. install=$pkgname.install
  7. -arch=('i686' 'x86_64')
  8. +arch=('i686' 'x86_64' 'armv7h')
  9.  
  10. build() {
  11. cd "${srcdir}/$pkgname-$pkgver"
  12. patch -p1 < ../mmv_1.01b-15.diff
  13. sed -i -e "s/LDFLAGS.\s=-s -N/LDFLAGS =-s/g" Makefile
  14. sed -i 's!/usr/man!/usr/share/man!' Makefile
  15. + LFS_CFLAGS="$(getconf LFS_CFLAGS)"
  16. + sed -i -e "s/^\\(CFLAGS[ \\t]\\+=.*\\)$/\1 $LFS_CFLAGS/" Makefile
  17. make
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement