mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
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
@ -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 New Issue
Block a user