diff options
Diffstat (limited to 'devel/cdk')
-rw-r--r-- | devel/cdk/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/cdk/Makefile b/devel/cdk/Makefile index 3db21d690304..f39d5080e6b0 100644 --- a/devel/cdk/Makefile +++ b/devel/cdk/Makefile @@ -25,7 +25,11 @@ GNU_CONFIGURE= yes TERMINFO= ${LOCALBASE}/share/misc/terminfo CPPFLAGS= -I${LOCALBASE}/include -I${LOCALBASE}/include/ncurses LIBS+= -L${LOCALBASE}/lib -lncurses -CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LIBS="${LIBS}" TERMINFO="${TERMINFO}" +LDFLAGS+= -Wl,-rpath,${LOCALBASE}/lib +CONFIGURE_ENV+= TERMINFO="${TERMINFO}"\ + CPPFLAGS="${CPPFLAGS}"\ + LIBS="${LIBS}"\ + LDFLAGS="${LDFLAGS}" LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses .endif # exists(${LOCALBASE}/include/ncurses/ncurses.h) |