Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 2016 08:33:44 +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: r407587 - in head/graphics/duhdraw: . files
Message-ID:  <201601310833.u0V8Xi9v073773@repo.freebsd.org>

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

Log:
  graphics/duhdraw: USES+= ncurses and respect LDFLAGS

Added:
  head/graphics/duhdraw/files/
  head/graphics/duhdraw/files/patch-Makefile   (contents, props changed)
Modified:
  head/graphics/duhdraw/Makefile

Modified: head/graphics/duhdraw/Makefile
==============================================================================
--- head/graphics/duhdraw/Makefile	Sun Jan 31 08:28:47 2016	(r407586)
+++ head/graphics/duhdraw/Makefile	Sun Jan 31 08:33:44 2016	(r407587)
@@ -9,6 +9,8 @@ MASTER_SITES=	http://www.cs.helsinki.fi/
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	ANSI graphic drawing program
 
+USES=		ncurses
+
 MAKE_ARGS=	CC="${CC} ${CFLAGS}"
 
 PLIST_FILES=	bin/ansi bin/ansitoc bin/duhdraw

Added: head/graphics/duhdraw/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/duhdraw/files/patch-Makefile	Sun Jan 31 08:33:44 2016	(r407587)
@@ -0,0 +1,16 @@
+--- Makefile.orig	2005-03-02 08:22:46 UTC
++++ Makefile
+@@ -11,11 +11,11 @@ LIBS=-lncurses
+ all:	duhdraw ansitoc ansi
+ 
+ ansi:	cleanansi
+-	$(CC) -o ansi ansi.c ansi-esc.c $(LIBS)
++	$(CC) -o ansi ansi.c ansi-esc.c $(LDFLAGS) $(LIBS)
+ 	$(STRIP) ansi
+ 
+ duhdraw:	cleandd	
+-	$(CC) -o duhdraw duhdraw.c ansi-esc.c $(LIBS) 
++	$(CC) -o duhdraw duhdraw.c ansi-esc.c $(LDFLAGS) $(LIBS) 
+ 	$(STRIP) duhdraw
+ 
+ ansitoc:	cleanansitoc	



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