diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ncurses/buildlink3.mk | 5 | ||||
-rw-r--r-- | devel/pdcurses/buildlink3.mk | 7 |
2 files changed, 7 insertions, 5 deletions
diff --git a/devel/ncurses/buildlink3.mk b/devel/ncurses/buildlink3.mk index 0b80496084f..ba66ad0c8c6 100644 --- a/devel/ncurses/buildlink3.mk +++ b/devel/ncurses/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.31 2008/02/27 06:10:25 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.32 2008/02/27 21:32:45 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ NCURSES_BUILDLINK3_MK:= ${NCURSES_BUILDLINK3_MK}+ @@ -15,8 +15,9 @@ BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ncurses BUILDLINK_API_DEPENDS.ncurses+= ncurses>=5.3nb1 BUILDLINK_ABI_DEPENDS.ncurses+= ncurses>=5.4nb1 BUILDLINK_PKGSRCDIR.ncurses?= ../../devel/ncurses + BUILDLINK_LIBNAME.ncurses= ncurses -BUILDLINK_LDADD.ncurses?= ${BUILDLINK_LIBNAME.ncurses:S/^/-l/} +BUILDLINK_LDADD.ncurses?= ${BUILDLINK_LIBNAME.ncurses:S/^/-l/:S/^-l$//} # Many packages expect the ncurses headers and libraries to be usable as # <curses.h> and -lcurses. diff --git a/devel/pdcurses/buildlink3.mk b/devel/pdcurses/buildlink3.mk index 177d05bc5e5..42042b44d5b 100644 --- a/devel/pdcurses/buildlink3.mk +++ b/devel/pdcurses/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.4 2008/02/27 06:10:25 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.5 2008/02/27 21:32:45 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ PDCURSES_BUILDLINK3_MK:= ${PDCURSES_BUILDLINK3_MK}+ @@ -14,8 +14,9 @@ BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pdcurses .if !empty(PDCURSES_BUILDLINK3_MK:M+) BUILDLINK_API_DEPENDS.pdcurses+= pdcurses>=3.3 BUILDLINK_PKGSRCDIR.pdcurses?= ../../devel/pdcurses -BUILDLINK_LIBNAME.pdcurses= XCurses -BUILDLINK_LDADD.pdcurses?= ${BUILDLINK_LIBNAME.pdcurses:S/^/-l/} + +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. |