patch-src_qhacc_in 931 B

12345678910111213141516171819202122232425262728293031
  1. $OpenBSD: patch-src_qhacc_in,v 1.1 2009/06/07 00:08:32 jasper Exp $
  2. --- src/qhacc.in.orig Tue Jun 2 11:47:27 2009
  3. +++ src/qhacc.in Tue Jun 2 11:48:03 2009
  4. @@ -4,7 +4,7 @@
  5. # #
  6. ###############################################################
  7. -function helpq () {
  8. +helpq () {
  9. echo "Syntax: $0 [options]"
  10. echo " General Options:"
  11. echo " [-f|--home <QHACC_HOME>] set QHACC_HOME"
  12. @@ -39,13 +39,13 @@ PATH=@bindir@:$PATH
  13. # You can change QHACC_ROOT and QHACC_HOME to fit your needs
  14. QHACC_ROOT=${QHACC_ROOT:="@libdir@"}
  15. QHACC_HOME=${QHACC_HOME:="${HOME}/.qhacc"}
  16. -QHACC_LANGDIR=${QHACC_LANGDIR:="@datadir@"}
  17. +QHACC_LANGDIR=${QHACC_LANGDIR:="@pkgdatadir@/"}
  18. export LD_LIBRARY_PATH=$QHACC_ROOT:$LD_LIBRARY_PATH
  19. -typeset USEGUI="YES"
  20. -typeset OPTIONS=""
  21. -typeset LANGFIRST="YES"
  22. +USEGUI="YES"
  23. +OPTIONS=""
  24. +LANGFIRST="YES"
  25. while [ $# -gt 0 ]
  26. do