ports/net/libiscsi/files/patch-configure.ac
Muhammad Moinur Rahman d00b3ccfa3 [NEW] net/libiscsi: Client-side library to implement the iSCSI protocol
Libiscsi is a client-side library to implement the iSCSI protocol
that can be used to access the resources of an iSCSI target.

The library is fully asynchronous with regards to iSCSI commands
and SCSI tasks, but a synchronous layer is also provided for ease
of use for simpler applications.

WWW: https://github.com/sahlberg/libiscsi

PR:		217355
Submitted by:	d8zNeCFG@aon.at
2020-05-30 00:31:39 +00:00

12 lines
452 B
Text

--- configure.ac.orig 2019-07-13 22:04:44 UTC
+++ configure.ac
@@ -144,7 +144,8 @@ AC_CACHE_CHECK([for iSER support],libiscsi_cv_HAVE_LIN
AC_TRY_COMPILE([
#include <infiniband/verbs.h>
#include <rdma/rdma_cma.h>
-#include <rdma/rdma_verbs.h>],
+#include <rdma/rdma_verbs.h>
+#error not on FreeBSD],
[int ibv = IBV_WC_SEND;],
libiscsi_cv_HAVE_LINUX_ISER=yes,libiscsi_cv_HAVE_LINUX_ISER=no)])
if test x"$libiscsi_cv_HAVE_LINUX_ISER" = x"yes"; then