Changeset View
Changeset View
Standalone View
Standalone View
head/Mk/Uses/ncurses.mk
| Show All 33 Lines | |||||
| . endif | . endif | ||||
| .endif | .endif | ||||
| .if ${ncurses_ARGS} == base | .if ${ncurses_ARGS} == base | ||||
| NCURSESBASE= /usr | NCURSESBASE= /usr | ||||
| NCURSESINC= ${NCURSESBASE}/include | NCURSESINC= ${NCURSESBASE}/include | ||||
| . if exists(${LOCALBASE}/lib/libncurses.so) | . if exists(${LOCALBASE}/lib/libncurses.so) | ||||
| check-depends:: | _USES_sanity+= 400:check-depends-ncurses | ||||
| check-depends-ncurses: | |||||
| @${ECHO_CMD} "Dependency error: this port wants the ncurses library from the FreeBSD" | @${ECHO_CMD} "Dependency error: this port wants the ncurses library from the FreeBSD" | ||||
| @${ECHO_CMD} "base system. You can't build against it, while a newer" | @${ECHO_CMD} "base system. You can't build against it, while a newer" | ||||
| @${ECHO_CMD} "version is installed by a port." | @${ECHO_CMD} "version is installed by a port." | ||||
| @${ECHO_CMD} "Please deinstall the port or undefine WITH_NCURSES_BASE." | @${ECHO_CMD} "Please deinstall the port or undefine WITH_NCURSES_BASE." | ||||
| @${FALSE} | @${FALSE} | ||||
| . endif | . endif | ||||
| NCURSESRPATH= /usr/lib:${LOCALBASE}/lib | NCURSESRPATH= /usr/lib:${LOCALBASE}/lib | ||||
| Show All 40 Lines | |||||