svn commit: r407587 - in head/graphics/duhdraw: . files

John Marino marino at FreeBSD.org
Sun Jan 31 08:33:45 UTC 2016


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 at 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	


More information about the svn-ports-all mailing list