From c5f0887beec5b65b170d7d27764ae9a40f59e9a9 Mon Sep 17 00:00:00 2001 From: John Marino Date: Sun, 31 Jan 2016 09:38:17 +0000 Subject: [PATCH] games/tomenet: link to libncurses instead of libcurses Libcurses is just symlinked to libncurses on FreeBSD base, but it doesn't exist in ports ncurses. Approved by: infrastructure blanket (related to ncurses work) --- games/tomenet/files/patch-makefile | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/games/tomenet/files/patch-makefile b/games/tomenet/files/patch-makefile index ca184a625d1f..620e59d85f5d 100644 --- a/games/tomenet/files/patch-makefile +++ b/games/tomenet/files/patch-makefile @@ -1,6 +1,6 @@ ---- makefile.orig 2015-02-01 11:19:25.000000000 +0100 -+++ makefile 2015-04-08 15:13:59.866757474 +0200 -@@ -203,7 +203,7 @@ +--- makefile.orig 2015-02-01 10:19:25 UTC ++++ makefile +@@ -203,7 +203,7 @@ CLI_LUAOBJS = \ # # This is my compiler of choice, it seems to work most everywhere # @@ -9,7 +9,7 @@ # For allowing #if..#else..#endif constructs in LUA files - C. Blue # Note: The flags must contain -@@ -256,8 +256,8 @@ +@@ -256,8 +256,8 @@ X11BASE = /usr/X11R6 # attempt to "guess" at many of these flags based on your system. # ## With SDL @@ -20,7 +20,7 @@ ## ## Without SDL #CFLAGS = -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I${X11BASE}/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -@@ -304,8 +304,8 @@ +@@ -304,8 +304,8 @@ LIBS = -L${X11BASE}/lib -L/usr/pkg/lib - #LDFLAGS = -Wl,-rpath,\$$ORIGIN ## ## Without SDL @@ -31,3 +31,12 @@ ## Added by thaler, 6/28/97 +@@ -397,7 +397,7 @@ date: + # + + accedit: account/accedit.o +- $(CC) $(CFLAGS) $(LDFLAGS) -o accedit account/accedit.o -lcurses -lcrypt ++ $(CC) $(CFLAGS) $(LDFLAGS) -o accedit account/accedit.o -lncurses -lcrypt + + + #