graphics/duhdraw: USES+= ncurses and respect LDFLAGS
This commit is contained in:
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
|
@ -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
|
||||
|
|
16
graphics/duhdraw/files/patch-Makefile
Normal file
16
graphics/duhdraw/files/patch-Makefile
Normal 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
|
Loading…
Reference in a new issue