summaryrefslogtreecommitdiff
path: root/net-mgmt/seafile/files/patch-lib_Makfile.am
blob: 3b9b881e62c8a51ecf7dd87a73b76b374610ab32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- lib/Makefile.am.orig	2014-11-11 10:47:33.631976054 -0500
+++ lib/Makefile.am	2014-11-11 11:40:14.030311321 -0500
@@ -55,7 +55,7 @@
 libseafile_common_la_LDFLAGS = -no-undefined
 libseafile_common_la_LIBADD = @GLIB2_LIBS@  @GOBJECT_LIBS@ -lssl -lcrypto @LIB_GDI32@ \
 				     @LIB_UUID@ @LIB_WS32@ @LIB_PSAPI@ -lsqlite3 \
-					 -levent @SEARPC_LIBS@ @LIB_SHELL32@ \
+					 -levent -lkvm @SEARPC_LIBS@ @LIB_SHELL32@ \
 	@ZLIB_LIBS@
 
 searpc_gen = searpc-signature.h searpc-marshal.h
@@ -72,8 +72,4 @@
 	rm -f $(top_srcdir)/lib/rpc_table.pyc
 
 install-data-local:
-if MACOS
-	sed -i '' -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
-else
-	${SED} -i "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
-endif
+	${SED} -i '' "s|(DESTDIR)|${PREFIX}|g" $(pcfiles)