summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-freebsd/freebsd-cddl/files/freebsd-cddl-7.1-libpaths.patch')
-rw-r--r--sys-freebsd/freebsd-cddl/files/freebsd-cddl-7.1-libpaths.patch102
1 files changed, 0 insertions, 102 deletions
diff --git a/sys-freebsd/freebsd-cddl/files/freebsd-cddl-7.1-libpaths.patch b/sys-freebsd/freebsd-cddl/files/freebsd-cddl-7.1-libpaths.patch
deleted file mode 100644
index e50fe5ee3bcb..000000000000
--- a/sys-freebsd/freebsd-cddl/files/freebsd-cddl-7.1-libpaths.patch
+++ /dev/null
@@ -1,102 +0,0 @@
-diff -ru cddl.orig/lib/libctf/Makefile cddl/lib/libctf/Makefile
---- cddl.orig/lib/libctf/Makefile 2009-01-24 03:36:33 -0200
-+++ cddl/lib/libctf/Makefile 2009-01-24 03:55:10 -0200
-@@ -4,6 +4,7 @@
-
- LIB= ctf
- SHLIB_MAJOR= 1
-+LDADD+=-lz
-
- SRCS= ctf_create.c \
- ctf_decl.c \
-diff -ru cddl.orig/lib/libdtrace/Makefile cddl/lib/libdtrace/Makefile
---- cddl.orig/lib/libdtrace/Makefile 2009-01-24 00:18:47 -0200
-+++ cddl/lib/libdtrace/Makefile 2009-01-24 03:31:06 -0200
-@@ -74,7 +74,7 @@
- .endif
-
- LFLAGS+=-l
--
-+LDADD+=-lz -lproc
- YFLAGS+=-d
-
- CLEANFILES= dt_errtags.c dt_names.c
-diff -ru cddl.orig/lib/libzfs/Makefile cddl/lib/libzfs/Makefile
---- cddl.orig/lib/libzfs/Makefile 2008-06-22 10:26:18 -0300
-+++ cddl/lib/libzfs/Makefile 2008-06-22 10:26:26 -0300
-@@ -7,7 +7,7 @@
-
- LIB= zfs
- DPADD= ${LIBUTIL}
--LDADD= -lutil
-+LDADD= -lutil -lgeom -lm
-
- SRCS= deviceid.c \
- mnttab.c \
-diff -ru cddl.orig/lib/libzpool/Makefile cddl/lib/libzpool/Makefile
---- cddl.orig/lib/libzpool/Makefile 2008-06-22 10:35:15 -0300
-+++ cddl/lib/libzpool/Makefile 2008-06-22 10:37:06 -0300
-@@ -42,7 +42,8 @@
- CFLAGS+= -I${.CURDIR}/../../../contrib/opensolaris/lib/libnvpair
-
- DPADD= ${LIBPTHREAD} ${LIBZ}
--LDADD= -lpthread -lz
-+LDADD= -lpthread -lz -lavl
-+LDFLAGS+= -L${.CURDIR}/../libavl
-
- # atomic.S doesn't like profiling.
- NO_PROFILE=
-diff -ru cddl.orig/sbin/zfs/Makefile cddl/sbin/zfs/Makefile
---- cddl.orig/sbin/zfs/Makefile 2008-06-22 10:02:30 -0300
-+++ cddl/sbin/zfs/Makefile 2008-06-22 10:14:23 -0300
-@@ -23,5 +23,7 @@
- ${LIBM} ${LIBNVPAIR} ${LIBUUTIL} ${LIBUTIL}
- LDADD= -lzfs -lgeom -lbsdxml -lsbuf \
- -lm -lnvpair -luutil -lutil
-+LDFLAGS+=-L${.CURDIR}/../../lib/libzfs -L${.CURDIR}/../../lib/libnvpair \
-+ -L${.CURDIR}/../../lib/libuutil -L/lib -L/usr/lib
-
- .include <bsd.prog.mk>
-diff -ru cddl.orig/sbin/zpool/Makefile cddl/sbin/zpool/Makefile
---- cddl.orig/sbin/zpool/Makefile 2008-06-22 10:02:30 -0300
-+++ cddl/sbin/zpool/Makefile 2008-06-22 10:14:47 -0300
-@@ -23,5 +23,7 @@
- ${LIBM} ${LIBNVPAIR} ${LIBUUTIL} ${LIBUTIL}
- LDADD= -lavl -lzfs -lgeom -lbsdxml -lsbuf \
- -lm -lnvpair -luutil -lutil
-+LDFLAGS+=-L${.CURDIR}/../../lib/libzfs -L${.CURDIR}/../../lib/libavl -L/lib -L/usr/lib \
-+ -L${.CURDIR}/../../lib/libnvpair -L${.CURDIR}/../../lib/libuutil
-
- .include <bsd.prog.mk>
-diff -ru cddl.orig/usr.bin/ztest/Makefile cddl/usr.bin/ztest/Makefile
---- cddl.orig/usr.bin/ztest/Makefile 2008-06-22 10:02:30 -0300
-+++ cddl/usr.bin/ztest/Makefile 2008-06-22 10:12:40 -0300
-@@ -18,5 +18,7 @@
- DPADD= ${LIBM} ${LIBNVPAIR} ${LIBUMEM} ${LIBZPOOL} \
- ${LIBPTHREAD} ${LIBZ} ${LIBAVL}
- LDADD= -lm -lnvpair -lumem -lzpool -lpthread -lz -lavl
-+LDFLAGS+=-L${.CURDIR}/../../lib/libnvpair -L${.CURDIR}/../../lib/libumem \
-+ -L${.CURDIR}/../../lib/libzpool -L${.CURDIR}/../../lib/libavl -L/lib -L/usr/lib
-
- .include <bsd.prog.mk>
-diff -ru cddl.orig/usr.sbin/zdb/Makefile cddl/usr.sbin/zdb/Makefile
---- cddl.orig/usr.sbin/zdb/Makefile 2008-06-22 10:02:30 -0300
-+++ cddl/usr.sbin/zdb/Makefile 2008-06-22 10:13:31 -0300
-@@ -19,5 +19,7 @@
- DPADD= ${LIBM} ${LIBNVPAIR} ${LIBUMEM} ${LIBZPOOL} \
- ${LIBPTHREAD} ${LIBZ} ${LIBAVL}
- LDADD= -lm -lnvpair -lumem -lzpool -lpthread -lz -lavl
-+LDFLAGS+=-L${.CURDIR}/../../lib/libnvpair -L${.CURDIR}/../../lib/libumem \
-+ -L${.CURDIR}/../../lib/libzpool -L${.CURDIR}/../../lib/libavl -L/lib -L/usr/lib
-
- .include <bsd.prog.mk>
-diff -ru cddl.orig/usr.bin/Makefile.inc cddl/usr.bin/Makefile.inc
---- cddl.orig/usr.bin/Makefile.inc 2009-01-10 07:21:10 +0000
-+++ cddl/usr.bin/Makefile.inc 2009-01-10 07:18:55 +0000
-@@ -1,5 +1,6 @@
- # $FreeBSD: src/cddl/usr.bin/Makefile.inc,v 1.1.6.1 2008/11/25 02:59:29 kensmith Exp $
-
- BINDIR?= /usr/bin
-+LDFLAGS+= -L${.CURDIR}/../../lib/libctf
-
- .include "../Makefile.inc"