diff options
Diffstat (limited to 'devel/poslib/files/patch-poslib-config.in')
-rw-r--r-- | devel/poslib/files/patch-poslib-config.in | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/devel/poslib/files/patch-poslib-config.in b/devel/poslib/files/patch-poslib-config.in new file mode 100644 index 000000000000..5b1396bbda86 --- /dev/null +++ b/devel/poslib/files/patch-poslib-config.in @@ -0,0 +1,29 @@ +--- poslib-config.in.orig Thu Oct 9 09:59:25 2003 ++++ poslib-config.in Thu Oct 9 10:01:29 2003 +@@ -23,6 +23,8 @@ if test $# -eq 0; then + usage 1 1>&2 + fi + ++CMD= ++ + while test $# -gt 0; do + case "$1" in + -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; +@@ -31,7 +33,7 @@ while test $# -gt 0; do + + case $1 in + --version) +- echo @VERSION@ ++ CMD="@VERSION@" + ;; + --cflags) + echo_cflags=yes +@@ -48,8 +50,6 @@ while test $# -gt 0; do + esac + shift + done +- +-CMD= + + if test "$echo_cflags" = "yes"; then + CMD="$CMD -I@includedir@/poslib-@VERSION@ -I@libdir@/poslib-@VERSION@/include/ -funsigned-char @THREAD_CFLAGS@" |