summaryrefslogtreecommitdiff
path: root/net/arla/patches/patch-ak
blob: 190c44861b93a6a1c06bb12cdb013ec688457084 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
$NetBSD: patch-ak,v 1.8 2006/08/24 13:25:41 wennmach Exp $

Building afsdir_check exposes a buildlink3 bug. Since we don't
install afsdir_check, the simple work-around is not to build
afsdir_check at all.

Reorder libs: move libroken to the end.


--- arlad/Makefile.in.orig	2006-03-15 14:30:02.000000000 +0100
+++ arlad/Makefile.in	2006-08-15 19:58:21.000000000 +0200
@@ -25,7 +25,7 @@
 
 ARLA_SBIN	= arla-cli
 ARLA_LIBEXEC	= arlad
-NOINST_BIN	= afsdir_check dump_state play_disco
+NOINST_BIN	= dump_state play_disco
 
 MANPAGES	= \
 		AliasDB.5 \
@@ -78,7 +78,7 @@
 
 LIBS_common_post= ../lib/ko/libko.la ../util/libarlautil.la \
 		  ../lib/vers/libvers.la \
-		   @LIB_roken@ $(RXKADLIB) $(KAFS_LIBS) @LIBS@
+		   $(RXKADLIB) $(KAFS_LIBS) @LIBS@ @LIB_roken@
 
 LIBS_arla-cli	= $(LIBS_common) \
 		  $(LIB_sl) @LIB_readline@ \
@@ -245,8 +245,8 @@
 arla-cli:	$(arla-cli_OBJS) $(LIBDEPENDS)
 		$(top_builddir)/libtool --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(arla-cli_OBJS) $(LIBS_arla-cli)
 
-afsdir_check:	$(afsdir_check_OBJS)
-		$(top_builddir)/libtool --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(afsdir_check_OBJS) $(LIBS_afsdir_check)
+#afsdir_check:	$(afsdir_check_OBJS)
+#		$(top_builddir)/libtool --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(afsdir_check_OBJS) $(LIBS_afsdir_check)
 
 dump_state:	$(dump_state_OBJS)
 		$(top_builddir)/libtool --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(dump_state_OBJS) $(LIBS_dump_state)