1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

editors/tetradraw: USES+= ncurses, respect LDFLAGS

This commit is contained in:
John Marino 2016-01-31 12:29:31 +00:00
parent 148e920b75
commit 2d239fade9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=407619
2 changed files with 15 additions and 4 deletions

View File

@ -13,12 +13,9 @@ COMMENT= Fully featured ANSI art editor/viewer with TCP/IP multidraw support
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= ncurses
GNU_CONFIGURE= yes
PLIST_FILES= bin/tetradraw bin/tetraview
post-patch:
@${REINPLACE_CMD} -e \
's|^CFLAGS =.*$$|CFLAGS = @CFLAGS@|g' ${WRKSRC}/src/Makefile.in
.include <bsd.port.mk>

View File

@ -0,0 +1,14 @@
--- src/Makefile.in.orig 2001-08-29 01:46:58 UTC
+++ src/Makefile.in
@@ -87,9 +87,9 @@ AUTOMAKE_OPTIONS = 1.4
MAINTAINERCLEANFILES = Makefile.in
EXTRA_DIST = art/* *.h
-LDFLAGS = -L$(top_srcdir)/src
+LDFLAGS = @LDFLAGS@ -L$(top_srcdir)/src
INCLUDES = -I$(top_srcdir) -I.
-CFLAGS = -Wall -ggdb3
+CFLAGS = @CFLAGS@
bin_PROGRAMS = tetradraw tetraview