aboutsummaryrefslogtreecommitdiff
path: root/sysutils/xmbmon/files/patch-aa
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-09-03 17:37:52 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-09-03 17:37:52 +0000
commitde620ad21b01172653877098e93e1e8bb1345d5e (patch)
treea6737915e976795e9cc8e506bf2a24c48bb6545c /sysutils/xmbmon/files/patch-aa
parent7ab6aae6ba7585d0b61828df1bdb314b74f918bb (diff)
downloadports-de620ad21b01172653877098e93e1e8bb1345d5e.tar.gz
ports-de620ad21b01172653877098e93e1e8bb1345d5e.zip
Notes
Diffstat (limited to 'sysutils/xmbmon/files/patch-aa')
-rw-r--r--sysutils/xmbmon/files/patch-aa41
1 files changed, 41 insertions, 0 deletions
diff --git a/sysutils/xmbmon/files/patch-aa b/sysutils/xmbmon/files/patch-aa
new file mode 100644
index 000000000000..d2d6430fcbfe
--- /dev/null
+++ b/sysutils/xmbmon/files/patch-aa
@@ -0,0 +1,41 @@
+--- Makefile.in.orig Tue Aug 28 05:43:05 2001
++++ Makefile.in Tue Sep 4 02:18:09 2001
+@@ -12,9 +12,10 @@
+
+ DEFS=-DHAVE_CONFIG_H
+
+-LIBDIR=/usr/X11R6/lib
++X11BASE?=/usr/X11R6
++LIBDIR=$(X11BASE)/lib
+ INCDIR=.
+-XINCDIR=/usr/X11R6/include
++XINCDIR=$(X11BASE)/include
+ XLIB=-lXaw -lXmu
+ EXTENSIONLIB=-lXext
+ INCLUDES=-I$(INCDIR)
+@@ -22,9 +23,9 @@
+ LIBS=-L$(LIBDIR) -lXaw $(XLIB) -lXt $(EXTENSIONLIB) -lX11 -lm
+
+ #CC=/compat/linux/usr/bin/gcc
+-CC=gcc
+-CFLAGS=-O3 $(INCLUDES) $(DEFS)
+-CFLAGSX=-O3 $(XINCLUDES) $(DEFS)
++CC?=gcc
++CFLAGS+= $(INCLUDES) $(DEFS)
++CFLAGSX= $(XINCLUDES) $(CFLAGS)
+ LDFLAGS=-s
+
+ LINT=lint
+@@ -33,9 +34,9 @@
+ RM=rm -f
+ INSTALL=install
+
+-INST_DIR=/usr/local/bin
+-INST_XDIR=/usr/X11R6/bin
+-INST_XRDIR=/usr/X11R6/lib/X11/app-defaults
++INST_DIR=$(X11BASE)/bin
++INST_XDIR=$(X11BASE)/bin
++INST_XRDIR=$(X11BASE)/lib/X11/app-defaults
+
+ .c.o:
+ $(CC) -c $(CFLAGS) $*.c