Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Feb 2016 11:37:25 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408372 - head/math/aamath
Message-ID:  <201602071137.u17BbP6I038575@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Feb  7 11:37:24 2016
New Revision: 408372
URL: https://svnweb.freebsd.org/changeset/ports/408372

Log:
  math/aamath: document ncurses requirement (USES+=ncurses)
  
  Also link with ncurses, not termcap
  
  approved by:	infrastructure blanket

Modified:
  head/math/aamath/Makefile

Modified: head/math/aamath/Makefile
==============================================================================
--- head/math/aamath/Makefile	Sun Feb  7 11:36:17 2016	(r408371)
+++ head/math/aamath/Makefile	Sun Feb  7 11:37:24 2016	(r408372)
@@ -14,14 +14,13 @@ COMMENT=	Renders ASCII art from mathemat
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		readline
-
+USES=		ncurses readline
 WRKSRC=		${WRKDIR}/${PORTNAME}
+CFLAGS+=	-I${LOCALBASE}/include
+MAKE_ARGS=	LIBS="-lreadline -lncurses"
 
 PLIST_FILES=	bin/aamath man/man1/aamath.1.gz
 
-CFLAGS+=	-I${LOCALBASE}/include
-
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602071137.u17BbP6I038575>