1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

sysutils/fonteditfs: document ncurses rqmt (USES+=ncurses), respect LDFLAGS

Also link to libncurses, not libcurses

approved by:	infrastructure blanket
This commit is contained in:
John Marino 2016-02-04 14:42:55 +00:00
parent d84101d6dd
commit 9f256c861f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408037
2 changed files with 5 additions and 4 deletions

View File

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

View File

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