summaryrefslogtreecommitdiff
path: root/sysutils/mbmon/patches
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 /sysutils/mbmon/patches
parent4377c2ce9e81caaf0f22c8148ac55cdd594150ad (diff)
downloadpkgsrc-59e07e5ea000f8edbaa8b2fd3bc57ee2ef235969.tar.gz
Add in the run-time path on NetBSD.
Diffstat (limited to 'sysutils/mbmon/patches')
-rw-r--r--sysutils/mbmon/patches/patch-aa31
1 files changed, 31 insertions, 0 deletions
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