From 021ae334046607708a2427124249c2f153a0e1d6 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Tue, 21 Sep 2010 17:22:06 +0700 Subject: [PATCH] updated for 1.1 --- n/mongrel2/mongrel2.SlackBuild | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/n/mongrel2/mongrel2.SlackBuild b/n/mongrel2/mongrel2.SlackBuild index 3aa91efd..9c5cf8d8 100755 --- a/n/mongrel2/mongrel2.SlackBuild +++ b/n/mongrel2/mongrel2.SlackBuild @@ -40,7 +40,7 @@ find . \ -exec chmod 644 {} \; # for some reason Slackware needs -ldl to explicitely be added -sed -i 's|LIBS=-lzmq -lsqlite3|LIBS=-lzmq -lsqlite3 -ldl|' Makefile +sed -i 's|-lsqlite3|-lsqlite3 -ldl|' Makefile tools/m2sh/Makefile # hmmm, no. sed -i 's|sudo ||g' Makefile @@ -48,10 +48,7 @@ sed -i 's|sudo ||g' Makefile make bin/mongrel2 PREFIX=$PREFIX mkdir -p $PKG$PREFIX/bin -make install-bin PREFIX=$PKG$PREFIX - -sed -i 's|python setup.py install|python setup.py install --root=$(DESTDIR)|' Makefile -make install-py DESTDIR=$PKG +make install-bin install-m2sh PREFIX=$PKG$PREFIX mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a LICENSE docs/ examples/ $PKG/usr/doc/$PRGNAM-$VERSION