slackbuilds_ponce/system/vlock/config.mk.diff
2010-05-11 20:02:10 +02:00

36 lines
932 B
Diff

diff -Nur vlock-2.1.orig/config.mk vlock-2.1/config.mk
--- vlock-2.1.orig/config.mk 2007-09-08 13:04:25.000000000 -0500
+++ vlock-2.1/config.mk 2007-12-31 23:00:18.717873325 -0600
@@ -1,5 +1,5 @@
# authentification method (pam or shadow)
-AUTH_METHOD = pam
+AUTH_METHOD = shadow
# use pam for permission checking
USE_PAM = n
# also prompt for the root password in adition to the user's
@@ -9,7 +9,7 @@
# group to install vlock-all and vlock-nosysrq as
# defaults to 'root')
-VLOCK_GROUP =
+VLOCK_GROUP = wheel
# mode to install vlock-all and vlock-nosysrq as
# defaults to 4711 if group is unset and 4710 otherwise
VLOCK_MODE =
@@ -18,14 +18,14 @@
ROOT_GROUP = root
# installation prefix
-PREFIX = /usr/local
+PREFIX = /usr
# installation root
DESTDIR =
# c compiler
CC = gcc
# c compiler flags
-CFLAGS = -O2 -Wall -W -pedantic -std=gnu99
+CFLAGS += -Wall -W -pedantic -std=gnu99
# linker flags
LDFLAGS =