commit da375a7a29d05a2acd04001b66538615815aa920
parent 6a60a6e01f77ce4cfd3b531eb459999531db37d7
Author: sin <sin@2f30.org>
Date: Fri, 28 Feb 2014 15:25:23 +0000
Do a make clean wherever it is sensible
Diffstat:
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/pkgs/dvtm b/pkgs/dvtm
@@ -5,6 +5,7 @@ build: ncurses
wget -c $url
[ -d dvtm-$v ] || tar -xzf dvtm-$v.tar.gz
cd dvtm-$v
+ make clean
sed -i "s@PREFIX = /usr/local@PREFIX = /@" config.mk
sed -i "s@INCS = -I. -I/usr/include -I/usr/local/include@INCS = -I. -I$libcroot/include -I$libcroot/include/ncursesw@" config.mk
sed -i "s@LDFLAGS += -L/usr/lib -L/usr/local/lib ${LIBS}@LDFLAGS += -L$libcroot/lib ${LIBS} -static @" config.mk
diff --git a/pkgs/dwm b/pkgs/dwm
@@ -3,6 +3,7 @@ build: tinyxlib
cd src
wget -c $url
[ -d dwm ] || tar xzf dwm-git.tar.gz
+ make -C dwm clean
sed -i "s@X11INC = /usr/X11R6/include@X11INC = $libcroot/include @" dwm/config.mk
sed -i "s@X11LIB = /usr/X11R6/lib@X11LIB = $libcroot/lib @" dwm/config.mk
sed -i 's@LDFLAGS = -s ${LIBS}@LDFLAGS = -s ${LIBS} -static @' dwm/config.mk
diff --git a/pkgs/uuterm b/pkgs/uuterm
@@ -4,5 +4,6 @@ build: tinyxlib
wget -c $url
[ -d uuterm ] || tar xzf uuterm.tar.gz
cd uuterm
+ make clean
make CC=$CC LDFLAGS_X11="-L$libcroot/lib -static" uuterm-x11 || return 1
cp uuterm-x11 "$root/bin"