From 914669907b4bcd0b9240ee9c3d986930f53b60e2 Mon Sep 17 00:00:00 2001
From: Brian Behlendorf <behlendorf1@llnl.gov>
Date: Wed, 10 Dec 2008 13:29:14 -0800
Subject: [PATCH] Change -lzport to -lspl

---
 zfs/lib/libuutil/Makefile.in | 2 +-
 zfs/zcmd/zdb/Makefile.in     | 2 +-
 zfs/zcmd/zdump/Makefile.in   | 2 +-
 zfs/zcmd/zfs/Makefile.in     | 2 +-
 zfs/zcmd/zinject/Makefile.in | 2 +-
 zfs/zcmd/zpool/Makefile.in   | 2 +-
 zfs/zcmd/ztest/Makefile.in   | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/zfs/lib/libuutil/Makefile.in b/zfs/lib/libuutil/Makefile.in
index 213def56b7..815d7c9eb5 100644
--- a/zfs/lib/libuutil/Makefile.in
+++ b/zfs/lib/libuutil/Makefile.in
@@ -15,8 +15,8 @@ HOSTCFLAGS += -DNATIVE_BUILD
 
 HOSTLDFLAGS += -pthread
 HOSTLDFLAGS += -lrt
+HOSTLDFLAGS += -lspl -L@LIBDIR@/libspl
 HOSTLDFLAGS += -lavl -L@LIBDIR@/libavl
-HOSTLDFLAGS += -lzport -L@LIBDIR@/libspl
 
 hostprogs-y := zu
 always := $(hostprogs-y)
diff --git a/zfs/zcmd/zdb/Makefile.in b/zfs/zcmd/zdb/Makefile.in
index bed5e2ce64..b7e462302d 100644
--- a/zfs/zcmd/zdb/Makefile.in
+++ b/zfs/zcmd/zdb/Makefile.in
@@ -14,7 +14,7 @@ HOSTCFLAGS += -I@LIBDIR@/libzfs/include
 HOSTLDFLAGS += -lavl -L@LIBDIR@/libavl
 HOSTLDFLAGS += -lnvpair -L@LIBDIR@/libnvpair
 HOSTLDFLAGS += -luutil -L@LIBDIR@/libuutil
-HOSTLDFLAGS += -lzport -L@LIBDIR@/libspl
+HOSTLDFLAGS += -lspl -L@LIBDIR@/libspl
 HOSTLDFLAGS += -lzcommon -L@LIBDIR@/libzcommon
 HOSTLDFLAGS += -lzfs -L@LIBDIR@/libzfs
 
diff --git a/zfs/zcmd/zdump/Makefile.in b/zfs/zcmd/zdump/Makefile.in
index af471a3eed..23c6744ba1 100644
--- a/zfs/zcmd/zdump/Makefile.in
+++ b/zfs/zcmd/zdump/Makefile.in
@@ -14,7 +14,7 @@ HOSTCFLAGS += -I@LIBDIR@/libzfs/include
 HOSTLDFLAGS += -lavl -L@LIBDIR@/libavl
 HOSTLDFLAGS += -lnvpair -L@LIBDIR@/libnvpair
 HOSTLDFLAGS += -luutil -L@LIBDIR@/libuutil
-HOSTLDFLAGS += -lzport -L@LIBDIR@/libspl
+HOSTLDFLAGS += -lspl -L@LIBDIR@/libspl
 HOSTLDFLAGS += -lzcommon -L@LIBDIR@/libzcommon
 HOSTLDFLAGS += -lzfs -L@LIBDIR@/libzfs
 
diff --git a/zfs/zcmd/zfs/Makefile.in b/zfs/zcmd/zfs/Makefile.in
index 06660597ce..602b318929 100644
--- a/zfs/zcmd/zfs/Makefile.in
+++ b/zfs/zcmd/zfs/Makefile.in
@@ -14,7 +14,7 @@ HOSTCFLAGS += -I@LIBDIR@/libzfs/include
 HOSTLDFLAGS += -lavl -L@LIBDIR@/libavl
 HOSTLDFLAGS += -lnvpair -L@LIBDIR@/libnvpair
 HOSTLDFLAGS += -luutil -L@LIBDIR@/libuutil
-HOSTLDFLAGS += -lzport -L@LIBDIR@/libspl
+HOSTLDFLAGS += -lspl -L@LIBDIR@/libspl
 HOSTLDFLAGS += -lzcommon -L@LIBDIR@/libzcommon
 HOSTLDFLAGS += -lzfs -L@LIBDIR@/libzfs
 
diff --git a/zfs/zcmd/zinject/Makefile.in b/zfs/zcmd/zinject/Makefile.in
index c93d03a7d5..947eac9564 100644
--- a/zfs/zcmd/zinject/Makefile.in
+++ b/zfs/zcmd/zinject/Makefile.in
@@ -14,7 +14,7 @@ HOSTCFLAGS += -I@LIBDIR@/libzfs/include
 HOSTLDFLAGS += -lavl -L@LIBDIR@/libavl
 HOSTLDFLAGS += -lnvpair -L@LIBDIR@/libnvpair
 HOSTLDFLAGS += -luutil -L@LIBDIR@/libuutil
-HOSTLDFLAGS += -lzport -L@LIBDIR@/libspl
+HOSTLDFLAGS += -lspl -L@LIBDIR@/libspl
 HOSTLDFLAGS += -lzcommon -L@LIBDIR@/libzcommon
 HOSTLDFLAGS += -lzfs -L@LIBDIR@/libzfs
 
diff --git a/zfs/zcmd/zpool/Makefile.in b/zfs/zcmd/zpool/Makefile.in
index 749e14dfff..10727069d8 100644
--- a/zfs/zcmd/zpool/Makefile.in
+++ b/zfs/zcmd/zpool/Makefile.in
@@ -14,7 +14,7 @@ HOSTCFLAGS += -I@LIBDIR@/libzfs/include
 HOSTLDFLAGS += -lavl -L@LIBDIR@/libavl
 HOSTLDFLAGS += -lnvpair -L@LIBDIR@/libnvpair
 HOSTLDFLAGS += -luutil -L@LIBDIR@/libuutil
-HOSTLDFLAGS += -lzport -L@LIBDIR@/libspl
+HOSTLDFLAGS += -lspl -L@LIBDIR@/libspl
 HOSTLDFLAGS += -lzcommon -L@LIBDIR@/libzcommon
 HOSTLDFLAGS += -lzfs -L@LIBDIR@/libzfs
 
diff --git a/zfs/zcmd/ztest/Makefile.in b/zfs/zcmd/ztest/Makefile.in
index 1ea28f27c9..9d01532f1f 100644
--- a/zfs/zcmd/ztest/Makefile.in
+++ b/zfs/zcmd/ztest/Makefile.in
@@ -14,7 +14,7 @@ HOSTCFLAGS += -I@LIBDIR@/libzfs/include
 HOSTLDFLAGS += -lavl -L@LIBDIR@/libavl
 HOSTLDFLAGS += -lnvpair -L@LIBDIR@/libnvpair
 HOSTLDFLAGS += -luutil -L@LIBDIR@/libuutil
-HOSTLDFLAGS += -lzport -L@LIBDIR@/libspl
+HOSTLDFLAGS += -lspl -L@LIBDIR@/libspl
 HOSTLDFLAGS += -lzcommon -L@LIBDIR@/libzcommon
 HOSTLDFLAGS += -lzfs -L@LIBDIR@/libzfs