summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2003-05-28 09:22:58 +0000
committeragc <agc@pkgsrc.org>2003-05-28 09:22:58 +0000
commit59e07e5ea000f8edbaa8b2fd3bc57ee2ef235969 (patch)
tree688356988d63011927d51d9f8c1fc5b62aee1cf4
parent4377c2ce9e81caaf0f22c8148ac55cdd594150ad (diff)
downloadpkgsrc-59e07e5ea000f8edbaa8b2fd3bc57ee2ef235969.tar.gz
Add in the run-time path on NetBSD.
-rw-r--r--sysutils/mbmon/distinfo3
-rw-r--r--sysutils/mbmon/patches/patch-aa31
2 files changed, 33 insertions, 1 deletions
diff --git a/sysutils/mbmon/distinfo b/sysutils/mbmon/distinfo
index 31128d5f2ba..0e7239592a5 100644
--- a/sysutils/mbmon/distinfo
+++ b/sysutils/mbmon/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/05/28 07:22:54 agc Exp $
+$NetBSD: distinfo,v 1.2 2003/05/28 09:22:58 agc Exp $
SHA1 (xmbmon201.tar.gz) = 96a8a4724ce8d26215956f943c76eba234de3741
Size (xmbmon201.tar.gz) = 95967 bytes
@@ -6,3 +6,4 @@ SHA1 (xmbmon201.netbsd.patch.gz) = f040e5c388ca513b7d2c07b7561ced034dd2a809
Size (xmbmon201.netbsd.patch.gz) = 2520 bytes
SHA1 (xmbmon201pl1.diff) = 1f554bc778dc962b9db43f3972441e8781f8ecb9
Size (xmbmon201pl1.diff) = 993 bytes
+SHA1 (patch-aa) = 961134dea1c915d9436fff1cef48bbb2e40b5897
diff --git a/sysutils/mbmon/patches/patch-aa b/sysutils/mbmon/patches/patch-aa
new file mode 100644
index 00000000000..339ed870228
--- /dev/null
+++ b/sysutils/mbmon/patches/patch-aa
@@ -0,0 +1,31 @@
+--- Makefile.NetBSD 2003/05/28 09:15:46 1.1
++++ Makefile.NetBSD 2003/05/28 09:17:27
+@@ -14,14 +14,14 @@
+
+ DEFS=-DHAVE_CONFIG_H -Wall -DNETBSD
+
+-LIBDIR=/usr/X11R6/lib
++LIBDIR=${X11BASE}/lib
+ INCDIR=.
+-XINCDIR=/usr/X11R6/include
++XINCDIR=${X11BASE}/include
+ XLIB=-lXaw -lXmu
+ EXTENSIONLIB=-lXext
+ INCLUDES=-I$(INCDIR)
+ XINCLUDES=-I$(XINCDIR)
+-LIBS=-L$(LIBDIR) -lXaw $(XLIB) -lXt $(EXTENSIONLIB) -lX11 -lm
++LIBS=-Wl,-R${LIBDIR} -L$(LIBDIR) -lXaw $(XLIB) -lXt $(EXTENSIONLIB) -lX11 -lm
+ NETBSDLIBS=-li386
+
+ #CC=/compat/linux/usr/bin/gcc
+@@ -37,8 +37,8 @@
+ INSTALL=install
+
+ INST_DIR=/usr/local/bin
+-INST_XDIR=/usr/X11R6/bin
+-INST_XRDIR=/usr/X11R6/lib/X11/app-defaults
++INST_XDIR=${X11BASE}/bin
++INST_XRDIR=${X11BASE}/lib/X11/app-defaults
+
+ .c.o:
+ $(CC) -c $(CFLAGS) $*.c