graphics/duhdraw: USES+= ncurses and respect LDFLAGS

This commit is contained in:
John Marino 2016-01-31 08:33:44 +00:00
parent c66d842480
commit cab639f13a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=407587
2 changed files with 18 additions and 0 deletions

View file

@ -9,6 +9,8 @@ MASTER_SITES= http://www.cs.helsinki.fi/u/penberg/duhdraw/
MAINTAINER= ports@FreeBSD.org
COMMENT= ANSI graphic drawing program
USES= ncurses
MAKE_ARGS= CC="${CC} ${CFLAGS}"
PLIST_FILES= bin/ansi bin/ansitoc bin/duhdraw

View file

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