mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-16 12:09:55 +00:00
Do a make clean wherever it is sensible
This commit is contained in:
parent
6a60a6e01f
commit
da375a7a29
@ -5,6 +5,7 @@ build: ncurses
|
|||||||
wget -c $url
|
wget -c $url
|
||||||
[ -d dvtm-$v ] || tar -xzf dvtm-$v.tar.gz
|
[ -d dvtm-$v ] || tar -xzf dvtm-$v.tar.gz
|
||||||
cd dvtm-$v
|
cd dvtm-$v
|
||||||
|
make clean
|
||||||
sed -i "s@PREFIX = /usr/local@PREFIX = /@" config.mk
|
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@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
|
sed -i "s@LDFLAGS += -L/usr/lib -L/usr/local/lib ${LIBS}@LDFLAGS += -L$libcroot/lib ${LIBS} -static @" config.mk
|
||||||
|
1
pkgs/dwm
1
pkgs/dwm
@ -3,6 +3,7 @@ build: tinyxlib
|
|||||||
cd src
|
cd src
|
||||||
wget -c $url
|
wget -c $url
|
||||||
[ -d dwm ] || tar xzf dwm-git.tar.gz
|
[ -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@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@X11LIB = /usr/X11R6/lib@X11LIB = $libcroot/lib @" dwm/config.mk
|
||||||
sed -i 's@LDFLAGS = -s ${LIBS}@LDFLAGS = -s ${LIBS} -static @' dwm/config.mk
|
sed -i 's@LDFLAGS = -s ${LIBS}@LDFLAGS = -s ${LIBS} -static @' dwm/config.mk
|
||||||
|
@ -4,5 +4,6 @@ build: tinyxlib
|
|||||||
wget -c $url
|
wget -c $url
|
||||||
[ -d uuterm ] || tar xzf uuterm.tar.gz
|
[ -d uuterm ] || tar xzf uuterm.tar.gz
|
||||||
cd uuterm
|
cd uuterm
|
||||||
|
make clean
|
||||||
make CC=$CC LDFLAGS_X11="-L$libcroot/lib -static" uuterm-x11 || return 1
|
make CC=$CC LDFLAGS_X11="-L$libcroot/lib -static" uuterm-x11 || return 1
|
||||||
cp uuterm-x11 "$root/bin"
|
cp uuterm-x11 "$root/bin"
|
||||||
|
Loading…
Reference in New Issue
Block a user