pkgsrc/devel/pdcurses/buildlink3.mk
wiz c7383780db Bump all packages that depend on curses.bui* or terminfo.bui* since they
might incur ncurses dependencies on some platforms, and ncurses just bumped
its shlib.
Some packages were bumped twice now, sorry for that.
2015-08-18 07:31:00 +00:00

35 lines
1.1 KiB
Makefile

# $NetBSD: buildlink3.mk,v 1.7 2015/08/18 07:31:00 wiz Exp $
BUILDLINK_TREE+= pdcurses
.if !defined(PDCURSES_BUILDLINK3_MK)
PDCURSES_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.pdcurses+= pdcurses>=3.3
BUILDLINK_ABI_DEPENDS.pdcurses?= pdcurses>=3.3nb2
BUILDLINK_PKGSRCDIR.pdcurses?= ../../devel/pdcurses
BUILDLINK_LIBNAME.pdcurses= XCurses
BUILDLINK_LDADD.pdcurses?= ${BUILDLINK_LIBNAME.pdcurses:S/^/-l/:S/^-l$//}
# _PKG_USE_CURSES is defined by curses.buildlink3.mk to indicate that
# the headers and libraries should be usable as <curses.h> and -lcurses.
#
. if defined(_PKG_USE_CURSES)
BUILDLINK_INCDIRS.pdcurses+= include/xcurses
BUILDLINK_TRANSFORM+= l:curses:XCurses
. endif
.include "../../mk/xaw.buildlink3.mk"
.include "../../x11/libICE/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXp/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.endif # PDCURSES_BUILDLINK3_MK
BUILDLINK_TREE+= -pdcurses