summaryrefslogtreecommitdiff
path: root/net/opal3/files
diff options
context:
space:
mode:
authorTim Bishop <tdb@FreeBSD.org>2007-01-07 18:34:18 +0000
committerTim Bishop <tdb@FreeBSD.org>2007-01-07 18:34:18 +0000
commit9e949f5564f00abcb02c8c3262572264d06bb7b7 (patch)
treee3a0239716e82bb8e4ad4c2f63f0a2ab056853f4 /net/opal3/files
parentMake fetcheable until the port is updated to the new version. (diff)
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 <jbq@caraldi.com> (maintainer)
Notes
Notes: svn path=/head/; revision=181698
Diffstat (limited to 'net/opal3/files')
-rw-r--r--net/opal3/files/patch-configure.ac24
1 files changed, 24 insertions, 0 deletions
diff --git a/net/opal3/files/patch-configure.ac b/net/opal3/files/patch-configure.ac
new file mode 100644
index 000000000000..0ff721a18000
--- /dev/null
+++ b/net/opal3/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"