X-Git-Url: http://gitweb/?a=blobdiff_plain;ds=sidebyside;f=dillo%2FPkgfile;h=d2a897421be89b8f635378058a5545b1a078c460;hb=f7f6252da3f1c9970395e11e432797b993e3c80e;hp=3ba1bd56d6b656bdc00a9e9c2c973173d0749fcf;hpb=e2f2f86030db5af1bad4e72a2e63672345c7a8b0;p=attic%2Fports%2Fopt-cross.git diff --git a/dillo/Pkgfile b/dillo/Pkgfile index 3ba1bd5..d2a8974 100644 --- a/dillo/Pkgfile +++ b/dillo/Pkgfile @@ -5,7 +5,7 @@ # Depends on: fltk2 name=dillo -version=2.1.1 +version=2.2 release=1 source=(http://www.dillo.org/download/$name-$version.tar.bz2 \ $name-$version.cross_compile.patch) @@ -24,6 +24,10 @@ build () { --prefix=/usr \ --mandir=/usr/man + find -type f -name 'Makefile' \ + -exec sed -e "s|-I/usr/local|-I$CLFS/usr|g" -e "s|-L/usr/local|-L$CLFS/usr|g" -i {} \; + make make DESTDIR=$PKG install + rm -rf $PKG/usr/share }