CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
attic
/
ports
/
core-cross.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b3fc2a
)
iproute2: fixed CFLAGS usage
author
Jose V Beneyto
<sepen@crux.nu>
Wed, 3 Mar 2010 15:18:27 +0000
(16:18 +0100)
committer
Jose V Beneyto
<sepen@crux.nu>
Wed, 3 Mar 2010 15:18:27 +0000
(16:18 +0100)
iproute2/Pkgfile
patch
|
blob
|
blame
|
history
diff --git
a/iproute2/Pkgfile
b/iproute2/Pkgfile
index 0e8042e11c0f7278e92e78f8e4fbe8156ae1fad9..be07078e5eeeff4b89f928309db92277bf0b9247 100644
(file)
--- a/
iproute2/Pkgfile
+++ b/
iproute2/Pkgfile
@@
-12,9
+12,13
@@
source=(http://developer.osdl.org/dev/iproute2/download/$name-$version.tar.bz2 \
build() {
cd $name-$version
+
sed -i "s|local/lib/iptables|lib/xtables|" include/iptables.h
- make DBM_INCLUDE="$CLFS/usr/include" CC="$CC"
+ sed -i "s|gcc |$CC $CFLAGS|g" configure
+
+ make DBM_INCLUDE="$CLFS/usr/include" CC="$CC $CFLAGS"
make MANDIR=/usr/man DESTDIR=$PKG install
+
rm -r $PKG/{share,usr/lib}
install -D -m 0755 $SRC/net.iproute2 $PKG/etc/rc.d/net
}