summaryrefslogtreecommitdiff
path: root/misc/nxtvepg/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'misc/nxtvepg/patches/patch-ae')
-rw-r--r--misc/nxtvepg/patches/patch-ae41
1 files changed, 18 insertions, 23 deletions
diff --git a/misc/nxtvepg/patches/patch-ae b/misc/nxtvepg/patches/patch-ae
index f5812d3c457..3bab3e9d194 100644
--- a/misc/nxtvepg/patches/patch-ae
+++ b/misc/nxtvepg/patches/patch-ae
@@ -1,27 +1,22 @@
-$NetBSD: patch-ae,v 1.8 2004/03/12 20:32:55 magick Exp $
+$NetBSD: patch-ae,v 1.9 2004/11/27 13:58:30 magick Exp $
---- Makefile.bsd.orig 2003-04-21 00:10:22.000000000 +0200
+--- Makefile.bsd.orig 2003-10-23 20:30:02.000000000 +0200
+++ Makefile.bsd
-@@ -45,17 +45,17 @@ WANT_USER_DBDIR = 1
+@@ -32,7 +32,7 @@
+ X11BASE ?= /usr/X11R6
+ LOCALBASE ?= /usr/local
+ PREFIX ?= $(X11BASE)
+-
++BUILD_DIR = build-netbsd
+ prefix = $(PREFIX)
+ TK_LIBRARY_BASE = $(LOCALBASE)/lib
+ ifeq ($(OS), FreeBSD)
+@@ -125,7 +125,7 @@ WARN = -Wall -Wnested-externs -Wstric
+ #WARN += -Wpointer-arith -Werror
+ # the following flags can be overridden by an environment variable with the same name
+ CFLAGS ?= $(OPTFLAGS)
+-CFLAGS += $(WARN) $(INCS) $(DEFS)
++CFLAGS += $(WARN) $(INCS) $(DEFS) -I$(BUILD_DIR)
+ #LDLIBS += -pg
- # other settings
- # On FreeBSD there is only a modified tclsh with a message to launch
--# tclsh8.3 or tclsh8.4 , so this is hardcoded here
--TCL_VER = 8.3
-+# tclsh8.4 or tclsh8.4 , so this is hardcoded here
-+TCL_VER = 8.4
- LDLIBS = -L$(LOCALBASE)/lib\
- -L$(X11BASE)/lib\
-- -ltk83 -ltcl83 -lX11 -lXmu -lm
-+ -ltk84 -ltcl84 -lX11 -lXmu -lm
- INCS += -I$(LOCALBASE)/include/tcl$(TCL_VER)\
- -I$(LOCALBASE)/include/tk$(TCL_VER)
--WANT_THREADS = 1 # uncomment to force process based implementation
-+#WANT_THREADS = 1 # uncomment to force process based implementation
-
--PTHREAD = -pthread
-+#PTHREAD = -pthread
-
-
- ### Common part for all UN*X variants ###