diff options
author | Sergey A. Osokin <osa@FreeBSD.org> | 2003-10-09 07:22:28 +0000 |
---|---|---|
committer | Sergey A. Osokin <osa@FreeBSD.org> | 2003-10-09 07:22:28 +0000 |
commit | 4997271e5e1a3b0810a1666ae93d5d5f3741771f (patch) | |
tree | 008e9d813e1b53303415cea1be9e906d17859567 /devel | |
parent | 80e88a7592b1c9adc04296c7a0e7a00034b7d3af (diff) | |
download | ports-4997271e5e1a3b0810a1666ae93d5d5f3741771f.tar.gz ports-4997271e5e1a3b0810a1666ae93d5d5f3741771f.zip |
Notes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/poslib/Makefile | 2 | ||||
-rw-r--r-- | devel/poslib/files/patch-poslib-config.in | 29 |
2 files changed, 30 insertions, 1 deletions
diff --git a/devel/poslib/Makefile b/devel/poslib/Makefile index 1fc5795ca1ee..91d8dda4aaf9 100644 --- a/devel/poslib/Makefile +++ b/devel/poslib/Makefile @@ -7,7 +7,7 @@ PORTNAME= poslib PORTVERSION= 1.0.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel dns MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= posadis 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@" |