aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-02-05 01:20:59 +0800
committermarino <marino@FreeBSD.org>2016-02-05 01:20:59 +0800
commiteb2a928bb946e57db6aaece5594f53265b40a3a7 (patch)
treee3f909e3dcc3e22a1ae1e4874b6dc52bc2a20e14
parent6827dbf471777c1e758203efca14cf6a2c1f04a9 (diff)
downloadfreebsd-ports-gnome-eb2a928bb946e57db6aaece5594f53265b40a3a7.tar.gz
freebsd-ports-gnome-eb2a928bb946e57db6aaece5594f53265b40a3a7.tar.zst
freebsd-ports-gnome-eb2a928bb946e57db6aaece5594f53265b40a3a7.zip
sysutils/tss: document ncurses requirement (USES+=ncurses)
All link with libncurses rather than libcurses approved by: infrastructure blanket
-rw-r--r--sysutils/tss/Makefile1
-rw-r--r--sysutils/tss/files/patch-Makefile10
2 files changed, 5 insertions, 6 deletions
diff --git a/sysutils/tss/Makefile b/sysutils/tss/Makefile
index a7abd75bbb69..e0d1acdd4648 100644
--- a/sysutils/tss/Makefile
+++ b/sysutils/tss/Makefile
@@ -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:
diff --git a/sysutils/tss/files/patch-Makefile b/sysutils/tss/files/patch-Makefile
index 9e08a28dee2e..68a6e3841bd0 100644
--- a/sysutils/tss/files/patch-Makefile
+++ b/sysutils/tss/files/patch-Makefile
@@ -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 $@ $<