1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

sysutils/tss: document ncurses requirement (USES+=ncurses)

All link with libncurses rather than libcurses

approved by:	infrastructure blanket
This commit is contained in:
John Marino 2016-02-04 17:20:59 +00:00
parent f727c78179
commit cb8c760d62
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408057
2 changed files with 5 additions and 6 deletions

View File

@ -9,6 +9,7 @@ MASTER_SITES= http://www.pulia.nu/tss/src/
MAINTAINER= peter@pean.org
COMMENT= Terminal ScreenSaver that allows you to lock you terminal
USES= ncurses
OPTIONS_DEFINE= DOCS
post-patch:

View File

@ -1,6 +1,6 @@
--- ./Makefile.orig Fri Sep 22 04:48:22 2006
+++ ./Makefile Wed Nov 1 19:01:16 2006
@@ -2,14 +2,15 @@
--- Makefile.orig 2006-09-22 07:48:22 UTC
+++ Makefile
@@ -2,14 +2,13 @@
EXECUTABLE = tss
SRC = src/main.c
@ -8,15 +8,13 @@
-COMPILE= $(CC) $(CFLAGS)
-CC = gcc
+CFLAGS += -Wall -ansi -pedantic -s -DBSD $(CPPFLAGS)
+LDFLAGS += -lcurses -lcrypt
+COMPILE = $(CC) $(CFLAGS)
+CC ?= gcc
all: $(EXECUTABLE)
$(EXECUTABLE): $(SRC)
- $(CC) $(CFLAGS) -o $(EXECUTABLE) $(SRC)
+ $(CC) $(CFLAGS) -o $(EXECUTABLE) $(SRC) $(LDFLAGS)
+ $(CC) $(CFLAGS) -o $(EXECUTABLE) $(SRC) $(LDFLAGS) -lncurses -lcrypt
%.o: %.c
$(COMPILE) -o $@ $<