Fixup fromcvs/togit conversion
[pkgsrcv2.git] / benchmarks / thrulay / patches / patch-ab
1 $NetBSD: patch-ab,v 1.1 2009/07/08 14:44:00 joerg Exp $
2
3 --- src/Makefile.in.orig        2009-07-08 16:31:17.000000000 +0200
4 +++ src/Makefile.in
5 @@ -25,7 +25,7 @@ DEFS          = @DEFS@
6  CFLAGS         = $(DEFS) @CFLAGS@ -I.. \
7                   -std=gnu99 -Wno-long-long -Wall -pedantic -W \
8                   -Wpointer-arith -Wnested-externs
9 -LIBS           = @LIBS@
10 +LIBS           = @LDFLAGS@ @LIBS@
11  INDENT         = indent
12  
13  all:   $(CLIENT) $(SERVER)
14 @@ -43,8 +43,8 @@ distclean: clean
15         rm -f Makefile
16  
17  install:
18 -       $(INSTALL) -c -m 0755 -s $(CLIENT) $(bindir)/$(CLIENT)
19 -       $(INSTALL) -c -m 0755 -s $(SERVER) $(sbindir)/$(SERVER)
20 +       $(INSTALL) -c -m 0755 -s $(CLIENT) ${DESTDIR}$(bindir)/$(CLIENT)
21 +       $(INSTALL) -c -m 0755 -s $(SERVER) ${DESTDIR}$(sbindir)/$(SERVER)
22  
23  uninstall:
24         rm -f $(bindir)/$(CLIENT)