summaryrefslogtreecommitdiff
path: root/graphics/ida/files
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ida/files')
-rw-r--r--graphics/ida/files/patch-GNUmakefile13
-rw-r--r--graphics/ida/files/patch-mk::Autoconf.mk11
-rw-r--r--graphics/ida/files/patch-mk::Variables.mk17
3 files changed, 41 insertions, 0 deletions
diff --git a/graphics/ida/files/patch-GNUmakefile b/graphics/ida/files/patch-GNUmakefile
new file mode 100644
index 000000000000..a1462656531f
--- /dev/null
+++ b/graphics/ida/files/patch-GNUmakefile
@@ -0,0 +1,13 @@
+--- GNUmakefile.old Fri Aug 20 18:02:55 2004
++++ GNUmakefile Fri Aug 20 18:03:28 2004
+@@ -11,8 +11,8 @@
+ LDLIBS += -lm
+
+ # for X11 + Motif
+-CFLAGS += -I/usr/X11R6/include
+-LDFLAGS += -L/usr/X11R6/$(LIB)
++CFLAGS += -I$(X11BASE)/include
++LDFLAGS += -L$(X11BASE)/$(LIB)
+ LDLIBS += -lXm -lXpm -lXt -lXext -lX11
+
+ # RegEdit.c is good old K&R ...
diff --git a/graphics/ida/files/patch-mk::Autoconf.mk b/graphics/ida/files/patch-mk::Autoconf.mk
new file mode 100644
index 000000000000..ecf94ea14a10
--- /dev/null
+++ b/graphics/ida/files/patch-mk::Autoconf.mk
@@ -0,0 +1,11 @@
+--- mk/Autoconf.mk.old Fri Aug 20 21:07:52 2004
++++ mk/Autoconf.mk Fri Aug 20 21:08:23 2004
+@@ -107,7 +107,7 @@
+ ac_resdir = $(shell \
+ $(call ac_init,for X11 app-defaults prefix);\
+ $(call ac_s_cmd, test -d /etc/X11/app-defaults &&\
+- echo "/etc/X11" || echo "/usr/X11R6/lib/X11");\
++ echo "/etc/X11" || echo "$(PREFIX)/lib/X11");\
+ $(call ac_fini))
+
+
diff --git a/graphics/ida/files/patch-mk::Variables.mk b/graphics/ida/files/patch-mk::Variables.mk
new file mode 100644
index 000000000000..bcfb6bda998b
--- /dev/null
+++ b/graphics/ida/files/patch-mk::Variables.mk
@@ -0,0 +1,17 @@
+--- mk/Variables.mk.orig Sun Feb 22 14:27:19 2004
++++ mk/Variables.mk Fri Aug 20 19:15:12 2004
+@@ -4,10 +4,10 @@
+ # directories
+ DESTDIR =
+ srcdir ?= .
+-prefix ?= /usr/local
+-bindir = $(DESTDIR)$(prefix)/bin
+-mandir = $(DESTDIR)$(prefix)/share/man
+-locdir = $(DESTDIR)$(prefix)/share/locale
++prefix ?= $(PREFIX)
++bindir = $(DESTDIR)$(PREFIX)/bin
++mandir = $(DESTDIR)$(PREFIX)/man
++locdir = $(DESTDIR)$(PREFIX)/share/locale
+
+ # package + version
+ empty :=