diff options
author | fjoe <fjoe@FreeBSD.org> | 2006-04-26 19:34:04 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2006-04-26 19:34:04 +0800 |
commit | f1839205ff1e52db28e5b080a85cb0ddc3597316 (patch) | |
tree | 0b1f418977156e1c06961a579ce367cc4bfeef5f /net | |
parent | 2b605770ad6dd1891c69b4f70712bc690b652cf9 (diff) | |
download | freebsd-ports-gnome-f1839205ff1e52db28e5b080a85cb0ddc3597316.tar.gz freebsd-ports-gnome-f1839205ff1e52db28e5b080a85cb0ddc3597316.tar.zst freebsd-ports-gnome-f1839205ff1e52db28e5b080a85cb0ddc3597316.zip |
- Use pwlib and openh323 from ports
- Update to latest codec negotiation patch
Submitted by: Andriy I Pylypenko <bamby@portaone.com> (MAINTAINER)
Diffstat (limited to 'net')
-rw-r--r-- | net/asterisk-oh323/files/patch-wrapper::check_ver | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/net/asterisk-oh323/files/patch-wrapper::check_ver b/net/asterisk-oh323/files/patch-wrapper::check_ver new file mode 100644 index 000000000000..90d14a6c4391 --- /dev/null +++ b/net/asterisk-oh323/files/patch-wrapper::check_ver @@ -0,0 +1,27 @@ +--- wrapper/check_ver.orig Thu Apr 13 14:02:00 2006 ++++ wrapper/check_ver Thu Apr 13 14:11:54 2006 +@@ -1,10 +1,17 @@ + #!/bin/sh + +-if [ -f .$2_version ]; then +- mv .$2_version .$2_version.old ++if [ -f .${2}_version ]; then ++ mv .${2}_version .${2}_version.old + fi +- +-MAJOR_VER=`cat $1/version.h | grep "#define MAJOR_VERSION" | awk -F\ '{print $3}'` +-MINOR_VER=`cat $1/version.h | grep "#define MINOR_VERSION" | awk -F\ '{print $3}'` +-BUILD_NUM=`cat $1/version.h | grep "#define BUILD_NUMBER" | awk -F\ '{print $3}'` +-echo -e "$MAJOR_VER.$MINOR_VER.$BUILD_NUM" > .$2_version ++case ${2} in ++ pwlib) ++ grep "PWLIB_VERSION" ${1}/../../include/ptbuildopts.h | \ ++ awk -F\ '{print $3}' > .${2}_version ++ ;; ++ openh323) ++ grep "OPENH323_VERSION" ${1}/../../include/${2}/${2}buildopts.h | \ ++ awk -F\ '{print $3}' > .${2}_version ++ ;; ++ *) ++ ;; ++esac |