summaryrefslogtreecommitdiff
path: root/print/hugeotp2ocp/files/otps.Makefile.patch
blob: 93ce7ecfd2dd53c3b80624beccf056a97466bfd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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)