summaryrefslogtreecommitdiff
path: root/print/hugeotp2ocp/files/otps.Makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'print/hugeotp2ocp/files/otps.Makefile.patch')
-rw-r--r--print/hugeotp2ocp/files/otps.Makefile.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/print/hugeotp2ocp/files/otps.Makefile.patch b/print/hugeotp2ocp/files/otps.Makefile.patch
new file mode 100644
index 00000000000..93ce7ecfd2d
--- /dev/null
+++ b/print/hugeotp2ocp/files/otps.Makefile.patch
@@ -0,0 +1,22 @@
+$NetBSD: otps.Makefile.patch,v 1.1.1.1 2005/11/17 22:27:05 minskim Exp $
+
+--- Makefile.orig 2005-11-17 12:14:16.000000000 -0800
++++ Makefile
+@@ -73,7 +73,7 @@ LDFLAGS = -L/Users/msk/pkg/lib $(XLDFLAG
+ # proglib is for web2c;
+ # XLOADLIBES is for the installer.
+ LIBS = -lm
+-LOADLIBES = $(proglib) $(kpathsea) $(LIBS) $(XLOADLIBES)
++LOADLIBES = $(proglib) -lkpathsea $(LIBS) $(XLOADLIBES)
+
+ # May as well separate linking from compiling, just in case.
+ CCLD = $(CC)
+@@ -212,7 +212,7 @@ $(LEX_OUTPUT_ROOT).c: otp.l
+ outocp: outocp.o
+ $(kpathsea_link) outocp.o $(LOADLIBES)
+
+-$(programs): $(proglib) $(kpathsea)
++$(programs): $(proglib)
+
+ install-programs: $(programs)
+ $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)