summaryrefslogtreecommitdiffstats
path: root/archive/zip/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'archive/zip/BUILD')
-rwxr-xr-xarchive/zip/BUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/archive/zip/BUILD b/archive/zip/BUILD
new file mode 100755
index 0000000000..f0ccd7cce6
--- /dev/null
+++ b/archive/zip/BUILD
@@ -0,0 +1,8 @@
+cp unix/Makefile . &&
+sedit "s/-O2/$CFLAGS/" Makefile &&
+sedit "s:/usr/local:/usr:" Makefile &&
+sedit "s:/man/:/share/man/:" Makefile &&
+
+#fix bug in Makefile
+sedit 's:$(INSTALL):$(INSTALL_PROGRAM):' Makefile &&
+make generic