openbsd-ports/x11/goggles/patches/patch-gb
espie 54363e1e66 synch goggles to the fox update.
took me forever to remember that goggles starts up at the previous
bookmark, which was broken on the dvd I was testing.

Also, clean up the startup script while I'm there...
2007-02-27 11:15:25 +00:00

30 lines
586 B
Plaintext

$OpenBSD: patch-gb,v 1.2 2007/02/27 11:15:25 espie Exp $
--- gb.orig Sun Nov 26 23:19:18 2006
+++ gb Wed Feb 7 03:30:24 2007
@@ -12,6 +12,7 @@
#
#-----------------------------------------------------------
+PATH=.:$PATH
#Setup Package Name and Version
. gb.version
@@ -65,7 +66,7 @@ INSTALL=${INSTALL:-install}
#Get the settings
. "$CONFIG_FILE"
-function print_help() {
+function print_help {
SHOWHELP=1
echo "Options:"
echo " "
@@ -179,6 +180,8 @@ done
#fi
+printenv >conf.mk
+exit 0
# Did we already build?
${MAKE} -q -f gb.make
if [ "$?" -eq "0" ] ; then