diff options
author | drochner <drochner> | 2010-02-25 16:01:47 +0000 |
---|---|---|
committer | drochner <drochner> | 2010-02-25 16:01:47 +0000 |
commit | a51161289535b3eccf6fbad1aa2568488d96e522 (patch) | |
tree | 1095a3b768054aca7e9e874f1db4f69e93424f74 /devel/ncursesw | |
parent | 564df52ab1f4c54d47fd46b10de064008a0a145b (diff) | |
download | pkgsrc-a51161289535b3eccf6fbad1aa2568488d96e522.tar.gz |
also fake a <ncursesw/ncurses.h> header to make pkgs expecting
ncursesw work with native wide curses without changes
Diffstat (limited to 'devel/ncursesw')
-rw-r--r-- | devel/ncursesw/builtin.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/ncursesw/builtin.mk b/devel/ncursesw/builtin.mk index b1944aa6622..6fcd8bd99c8 100644 --- a/devel/ncursesw/builtin.mk +++ b/devel/ncursesw/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.8 2009/01/18 06:56:34 dholland Exp $ +# $NetBSD: builtin.mk,v 1.9 2010/02/25 16:01:47 drochner Exp $ BUILTIN_PKG:= ncursesw @@ -133,6 +133,7 @@ BUILDLINK_TARGETS+= buildlink-ncursesw-curses-h # Packages will expect the following includes to provide declarations # for ncursesw if wide curses are supported: # +# <ncursesw/ncurses.h> # <ncursesw/curses.h> # <ncurses.h> # <curses.h> @@ -147,7 +148,7 @@ buildlink-ncursesw-curses-h: curses_h="ncursesw/ncurses.h curses.h"; \ for f in $$curses_h; do \ src=${BUILDLINK_PREFIX.ncursesw:Q}"/include/$$f"; \ - dests="ncursesw/curses.h ncurses.h curses.h"; \ + dests="ncursesw/ncurses.h ncursesw/curses.h ncurses.h curses.h"; \ for dest in $$dests; do \ dest=${BUILDLINK_DIR:Q}"/include/$$dest"; \ if ${TEST} -f "$$src"; then \ |