CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
dillo: Updated flags to link to clfs.
authorVictor Martinez <pitillo@ono.com>
Wed, 27 Jan 2010 19:49:02 +0000 (19:49 +0000)
committerVictor Martinez <pitillo@ono.com>
Wed, 27 Jan 2010 19:49:02 +0000 (19:49 +0000)
dillo/Pkgfile

index 3ba1bd56d6b656bdc00a9e9c2c973173d0749fcf..1e5d6ae45ba97d6406c9e47db3c4fc7c48b28f98 100644 (file)
@@ -6,7 +6,7 @@
 
 name=dillo
 version=2.1.1
-release=1
+release=2
 source=(http://www.dillo.org/download/$name-$version.tar.bz2 \
         $name-$version.cross_compile.patch)
 
@@ -24,6 +24,9 @@ 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
 }