1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

root/csw/mgar/pkg/ncurses/trunk/Makefile @ 4108

Revision 4108, 2.6 KB (checked in by dmichelsen, 4 years ago)

ncurses: Add widecharacter support

Line 
1GARNAME = ncurses
2GARVERSION = 5.7
3CATEGORIES = lib
4
5DESCRIPTION = ncurses library and utilities
6define BLURB
7        The ncurses (new curses) library is a free software emulation of curses in System V Release 4.0 and more. It uses terminfo forma
8t, supports pads and color and multiple highlights and forms charcters and function-key mapping, and has all the other SYSV-curses enhan
9cements over BSD curses. It should port easily to any ANSI/POSIX-conforming UNIX-like system. On systems supporting libiconv, the librar
10y can be built to support wide- and multibyte-character applications, e.g., UTF-8.
11endef
12
13MASTER_SITES = $(GNU_MIRROR)
14DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
15DISTFILES += $(call admfiles,CSWncurses)
16
17PATCHFILES = patch-xcode.diff
18
19SPKG_SOURCEURL = http://www.gnu.org/software/ncurses/ncurses.html
20
21BUILD64 = 1
22NO_ISAEXEC = 1
23RUNPATHQUOTE = 1
24
25EXTRA_MODULATORS = WIDEC
26MODULATIONS_WIDEC = disable enable
27
28EXTRA_CONFIGURE_WIDEC-disable = --disable-widec
29EXTRA_CONFIGURE_WIDEC-enable = --enable-widec
30
31CONFIGURE_ARGS = --prefix=$(prefix)
32CONFIGURE_ARGS += --bindir=$(bindir)
33CONFIGURE_ARGS += --libdir=$(libdir)
34CONFIGURE_ARGS += --mandir=$(mandir)
35CONFIGURE_ARGS += --without-libtool
36CONFIGURE_ARGS += --with-shared
37CONFIGURE_ARGS += --disable-overwrite
38CONFIGURE_ARGS += --without-ada
39CONFIGURE_ARGS += $(EXTRA_CONFIGURE_WIDEC-$(WIDEC))
40
41# Don't use capabilities HPA and VPA as Solaris xterm doesn't understand it.
42# See for details
43#   <http://opencsw.org/bugtrack/view.php?id=2961>
44#   <http://opencsw.org/bugtrack/view.php?id=2942>
45#   <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6569261>
46CONFIGURE_ARGS += --without-xterm-new
47
48MERGE_SCRIPTS_isa-sparcv8-widec-disable = copy-only copy-config-only
49   MERGE_DIRS_isa-sparcv8-widec-disable = $(libdir)
50MERGE_SCRIPTS_isa-sparcv9-widec-disable = copy-relocated-only copy-config-only
51   MERGE_DIRS_isa-sparcv9-widec-disable = $(libdir)
52
53 MERGE_SCRIPTS_isa-sparcv8-widec-enable = copy-all
54 MERGE_SCRIPTS_isa-sparcv9-widec-enable = copy-relocated-only copy-config-only
55    MERGE_DIRS_isa-sparcv9-widec-enable = $(libdir)
56
57   MERGE_SCRIPTS_isa-i386-widec-disable = copy-only copy-config-only
58      MERGE_DIRS_isa-i386-widec-disable = $(libdir)
59  MERGE_SCRIPTS_isa-amd64-widec-disable = copy-relocated-only copy-config-only
60     MERGE_DIRS_isa-amd64-widec-disable = $(libdir)
61
62    MERGE_SCRIPTS_isa-i386-widec-enable = copy-all
63   MERGE_SCRIPTS_isa-amd64-widec-enable = copy-relocated-only copy-config-only
64      MERGE_DIRS_isa-amd64-widec-enable = $(libdir)
65
66include gar/category.mk
67
68LDFLAGS := $(filter-out -L%,$(LDFLAGS))
Note: See TracBrowser for help on using the browser.