freebsd-ports/net/drawterm/files/patch-Make.pthread
Michael Scheidell 937be9d99c Add port net/drawterm: a program that users of non-Plan 9 systems can use to establish graphical cpu(1) connections with
Plan 9 CPU servers

PR:		ports/163886
Submitted by:	Winston Weinert <winstonw@lavabit.com> (maintainer)
Approved by:	gabor (mentor, implicit)
Feature safe:	Yes
2012-02-16 02:32:15 +00:00

22 lines
666 B
Text

--- Make.pthread.orig 2009-08-26 00:44:41.000000000 -0500
+++ Make.pthread 2012-02-15 14:04:26.020899861 -0600
@@ -4,14 +4,14 @@
AR=ar
AS=no-as-here
RANLIB=ranlib
-X11=/usr/X11R6
-CC=gcc
-CFLAGS=-Wall -Wno-missing-braces -ggdb -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -I$(X11)/include -D_THREAD_SAFE $(PTHREAD) -O2
+X11=$(LOCALBASE)
+CC?=cc
+CFLAGS=-Wall -Wno-missing-braces -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -I$(X11)/include -D_THREAD_SAFE $(PTHREAD)
O=o
OS=posix
GUI=x11
-LDADD=-L$(X11)/lib64 -L$(X11)/lib -lX11 -ggdb
-LDFLAGS=$(PTHREAD)
+LDADD=-L$(X11)/lib64 -L$(X11)/lib -lX11
+LDFLAGS+=$(PTHREAD)
TARG=drawterm
# AUDIO=none
AUDIO=unix