svn commit: r420682 - in head/misc/nms: . files

John Marino marino at FreeBSD.org
Tue Aug 23 14:32:11 UTC 2016


Author: marino
Date: Tue Aug 23 14:32:09 2016
New Revision: 420682
URL: https://svnweb.freebsd.org/changeset/ports/420682

Log:
  misc/nms: document ncurses, honor CFLAGS and LDFLAGS
  
  Approved by:	just-fix-it + ncurses blanket

Modified:
  head/misc/nms/Makefile
  head/misc/nms/files/patch-Makefile

Modified: head/misc/nms/Makefile
==============================================================================
--- head/misc/nms/Makefile	Tue Aug 23 14:23:05 2016	(r420681)
+++ head/misc/nms/Makefile	Tue Aug 23 14:32:09 2016	(r420682)
@@ -4,6 +4,7 @@
 PORTNAME=	nms
 PORTVERSION=	0.2.1
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	misc
 
@@ -12,7 +13,7 @@ COMMENT=	Recreate decrypting text effect
 
 LICENSE=	GPLv3
 
-USES=		gmake
+USES=		gmake ncurses
 USE_GITHUB=	yes
 GH_ACCOUNT=	bartobri
 GH_PROJECT=	no-more-secrets

Modified: head/misc/nms/files/patch-Makefile
==============================================================================
--- head/misc/nms/files/patch-Makefile	Tue Aug 23 14:23:05 2016	(r420681)
+++ head/misc/nms/files/patch-Makefile	Tue Aug 23 14:32:09 2016	(r420682)
@@ -1,11 +1,15 @@
---- Makefile.orig	2016-04-30 01:05:20 UTC
+--- Makefile.orig	2016-07-14 12:48:22 UTC
 +++ Makefile
-@@ -2,7 +2,7 @@ BIN=bin
+@@ -14,9 +14,9 @@ BIN=bin
  OBJ=obj
  SRC=src
  
 -CC = gcc
+-CFLAGS = -Wextra -Wall
+-LDLIBS = -lncursesw
 +CC ?= gcc
- CFLAGS = -Wextra -Wall
- LDLIBS = -lncurses
++CFLAGS ?= -Wextra -Wall
++LDLIBS = $(LDFLAGS) -lncursesw
+ DARWIN_LDLIBS = -lncurses
  NCURSES_H = /usr/include/ncurses.h
+ 


More information about the svn-ports-all mailing list