openbsd-ports/net/irssi-icb/patches/patch-configure
jasper 49c1d02ebf unbreak after the irssi update...my bad.
diff from sthen@, thanks!
2007-10-15 17:53:37 +00:00

37 lines
1.1 KiB
Plaintext

$OpenBSD: patch-configure,v 1.3 2007/10/15 17:53:37 jasper Exp $
--- configure.orig Sun Nov 24 13:17:37 2002
+++ configure Mon Oct 15 14:55:20 2007
@@ -4297,6 +4297,8 @@ openbsd*)
version_type=sunos
need_lib_prefix=no
need_version=no
+ sys_lib_search_path_spec="/usr/lib"
+ sys_lib_dlsearch_path_spec="/usr/lib /usr/local/lib"
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
case "$host_os" in
openbsd2.[89] | openbsd2.[89].*)
@@ -5602,11 +5604,11 @@ fi
if test x$IRSSI_INCLUDE = x; then
- if test -f ../irssi-config; then
+ if test -f ../irssi-version.h; then
IRSSI_INCLUDE=".."
- elif test -f ../irssi/irssi-config; then
+ elif test -f ../irssi/irssi-version.h; then
IRSSI_INCLUDE="../irssi"
- elif test -f ../../irssi/irssi-config; then
+ elif test -f ../../irssi/irssi-version.h; then
IRSSI_INCLUDE="../../irssi"
fi
fi
@@ -5618,7 +5620,7 @@ cd $old
-if test ! -f $IRSSI_INCLUDE/irssi-config; then
+if test ! -f $IRSSI_INCLUDE/irssi-version.h; then
{ echo "configure: error: Not irssi directory: $IRSSI_INCLUDE" 1>&2; exit 1; }
fi