From 9e949f5564f00abcb02c8c3262572264d06bb7b7 Mon Sep 17 00:00:00 2001 From: Tim Bishop Date: Sun, 7 Jan 2007 18:34:18 +0000 Subject: Add patch to fix build when LOCALBASE != /usr/local. The configure script checked explicitly in /usr/local for pwlib. This patch has also been sent upstream. Patch does not affect build when LOCALBASE == /usr/local, so no PORTREVISION bump required. Approved by: Jean-Baptiste Quenot (maintainer) --- net/opal/files/patch-configure.ac | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 net/opal/files/patch-configure.ac (limited to 'net/opal/files/patch-configure.ac') diff --git a/net/opal/files/patch-configure.ac b/net/opal/files/patch-configure.ac new file mode 100644 index 000000000000..0ff721a18000 --- /dev/null +++ b/net/opal/files/patch-configure.ac @@ -0,0 +1,24 @@ +--- ./configure.ac.orig Tue Feb 21 00:47:28 2006 ++++ ./configure.ac Sun Jan 7 13:01:14 2007 +@@ -60,6 +60,11 @@ + AC_CHECK_FILE(/usr/include/ptlib.h, HAS_PTLIB=1) + if test "${HAS_PTLIB:-unset}" != "unset" ; then + AC_PATH_PROG(PTLIB_CONFIG, ptlib-config, , /usr/share/pwlib/make/) ++ else ++ AC_CHECK_FILE(${prefix}/include/ptlib.h, HAS_PTLIB=1) ++ if test "${HAS_PTLIB:-unset}" != "unset" ; then ++ AC_PATH_PROG(PTLIB_CONFIG, ptlib-config, , ${prefix}/bin) ++ fi + fi + fi + fi +@@ -84,6 +89,9 @@ + fi + if test "x$PWLIBDIR" = "x/usr/local" -o "x$PWLIBDIR" = "x/usr/"; then + PWLIBDIR="/usr/local/share/pwlib/" ++fi ++if test "x$PWLIBDIR" = "x${prefix}"; then ++ PWLIBDIR="${prefix}/share/pwlib/" + fi + + echo "PWLib prefix set to.... $PWLIBDIR" -- cgit v1.2.3