summaryrefslogtreecommitdiff
path: root/mbone/mdp
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2002-08-13 08:33:09 +0000
committeragc <agc@pkgsrc.org>2002-08-13 08:33:09 +0000
commitf216abd5d3b6d3d51e3e30c86228851394f91516 (patch)
treea98cc1309b3eec34f8df51c8dc8011aeaa54ae83 /mbone/mdp
parentb888dd551d7af268ddb93832b52b7cc7f003a1b4 (diff)
downloadpkgsrc-f216abd5d3b6d3d51e3e30c86228851394f91516.tar.gz
Make this package compile on 1.6.
Diffstat (limited to 'mbone/mdp')
-rw-r--r--mbone/mdp/distinfo3
-rw-r--r--mbone/mdp/patches/patch-ab47
2 files changed, 49 insertions, 1 deletions
diff --git a/mbone/mdp/distinfo b/mbone/mdp/distinfo
index 231dafb3e9c..9c657d9b239 100644
--- a/mbone/mdp/distinfo
+++ b/mbone/mdp/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/07/26 12:17:04 manu Exp $
+$NetBSD: distinfo,v 1.2 2002/08/13 08:33:09 agc Exp $
SHA1 (src-mdp-1.9a5.tgz) = 62d688cc7f570d4492d6e0839026b6a72a5c7163
Size (src-mdp-1.9a5.tgz) = 439296 bytes
SHA1 (src-protolib-1.0a3d.tgz) = 4532de7a4bce6e7190ab3afa5dbf82f31f1775a8
Size (src-protolib-1.0a3d.tgz) = 59402 bytes
SHA1 (patch-aa) = 0cadf302bbf20bb4a283500c6589a1fbbd455dd7
+SHA1 (patch-ab) = 27624d9968821d3533c383e151f5e8c8f2ec133d
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
+