summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/ncurses/files/ncurses-5.8-gfbsd.patch')
-rw-r--r--sys-libs/ncurses/files/ncurses-5.8-gfbsd.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys-libs/ncurses/files/ncurses-5.8-gfbsd.patch b/sys-libs/ncurses/files/ncurses-5.8-gfbsd.patch
new file mode 100644
index 000000000000..0200a14462af
--- /dev/null
+++ b/sys-libs/ncurses/files/ncurses-5.8-gfbsd.patch
@@ -0,0 +1,24 @@
+we'll hijack the freebsd* case that comes later
+
+--- ncurses-5.6/aclocal.m4
++++ ncurses-5.6/aclocal.m4
+@@ -3806,7 +3806,7 @@
+ fi
+ cf_cv_rm_so_locs=yes
+ ;;
+- linux*|gnu*|k*bsd*-gnu) #(vi
++ linux*|gnu*|k*bsd*-gnu|freebsd*|dragonfly*) #(vi
+ if test "$DFT_LWR_MODEL" = "shared" ; then
+ LOCAL_LDFLAGS="-Wl,-rpath,\$(LOCAL_LIBDIR)"
+ LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
+--- ncurses-5.6/configure
++++ ncurses-5.6/configure
+@@ -3806,7 +3806,7 @@
+ fi
+ cf_cv_rm_so_locs=yes
+ ;;
+- linux*|gnu*|k*bsd*-gnu) #(vi
++ linux*|gnu*|k*bsd*-gnu|freebsd*|dragonfly*) #(vi
+ if test "$DFT_LWR_MODEL" = "shared" ; then
+ LOCAL_LDFLAGS="-Wl,-rpath,\$(LOCAL_LIBDIR)"
+ LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"