summaryrefslogtreecommitdiff
path: root/mbone/mdp/patches
diff options
context:
space:
mode:
authoragc <agc>2002-08-13 08:33:09 +0000
committeragc <agc>2002-08-13 08:33:09 +0000
commit602a1614062b51e053ce37cd9169d1ae0105ea6d (patch)
treea98cc1309b3eec34f8df51c8dc8011aeaa54ae83 /mbone/mdp/patches
parent47034c4f206391aa42b373a55f0d7386f55f9512 (diff)
downloadpkgsrc-602a1614062b51e053ce37cd9169d1ae0105ea6d.tar.gz
Make this package compile on 1.6.
Diffstat (limited to 'mbone/mdp/patches')
-rw-r--r--mbone/mdp/patches/patch-ab47
1 files changed, 47 insertions, 0 deletions
diff --git a/mbone/mdp/patches/patch-ab b/mbone/mdp/patches/patch-ab
new file mode 100644
index 00000000000..e76795456fa
--- /dev/null
+++ b/mbone/mdp/patches/patch-ab
@@ -0,0 +1,47 @@
+$NetBSD: patch-ab,v 1.1 2002/08/13 08:33:10 agc Exp $
+
+--- Makefile.netbsd 2002/08/13 08:19:37 1.1
++++ Makefile.netbsd 2002/08/13 08:21:02
+@@ -10,26 +10,26 @@
+
+ # 1) Where to find the Tcl standard library scripts
+ # (e.g. init.tcl, ...)
+-TCL_SCRIPT_PATH = /usr/local/lib/tcl8.0
++TCL_SCRIPT_PATH = ${PREFIX}/lib/tcl8.0
+
+ # 2) Where to find the Tk standard library scripts
+ # (e.g. button.tcl, entry.tcl, ...)
+-TK_SCRIPT_PATH = /usr/local/lib/tk8.0
++TK_SCRIPT_PATH = ${PREFIX}/lib/tk8.0
+
+ # 3) Where to find Tcl/Tk header files
+ # (e.g. tcl.h, tk.h, ...)
+-TCL_INCL_PATH = -I/usr/local/include
++TCL_INCL_PATH = -I${PREFIX}/include
+
+ # 4) Point to specific libtcl.a and libtk.a to use
+-TCL_LIB = /usr/local/lib/libtcl80.a
+-TK_LIB = /usr/local/lib/libtk80.a
++TCL_LIB = ${PREFIX}/lib/libtcl80.a
++TK_LIB = ${PREFIX}/lib/libtk80.a
+
+
+ # 5) System specific additional libraries, include paths, etc
+ # (Where to find X11 libraries, etc)
+ #
+-SYSTEM_INCLUDES = -I/usr/X11R6/include
+-SYSTEM_LDFLAGS = -L/usr/X11R6/lib
++SYSTEM_INCLUDES = -I${X11BASE}/include
++SYSTEM_LDFLAGS = -L${X11BASE}/lib -Wl,-R${X11BASE}/lib
+ SYSTEM_LIBS =
+
+ # 6) System specific capabilities
+@@ -62,7 +62,7 @@
+ # (We export these for other Makefiles as needed)
+ #
+
+-export SYSTEM_HAVES = -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD $(DNETSEC)
++export SYSTEM_HAVES = -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD $(DNETSEC) -D__socklen_t_defined=1
+
+ export CC = gcc
+