aboutsummaryrefslogtreecommitdiff
path: root/security/vlock/files/patch-modules-Makefile
blob: a454862036fda1c181727938ba08b0bb0fd71598 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- modules/Makefile.orig	2011-09-18 15:22:35 UTC
+++ modules/Makefile
@@ -15,7 +15,7 @@
 
 #special build rules
 
-caca.so : override LDLIBS += -lcaca -lncurses
+caca.so : override LDLIBS += -lcaca -lm
 
 all.o: all.c ../src/console_switch.h
 
@@ -37,7 +37,7 @@
 .PHONY: install-%.so
 install-%.so: %.so
 	$(MKDIR_P) -m 755 $(DESTDIR)$(MODULEDIR)
-	$(INSTALL) -m $(MODULE_MODE) -o root -g $(MODULE_GROUP) $< $(DESTDIR)$(MODULEDIR)/$<
+	$(BSD_INSTALL_LIB) $< $(DESTDIR)$(MODULEDIR)/$<
 
 .PHONY: clean
 clean: