diff options
author | Will Andrews <will@FreeBSD.org> | 2000-12-21 06:24:32 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2000-12-21 06:24:32 +0000 |
commit | e2d6082a718a775eb79529627e5c0853479f014a (patch) | |
tree | de7f840f6b2fcbad9960b3eb08d054572ffd0c78 /net-im/gale/files/patch-ac | |
parent | Update to nethack 3.3.1. (diff) |
Update to use ADNS. Bump PORTREVISION.
PR: 21720
Submitted by: Peter Sapros <peterh@sapros.com>
Diffstat (limited to 'net-im/gale/files/patch-ac')
-rw-r--r-- | net-im/gale/files/patch-ac | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/net-im/gale/files/patch-ac b/net-im/gale/files/patch-ac new file mode 100644 index 000000000000..6e51eec807cb --- /dev/null +++ b/net-im/gale/files/patch-ac @@ -0,0 +1,24 @@ +--- configure.in.orig Thu Jul 13 17:42:14 2000 ++++ configure.in Mon Oct 2 23:24:49 2000 +@@ -174,15 +174,19 @@ + GALE_LIBS="$GALE_LIBS -lrsaref" + fi + ++AC_CHECK_LIB(resolv,res_init,[ ++ RESOLV_LIBS="-lresolv" ++]) ++ + AC_MSG_CHECKING([for local copy of liboop]) + if test -f "${srcdir}/liboop/oop.h"; then + AC_MSG_RESULT(yes) + CPPFLAGS="-I\${top_srcdir}/liboop $CPPFLAGS" + build_liboop=true + AC_CHECK_LIB(adns,adns_init,[ +- GALE_LIBS="$GALE_LIBS \${top_builddir}/liboop/liboop-adns.la -ladns -lresolv" ++ GALE_LIBS="$GALE_LIBS \${top_builddir}/liboop/liboop-adns.la -ladns ${RESOLV_LIBS}" + AC_DEFINE(HAVE_ADNS) +- ],[:],-lresolv) ++ ],[:],$RESOLV_LIBS) + GALE_LIBS="$GALE_LIBS \${top_builddir}/liboop/liboop.la" + else + AC_MSG_RESULT(no) |