1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
8 SDESC[standard]= Minimal static-only version of ncurses v6.0
9 HOMEPAGE= http://invisible-island.net/ncurses/ncurses.html
13 SITES[main]= http://invisible-mirror.net/archives/ncurses/
14 ftp://invisible-island.net/ncurses/
15 DISTFILE[1]= ncurses-6.0.tar.gz:main
17 SPKGS[standard]= single
19 OPTIONS_AVAILABLE= none
20 OPTIONS_STANDARD= none
22 USES= bdb:static pkgconfig terminfo:single shebangfix
27 LICENSE_FILE= MIT:{{WRKSRC}}/COPYING
30 PREFIX= {{LOCALBASE}}/ncurses60
31 SHEBANG_FILES= test/tracemunch
34 CONFIGURE_WRKSRC= {{WRKSRC}}/build.nowidec
35 CONFIGURE_SCRIPT= ../configure
36 CONFIGURE_ARGS= --datadir={{PREFIX}}/share/misc
43 --disable-home-terminfo
46 --includedir={{PREFIX}}/include/ncurses
50 --disable-root-environ
51 --with-manpage-format=gzip
54 --without-manpage-renames
56 --mandir={{MANPREFIX}}/man
58 --with-shlib-version=rel
60 --datadir={{PREFIX}}/share/misc
61 --with-default-terminfo-dir={{PREFIX}}/share/misc/terminfo
62 --with-terminfo-dirs={{PREFIX}}/share/misc/terminfo:/usr/share/terminfo
63 CONFIGURE_ENV= gnat_exists="no"
65 BUILD_WRKSRC= {{WRKSRC}}/build.nowidec
68 INSTALL_WRKSRC= {{WRKSRC}}/build.nowidec
69 INSTALL_REQ_TOOLCHAIN= yes
75 VAR_OPSYS[sunos]= CONFIGURE_ENV=LIBS="-lrt -lresolv -lsocket"
78 ${REINPLACE_CMD} -e 's,$$(INSTALL_PROG) ncurses-config,@INSTALL_SCRIPT@ ncurses-config,' ${WRKSRC}/misc/Makefile.in
79 ${REINPLACE_CMD} -e 's,/usr/include,${PREFIX}/include,g' ${WRKSRC}/misc/ncurses-config.in
82 ${SED} -i'' -e 's|-ldb-5||' -e 's|-Wl,.*/db5||' \
83 ${STAGEDIR}${LOCALBASE}/lib/pkgconfig/*.pc \
84 ${STAGEDIR}${PREFIX}/bin/ncurse*-config
87 ${MV} ${STAGEDIR}${PREFIX}/share/misc/terminfo.db \
88 ${STAGEDIR}${PREFIX}/share/misc/terminfo.db.default
89 ${RM} -r ${STAGEDIR}${MANPREFIX}/man
92 (cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} \
93 BUILD_WRKSRC=${WRKSRC}/build.widec do-build)
94 # Shift post-install to post-build. The installation uses the
95 # compiler even there.
96 (cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} \
97 INSTALL_WRKSRC=${WRKSRC}/build.widec do-install)
98 # Remove -ldb-5 from pc files. It's been statically linked in
102 ${SET_LATE_CONFIGURE_ARGS} \
103 ${MAKE} ${.MAKEFLAGS} CONFIGURE_WRKSRC=${WRKSRC}/build.widec \
104 CONFIGURE_ARGS="${CONFIGURE_ARGS} --enable-widec" \
107 ${CP} -R ${WRKSRC}/${d}/* ${WRKSRC}/build.widec/${d}/
108 ${CP} -R ${WRKSRC}/${d}/* ${WRKSRC}/build.nowidec/${d}/
112 @${MKDIR} ${WRKSRC}/build.widec
113 @${MKDIR} ${WRKSRC}/build.nowidec
116 # static libdb requires post-linking with pthread library
117 ${REINPLACE_CMD} -e 's|(LIBS_TIC)|(LIBS_TIC) -lpthread|' \
118 -e 's|(LIBS_TINFO)|(LIBS_TINFO) -lpthread|' \
119 ${WRKSRC}/progs/Makefile.in
120 ${REINPLACE_CMD} -e 's|(MATH_LIB)|(MATH_LIB) -lpthread|' \
121 ${WRKSRC}/test/Makefile.in
122 ${REINPLACE_CMD} -e 's|(TEST_LDFLAGS)|(TEST_LDFLAGS) -lpthread|' \
123 ${WRKSRC}/c++/Makefile.in
125 [FILE:512:descriptions/desc.single]
126 The ncurses software includes a SVr4 and XSI-Curses compatible
127 curses library as well as terminfo tools including "tic", "infocmp",
128 and "captoinfo". The library is used by other programs for text-mode
129 support of color, multiple highlights, forms-drawing characters,
130 automatic recognition of keypad and function-key sequences, and
133 This package was statically built against its own static libraries,
134 and the version is intentionally fixed to 6.0. It is meant to be
135 used exclusively as a build dependency.
139 f551c24b30ce8bfb6e96d9f59b42fbea30fa3a6123384172f9e7284bcf647260 3131891 ncurses-6.0.tar.gz
142 [FILE:780:manifests/plist.single]
143 %%PREFIX%%/lib/pkgconfig/
161 ncurses%%ABI_VER%%-config
162 ncursesw%%ABI_VER%%-config
203 share/misc/terminfo.db.default
211 [FILE:970:patches/patch-configure]
212 --- configure.orig 2015-08-05 09:20:32 UTC
214 @@ -5863,7 +5863,7 @@ case $cf_cv_system_name in
215 LD_RPATH_OPT="-Wl,-rpath,"
217 (dragonfly*|freebsd*)
218 - LD_RPATH_OPT="-rpath "
219 + LD_RPATH_OPT="-Wl,-rpath,"
222 LD_RPATH_OPT="-Wl,-rpath,"
223 @@ -5872,7 +5872,7 @@ case $cf_cv_system_name in
224 LD_RPATH_OPT="-rpath "
228 + LD_RPATH_OPT="-Wl,-R"
232 @@ -6343,11 +6343,11 @@ CF_EOF
233 # tested with SunOS 5.5.1 (solaris 2.5.1) and gcc 2.7.2
234 # tested with SunOS 5.10 (solaris 10) and gcc 3.4.3
235 if test "$DFT_LWR_MODEL" = "shared" ; then
236 - LOCAL_LDFLAGS="-R \$(LOCAL_LIBDIR):\${libdir}"
237 + LOCAL_LDFLAGS="-Wl,-R\$(LOCAL_LIBDIR):\${libdir}"
238 LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
240 if test "$cf_cv_enable_rpath" = yes ; then
241 - EXTRA_LDFLAGS="-R \${libdir} $EXTRA_LDFLAGS"
242 + EXTRA_LDFLAGS="-Wl,-R\${libdir} $EXTRA_LDFLAGS"
245 test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel
248 [FILE:1041:patches/patch-misc_terminfo.src]
249 --- misc/terminfo.src.orig 2015-07-25 19:27:20 UTC
250 +++ misc/terminfo.src
251 @@ -4143,7 +4143,7 @@ xterm-basic|modern xterm terminal emulat
252 il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m,
253 is2=\E[!p\E[?3;4l\E[4l\E>, kmous=\E[M, meml=\El,
254 memu=\Em, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM,
255 - ritm=\E[23m, rmacs=\E(B, rmam=\E[?7l, rmcup=\E[?1049l,
256 + ritm=\E[23m, rmacs=\E(B, rmam=\E[?7l,
257 rmir=\E[4l, rmkx=\E[?1l\E>, rmm=\E[?1034l, rmso=\E[27m,
258 rmul=\E[24m, rs1=\Ec, rs2=\E[!p\E[?3;4l\E[4l\E>, sc=\E7,
259 setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
260 @@ -4151,7 +4151,7 @@ xterm-basic|modern xterm terminal emulat
261 setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
262 sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m,
263 sgr0=\E(B\E[m, sitm=\E[3m, smacs=\E(0, smam=\E[?7h,
264 - smcup=\E[?1049h, smir=\E[4h, smkx=\E[?1h\E=,
265 + smir=\E[4h, smkx=\E[?1h\E=,
266 smm=\E[?1034h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
267 vpa=\E[%i%p1%dd, E3=\E[3J, use=ansi+pp, use=xterm+kbs,
271 [FILE:359:patches/patch-ncurses_Makefile.in]
272 --- ncurses/Makefile.in.orig 2018-01-15 19:28:45 UTC
273 +++ ncurses/Makefile.in
274 @@ -130,7 +130,7 @@ LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@
276 SHLIB_DIRS = -L../lib
277 SHLIB_LIST = $(SHLIB_DIRS) @SHLIB_LIST@
278 -TINFO_LIST = $(SHLIB_DIRS) @TINFO_LIST@
279 +TINFO_LIST = $(SHLIB_DIRS) @TINFO_LIST@ -ldb-5
280 TICS_LIST = $(SHLIB_DIRS) @TICS_LIST@
282 RPATH_LIST = @RPATH_LIST@