1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/security/cyrus-sasl2/files/patch-ab

23 lines
696 B
Plaintext
Raw Normal View History

--- configure.in.orig Fri Jan 14 00:00:16 2000
+++ configure.in Mon Feb 7 15:14:50 2000
@@ -49,8 +49,9 @@
dnl check for -R, etc. switch
CMU_GUESS_RUNPATH_SWITCH
dnl let's just link against local. otherwise we never find anything useful.
-CPPFLAGS="-I/usr/local/include ${CPPFLAGS}"
-CMU_ADD_LIBPATH("/usr/local/lib")
+CPPFLAGS="-I${OPENSSLINC} -I${OPENSSLINC}/openssl ${CPPFLAGS}"
+CMU_ADD_LIBPATH("${LOCALBASE}/lib")
+CMU_ADD_LIBPATH("${OPENSSLLIB}")
if test "$enable_java" = yes; then
AC_PATH_PROG(JAVAC, javac, no)
@@ -222,6 +223,7 @@
AC_CHECK_LIB(crypt, crypt,
LIB_CRYPT="-lcrypt"; cmu_have_crypt=yes,
cmu_have_crypt=no))
+AC_SUBST(LIB_CRYPT)
CMU_SOCKETS