| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile.common,v 1.19 2013/05/10 00:36:30 riastradh Exp $ | | 1 | # $NetBSD: Makefile.common,v 1.20 2013/10/04 10:46:25 jperkin Exp $ |
2 | # | | 2 | # |
3 | # used by devel/ncursesw/Makefile | | 3 | # used by devel/ncursesw/Makefile |
4 | | | 4 | |
5 | DISTNAME= ncurses-${NC_VERS} | | 5 | DISTNAME= ncurses-${NC_VERS} |
6 | NC_VERS= 5.9 | | 6 | NC_VERS= 5.9 |
7 | CATEGORIES= devel | | 7 | CATEGORIES= devel |
8 | MASTER_SITES= ${MASTER_SITE_GNU:=ncurses/} \ | | 8 | MASTER_SITES= ${MASTER_SITE_GNU:=ncurses/} \ |
9 | ftp://dickey.his.com/ncurses/ \ | | 9 | ftp://dickey.his.com/ncurses/ \ |
10 | ftp://dickey.his.com/ncurses/${NC_VERS}/ | | 10 | ftp://dickey.his.com/ncurses/${NC_VERS}/ |
11 | | | 11 | |
12 | MAINTAINER= pkgsrc-users@NetBSD.org | | 12 | MAINTAINER= pkgsrc-users@NetBSD.org |
13 | HOMEPAGE= http://invisible-island.net/ncurses/ncurses.html | | 13 | HOMEPAGE= http://invisible-island.net/ncurses/ncurses.html |
14 | LICENSE= mit | | 14 | LICENSE= mit |
| @@ -24,26 +24,30 @@ CONFIGURE_ARGS+= --enable-bsdpad | | | @@ -24,26 +24,30 @@ CONFIGURE_ARGS+= --enable-bsdpad |
24 | CONFIGURE_ARGS+= --enable-overwrite | | 24 | CONFIGURE_ARGS+= --enable-overwrite |
25 | CONFIGURE_ARGS+= --with-cxx-binding | | 25 | CONFIGURE_ARGS+= --with-cxx-binding |
26 | CONFIGURE_ARGS+= --without-ada | | 26 | CONFIGURE_ARGS+= --without-ada |
27 | CONFIGURE_ARGS+= --without-gpm | | 27 | CONFIGURE_ARGS+= --without-gpm |
28 | CONFIGURE_ARGS+= --with-manpage-format=normal | | 28 | CONFIGURE_ARGS+= --with-manpage-format=normal |
29 | CONFIGURE_ARGS+= --with-manpage-tbl | | 29 | CONFIGURE_ARGS+= --with-manpage-tbl |
30 | CONFIGURE_ARGS+= --with-default-terminfo-dir=${PREFIX}/${TERMINFODIR} | | 30 | CONFIGURE_ARGS+= --with-default-terminfo-dir=${PREFIX}/${TERMINFODIR} |
31 | CONFIGURE_ARGS+= --with-terminfo-dirs=${PREFIX}/${TERMINFODIR} | | 31 | CONFIGURE_ARGS+= --with-terminfo-dirs=${PREFIX}/${TERMINFODIR} |
32 | CONFIGURE_ARGS+= --includedir=${PREFIX}/include/ncurses | | 32 | CONFIGURE_ARGS+= --includedir=${PREFIX}/include/ncurses |
33 | MAKE_JOBS_SAFE= no | | 33 | MAKE_JOBS_SAFE= no |
34 | | | 34 | |
35 | .include "../../mk/bsd.prefs.mk" | | 35 | .include "../../mk/bsd.prefs.mk" |
36 | | | 36 | |
| | | 37 | .if ${OPSYS} == "Darwin" |
| | | 38 | CONFIGURE_ARGS+= --disable-mixed-case |
| | | 39 | .endif |
| | | 40 | |
37 | .if !empty(USE_CROSS_COMPILE:M[yY][eE][sS]) | | 41 | .if !empty(USE_CROSS_COMPILE:M[yY][eE][sS]) |
38 | TOOL_DEPENDS+= ncurses-${NC_VERS}:../../devel/ncurses | | 42 | TOOL_DEPENDS+= ncurses-${NC_VERS}:../../devel/ncurses |
39 | CONFIGURE_ENV+= BUILD_CC=${NATIVE_CC:Q} | | 43 | CONFIGURE_ENV+= BUILD_CC=${NATIVE_CC:Q} |
40 | CONFIGURE_ENV+= ac_cv_path_TIC_PATH=${LOCALBASE}/bin/tic | | 44 | CONFIGURE_ENV+= ac_cv_path_TIC_PATH=${LOCALBASE}/bin/tic |
41 | .endif | | 45 | .endif |
42 | | | 46 | |
43 | .if !defined(TOOLS_TBL) | | 47 | .if !defined(TOOLS_TBL) |
44 | # This means that groff needs to be built to get tbl(1). | | 48 | # This means that groff needs to be built to get tbl(1). |
45 | # We can only build groff if there is a builtin implementation of curses, | | 49 | # We can only build groff if there is a builtin implementation of curses, |
46 | # otherwise we get a circular dependency problem. | | 50 | # otherwise we get a circular dependency problem. |
47 | # Additionally, Interix is special, see ../../mk/curses.buildlink3.mk | | 51 | # Additionally, Interix is special, see ../../mk/curses.buildlink3.mk |
48 | . if !(exists(/usr/include/curses.h) || exists(/usr/include/ncurses.h)) || \ | | 52 | . if !(exists(/usr/include/curses.h) || exists(/usr/include/ncurses.h)) || \ |
49 | ${OPSYS} == "Interix" | | 53 | ${OPSYS} == "Interix" |