aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-02-04 22:42:55 +0800
committermarino <marino@FreeBSD.org>2016-02-04 22:42:55 +0800
commit807e8b821b081303260e656190212139474ddc14 (patch)
tree34e49d5afbdae1d907d0c68df1bdee08a7aa8618 /sysutils
parent040924ba2affce7b0f28c65bb0f5e43ebd054df3 (diff)
downloadfreebsd-ports-gnome-807e8b821b081303260e656190212139474ddc14.tar.gz
freebsd-ports-gnome-807e8b821b081303260e656190212139474ddc14.tar.zst
freebsd-ports-gnome-807e8b821b081303260e656190212139474ddc14.zip
sysutils/fonteditfs: document ncurses rqmt (USES+=ncurses), respect LDFLAGS
Also link to libncurses, not libcurses approved by: infrastructure blanket
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/fonteditfs/Makefile1
-rw-r--r--sysutils/fonteditfs/files/patch-Makefile8
2 files changed, 5 insertions, 4 deletions
diff --git a/sysutils/fonteditfs/Makefile b/sysutils/fonteditfs/Makefile
index abf289b111ba..b8946ff49ab6 100644
--- a/sysutils/fonteditfs/Makefile
+++ b/sysutils/fonteditfs/Makefile
@@ -11,6 +11,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= uri@keves.org
COMMENT= Full screen syscons font editor
+USES= ncurses
PLIST_FILES= bin/fnteditfs man/man1/fnteditfs.1.gz
post-patch:
diff --git a/sysutils/fonteditfs/files/patch-Makefile b/sysutils/fonteditfs/files/patch-Makefile
index 1ae7943ad670..d47b46314c58 100644
--- a/sysutils/fonteditfs/files/patch-Makefile
+++ b/sysutils/fonteditfs/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig 2003-09-20 08:17:34.000000000 -0700
-+++ Makefile 2014-01-01 12:27:59.000000000 -0800
+--- Makefile.orig 2003-09-20 15:17:34 UTC
++++ Makefile
@@ -2,14 +2,9 @@
# - TODO: MAKE NEATER ONE
# This makefile should work under most POSIX OSes (at least FreeBSD)
@@ -13,11 +13,11 @@
+all: fnteditfs
fnteditfs: fnteditfs.o font.o stack.o
- gcc -o fnteditfs fnteditfs.o font.o stack.o -lcurses
-+ ${CC} -o fnteditfs fnteditfs.o font.o stack.o -lcurses
++ ${CC} -o fnteditfs fnteditfs.o font.o stack.o ${LDFLAGS} -lncurses
strip fnteditfs
fnteditfs.o: fnteditfs.c font.h stack.h
-@@ -17,8 +12,8 @@
+@@ -17,8 +12,8 @@ font.o: font.c font.h
stack.o: stack.c stack.h
install: fnteditfs fnteditfs.1