Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 2016 12:29:31 +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: r407619 - in head/editors/tetradraw: . files
Message-ID:  <201601311229.u0VCTV3o043364@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Jan 31 12:29:31 2016
New Revision: 407619
URL: https://svnweb.freebsd.org/changeset/ports/407619

Log:
  editors/tetradraw: USES+= ncurses, respect LDFLAGS

Added:
  head/editors/tetradraw/files/
  head/editors/tetradraw/files/patch-src_Makefile.in   (contents, props changed)
Modified:
  head/editors/tetradraw/Makefile

Modified: head/editors/tetradraw/Makefile
==============================================================================
--- head/editors/tetradraw/Makefile	Sun Jan 31 12:18:31 2016	(r407618)
+++ head/editors/tetradraw/Makefile	Sun Jan 31 12:29:31 2016	(r407619)
@@ -13,12 +13,9 @@ COMMENT=	Fully featured ANSI art editor/
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+USES=		ncurses
 GNU_CONFIGURE=	yes
 
 PLIST_FILES=	bin/tetradraw bin/tetraview
 
-post-patch:
-	@${REINPLACE_CMD} -e \
-		's|^CFLAGS =.*$$|CFLAGS = @CFLAGS@|g' ${WRKSRC}/src/Makefile.in
-
 .include <bsd.port.mk>

Added: head/editors/tetradraw/files/patch-src_Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/tetradraw/files/patch-src_Makefile.in	Sun Jan 31 12:29:31 2016	(r407619)
@@ -0,0 +1,14 @@
+--- src/Makefile.in.orig	2001-08-29 01:46:58 UTC
++++ src/Makefile.in
+@@ -87,9 +87,9 @@ AUTOMAKE_OPTIONS = 1.4
+ MAINTAINERCLEANFILES = Makefile.in
+ EXTRA_DIST = art/* *.h
+ 
+-LDFLAGS = -L$(top_srcdir)/src
++LDFLAGS = @LDFLAGS@ -L$(top_srcdir)/src
+ INCLUDES = -I$(top_srcdir) -I.
+-CFLAGS = -Wall -ggdb3
++CFLAGS = @CFLAGS@
+ 
+ bin_PROGRAMS = tetradraw tetraview
+ 



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