summaryrefslogtreecommitdiff
path: root/misc/chipmunk/patches/patch-aa
blob: bace85e0f705c92d64ebd199ff0b8714ea3c17f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-aa,v 1.2 1999/07/13 01:32:23 jlam Exp $

--- Makefile.orig	Sun Sep  1 08:21:16 1996
+++ Makefile	Thu Jul  8 16:34:01 1999
@@ -24,13 +24,13 @@
        $(EXTRA_OBJS)                                            \
        version.o      
 
-LIBS = -lreadline -ltermcap 
+LIBS = -l$(LIBREADLINE) -ltermcap 
 # mention version.o last. This causes
 # the version number to be increased only
 # on succesful compilations.
 
 chipmunk: $(OBJS) version
-	$(CC) $(CFLAGS) $(OBJS) $(LIBS) $(EXTRA_LIBS) -o $@
+	$(CC) $(LDFLAGS) $(OBJS) $(LIBS) $(EXTRA_LIBS) -o $@
 	
 chipmunk.hp: $(OBJS) version
 	$(CC) $(CFLAGS) $(OBJS) $(LIBS) $(EXTRA_LIBS) -o $@