From owner-svn-ports-head@freebsd.org Tue Aug 23 20:18:15 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 98629BC4ABF; Tue, 23 Aug 2016 20:18:15 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4B1361A30; Tue, 23 Aug 2016 20:18:15 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u7NKIEGc046545; Tue, 23 Aug 2016 20:18:14 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u7NKIEIt046542; Tue, 23 Aug 2016 20:18:14 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201608232018.u7NKIEIt046542@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Tue, 23 Aug 2016 20:18:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r420741 - in head/editors/mg: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2016 20:18:15 -0000 Author: marino Date: Tue Aug 23 20:18:14 2016 New Revision: 420741 URL: https://svnweb.freebsd.org/changeset/ports/420741 Log: editors/mg: document and fix ncurses requirement Approved by: ncurses blanket Added: head/editors/mg/files/patch-GNUmakefile (contents, props changed) head/editors/mg/files/patch-Makefile (contents, props changed) Modified: head/editors/mg/Makefile Modified: head/editors/mg/Makefile ============================================================================== --- head/editors/mg/Makefile Tue Aug 23 19:54:52 2016 (r420740) +++ head/editors/mg/Makefile Tue Aug 23 20:18:14 2016 (r420741) @@ -3,12 +3,14 @@ PORTNAME= mg PORTVERSION= 20160421 +PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= http://homepage.boetes.org/software/mg/ MAINTAINER= darcsis@gmail.com COMMENT= Small, fast Emacs-like editor +USES= ncurses PLIST_FILES= bin/mg man/man1/mg.1.gz PORTDOCS= README tutorial Added: head/editors/mg/files/patch-GNUmakefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/editors/mg/files/patch-GNUmakefile Tue Aug 23 20:18:14 2016 (r420741) @@ -0,0 +1,22 @@ +--- GNUmakefile.orig 2016-01-18 15:01:49 UTC ++++ GNUmakefile +@@ -17,16 +17,10 @@ PKG_CONFIG= /usr/bin/pkg-config + INSTALL= /usr/bin/install + STRIP= /usr/bin/strip + +-UNAME:= $(shell uname) +-ifeq ($(UNAME),FreeBSD) +- BSD_CPPFLAGS:= +- BSD_LIBS:= -lutil +-else +- BSD_CPPFLAGS:=$(shell $(PKG_CONFIG) --cflags libbsd-overlay) +- BSD_LIBS:= $(shell $(PKG_CONFIG) --libs libbsd-overlay) +-endif ++BSD_CPPFLAGS:= ++BSD_LIBS:= -lutil + +-CURSES_LIBS= -lcurses ++CURSES_LIBS= -lncurses + + CC?= gcc + CFLAGS?= -O2 -pipe Added: head/editors/mg/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/editors/mg/files/patch-Makefile Tue Aug 23 20:18:14 2016 (r420741) @@ -0,0 +1,11 @@ +--- Makefile.orig 2016-01-07 18:55:54 UTC ++++ Makefile +@@ -2,7 +2,7 @@ + + PROG= mg + +-LDADD+= -lcurses -lutil ++LDADD+= -lncurses -lutil + DPADD+= ${LIBCURSES} ${LIBUTIL} + + # (Common) compile-time options: