- Fix build with clang

- Remove MD5 checksum
This commit is contained in:
Ganael LAPLANCHE 2011-06-23 08:31:52 +00:00
parent a17f9a3433
commit 0e878570e4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=276105
3 changed files with 18 additions and 11 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= vlock
PORTVERSION= 2.2.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://cthulhu.c3d2.de/~toidinamai/vlock/archive/
@ -27,6 +27,7 @@ CONFIGURE_ARGS= --enable-plugins --enable-pam \
VLOCK_MODE="0750" \
EXTRA_CFLAGS="-I${LOCALBASE}/include" \
EXTRA_LDFLAGS="-L${LOCALBASE}/lib"
USE_CSTD= gnu99
OPTIONS= ROOTPWD "Enable unlock using root password" on \
VLOCKSCRIPTS "Install sample hook scripts" off \

View file

@ -1,3 +1,2 @@
MD5 (vlock-2.2.2.tar.gz) = 51c389ee4ef814bf59063bc367437eb8
SHA256 (vlock-2.2.2.tar.gz) = ea875250cad150872583b6ed2436470bc5e9c3a580d85554e31a2d5ae1d92fad
SIZE (vlock-2.2.2.tar.gz) = 54732

View file

@ -1,12 +1,19 @@
--- configure.orig 2008-05-24 08:37:25.515872840 +0200
+++ configure 2008-05-24 08:38:44.943843155 +0200
@@ -220,7 +220,8 @@
--- configure.orig 2008-05-18 11:10:54.000000000 +0200
+++ configure 2011-06-23 08:20:00.811018722 +0200
@@ -219,12 +219,12 @@
SCRIPTDIR="\$(LIBDIR)/vlock/scripts"
MODULEDIR="\$(LIBDIR)/vlock/modules"
CC=gcc
- DEFAULT_CFLAGS="-O2 -Wall -W -pedantic -std=gnu99"
+ #DEFAULT_CFLAGS="-O2 -Wall -W -pedantic -std=gnu99"
+ DEFAULT_CFLAGS="-pedantic -std=gnu99"
- CC=gcc
+ #CC=gcc
DEFAULT_CFLAGS="-O2 -Wall -W -pedantic -std=gnu99"
DEBUG_CFLAGS="-O0 -g -Wall -W -pedantic -std=gnu99"
CFLAGS="${DEFAULT_CFLAGS}"
LD=ld
- CFLAGS="${DEFAULT_CFLAGS}"
- LD=ld
- LDFLAGS=""
+ #CFLAGS="${DEFAULT_CFLAGS}"
+ #LD=ld
+ #LDFLAGS=""
AUTH_METHOD="pam"
ENABLE_ROOT_PASSWORD="yes"
ENABLE_PLUGINS="yes"