ports/core (3.2): ncurses: add sysmlink to curses.h (FS#667)
commit a3c340909d7681441869606799eaed3a6dd6b49c Author: Juergen Daubert <jue@jue.li> Date: Tue Aug 4 14:57:36 2015 +0200 ncurses: add sysmlink to curses.h (FS#667) diff --git a/ncurses/.footprint b/ncurses/.footprint index 25f49d9..6f2e2dc 100644 --- a/ncurses/.footprint +++ b/ncurses/.footprint @@ -32,6 +32,8 @@ drwxr-xr-x root/root usr/include/ -rw-r--r-- root/root usr/include/nc_tparm.h lrwxrwxrwx root/root usr/include/ncurses.h -> curses.h -rw-r--r-- root/root usr/include/ncurses_dll.h +drwxr-xr-x root/root usr/include/ncursesw/ +lrwxrwxrwx root/root usr/include/ncursesw/ncurses.h -> ../curses.h -rw-r--r-- root/root usr/include/panel.h -rw-r--r-- root/root usr/include/term.h -rw-r--r-- root/root usr/include/term_entry.h diff --git a/ncurses/Pkgfile b/ncurses/Pkgfile index d3d307e..daa79c7 100644 --- a/ncurses/Pkgfile +++ b/ncurses/Pkgfile @@ -4,7 +4,7 @@ name=ncurses version=5.9 -release=4 +release=5 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz $name-$version-gcc5_buildfixes-1.patch) @@ -34,11 +34,13 @@ build() { make make install - install -d $PKG/lib + install -d $PKG/{lib,usr/include/ncursesw} for i in w ''; do mv $PKG/usr/lib/libncurses$i.so.* $PKG/lib ln -sf libncurses$i.so $PKG/usr/lib/libcurses$i.so ln -sf ../../lib/libncurses$i.so.$version $PKG/usr/lib/libncurses$i.so done + + ln -s ../curses.h $PKG/usr/include/ncursesw/ncurses.h }
participants (1)
-
crux@crux.nu