svn commit: r408793 - head/misc/iselect
John Marino
marino at FreeBSD.org
Sat Feb 13 13:15:35 UTC 2016
Author: marino
Date: Sat Feb 13 13:15:33 2016
New Revision: 408793
URL: https://svnweb.freebsd.org/changeset/ports/408793
Log:
misc/iselect: USES+= ncurses, respect LDFLAGS
Also link with ncurses, not curses
Modified:
head/misc/iselect/Makefile
Modified: head/misc/iselect/Makefile
==============================================================================
--- head/misc/iselect/Makefile Sat Feb 13 12:53:19 2016 (r408792)
+++ head/misc/iselect/Makefile Sat Feb 13 13:15:33 2016 (r408793)
@@ -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=${LOCA
--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
More information about the svn-ports-all
mailing list