diff options
author | osa <osa@FreeBSD.org> | 2003-10-09 15:22:28 +0800 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2003-10-09 15:22:28 +0800 |
commit | a829f3c3da9c6ab80529919984f897e5248b5c46 (patch) | |
tree | 2dfb7423b3fe6dbb91081a5ea5b284574abccf36 /devel | |
parent | 3de85ceb5e39dc571fb68cb17486bc1fce5fd1a7 (diff) | |
download | freebsd-ports-gnome-a829f3c3da9c6ab80529919984f897e5248b5c46.tar.gz freebsd-ports-gnome-a829f3c3da9c6ab80529919984f897e5248b5c46.tar.zst freebsd-ports-gnome-a829f3c3da9c6ab80529919984f897e5248b5c46.zip |
Fix building in -STABLE.
Submitted by: Sergei Kolobov <sergei@kolobov.com> (maintainer)
PR: 57786
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@" |