aboutsummaryrefslogtreecommitdiff
path: root/databases/sqlcached
diff options
context:
space:
mode:
Diffstat (limited to 'databases/sqlcached')
-rw-r--r--databases/sqlcached/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/databases/sqlcached/Makefile b/databases/sqlcached/Makefile
index daa76b7a7234..297e13c62dd8 100644
--- a/databases/sqlcached/Makefile
+++ b/databases/sqlcached/Makefile
@@ -12,7 +12,7 @@ COMMENT= Cache daemon using SQL for data manipulation
LIB_DEPENDS= libsqlite.so:${PORTSDIR}/databases/sqlite2
-USES= readline tar:tgz
+USES= readline ncurses tar:tgz
LDFLAGS+= -L${LOCALBASE}/lib
@@ -24,6 +24,7 @@ PLIST_FILES= bin/${PORTNAME} etc/rc.d/${PORTNAME} \
man/man1/${PORTNAME}.1.gz
post-patch:
+ @${REINPLACE_CMD} -e 's|-lcurses|-lncurses|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} 's|/usr/local|${PREFIX}|' \
${WRKSRC}/FreeBSD/${PORTNAME}