[pacman-dev] [patch] FS#6688 -- --builddeps doens't work with makepkg3
Here's a patch for flyspray bug #6688. * fix flyspray bug #6688 -- --builddeps doesn't work with makepkg3 makepkg no longer supports the '-w' option, instead PKGDEST should be passed in as an enviroment variable. (ie PKGDEST=$PKGDEST pacman...) Andrew ------------------------------------------------------------ revno: 3 committer: Andrew Fyfe <andrew@neptune-one.net> branch nick: bug_6688 timestamp: Sat 2007-03-24 07:18:12 +0000 message: * fix flyspray bug #6688 -- --builddeps doesn't work with makepkg3 makepkg no longer supports the '-w' option, instead PKGDEST should be passed in as an enviroment variable. (ie PKGDEST=$PKGDEST pacman...) === modified file 'scripts/makepkg' --- old/scripts/makepkg 2007-03-24 03:49:27 +0000 +++ new/scripts/makepkg 2007-03-24 07:18:07 +0000 @@ -252,9 +252,9 @@ if [ -f "$pkgdir/$BUILDSCRIPT" ]; then cd "$pkgdir" if [ "$RMDEPS" = "1" ]; then - makepkg -i -c -b -r -w $PKGDEST + PKGDEST="$PKGDEST" makepkg -i -c -b -r else - makepkg -i -c -b -w $PKGDEST + PKGDEST="$PKGDEST" makepkg -i -c -b fi if [ $? -eq 0 ]; then success=1
participants (1)
-
Andrew Fyfe