aboutsummaryrefslogtreecommitdiff
path: root/comms/aldo/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/aldo/files/patch-Makefile')
-rw-r--r--comms/aldo/files/patch-Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/comms/aldo/files/patch-Makefile b/comms/aldo/files/patch-Makefile
new file mode 100644
index 000000000000..06ec482e7138
--- /dev/null
+++ b/comms/aldo/files/patch-Makefile
@@ -0,0 +1,21 @@
+--- Makefile.old Tue Mar 16 21:13:21 2004
++++ Makefile Tue Mar 16 21:14:20 2004
+@@ -3,6 +3,8 @@
+ includedir = $(CURDIR)/include
+ CXXFLAGS+= -I$(includedir)
+
++PREFIX ?= /usr
++
+ export MARCH CXXFLAGS
+
+ VPATH = src $(SUBDIRS)
+@@ -65,7 +67,7 @@
+
+ install: libs aldo uninstall
+ @strip aldo
+- @install -m555 -oroot aldo /usr/bin/
++ @install -m555 -oroot aldo $(PREFIX)/bin/
+
+ uninstall:
+- @$(RM) /usr/bin/aldo
++ @$(RM) $(PREFIX)/bin/aldo