diff options
author | John Marino <marino@FreeBSD.org> | 2016-02-13 13:15:33 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2016-02-13 13:15:33 +0000 |
commit | f840c14f2558f5ee009339636529ea31fbdbbf3d (patch) | |
tree | fae44ccbbc93e05c70712bf67c0734e45d9167d5 /misc/iselect | |
parent | 0665333dd244405bd3cac00fa0bb9b8673c583d4 (diff) | |
download | ports-f840c14f2558f5ee009339636529ea31fbdbbf3d.tar.gz ports-f840c14f2558f5ee009339636529ea31fbdbbf3d.zip |
Notes
Diffstat (limited to 'misc/iselect')
-rw-r--r-- | misc/iselect/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/misc/iselect/Makefile b/misc/iselect/Makefile index 1c5bf41c0faf..16fbcecc3dff 100644 --- a/misc/iselect/Makefile +++ b/misc/iselect/Makefile @@ -13,7 +13,7 @@ COMMENT= Interactive Selection Tool LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -USES= shebangfix +USES= ncurses shebangfix SHEBANG_FILES= example/gotourl/gotourl \ example/ilogin/ilogin \ example/melm/melm \ @@ -21,6 +21,7 @@ SHEBANG_FILES= example/gotourl/gotourl \ example/scvs/scvs perl_OLD_CMD= /sw/bin/perl GNU_CONFIGURE= yes +MAKE_ARGS= LDFLAGS="${LDFLAGS}" PLIST_FILES= bin/iselect man/man1/iselect.1.gz PORTEXAMPLES= * @@ -32,7 +33,8 @@ SLANG_CONFIGURE_ON= --with-incdir=${LOCALBASE}/include \ --with-libdir=${LOCALBASE}/lib post-patch: - @${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' \ + -e 's|-lcurses|-lncurses|' ${WRKSRC}/configure do-install: ${INSTALL_PROGRAM} ${WRKSRC}/iselect ${STAGEDIR}${PREFIX}/bin |