openvpn-auth-ldap: build the C code -fPIC, it is built into auth-ldap.so
which fails on i386. From Brad.
This commit is contained in:
parent
b4e4d1f45b
commit
37c2b72064
@ -1,11 +1,7 @@
|
||||
.if ${MACHINE_ARCH} == "i386"
|
||||
USE_LLD = No
|
||||
.endif
|
||||
|
||||
COMMENT = LDAP authentication plugin for OpenVPN 2.x
|
||||
|
||||
VERSION = 2.0.4
|
||||
REVISION = 0
|
||||
REVISION = 1
|
||||
GH_ACCOUNT = threerings
|
||||
GH_PROJECT = openvpn-auth-ldap
|
||||
GH_TAGNAME = auth-ldap-${VERSION}
|
||||
|
14
net/openvpn-auth-ldap/patches/patch-Mk_autoconf_mk_in
Normal file
14
net/openvpn-auth-ldap/patches/patch-Mk_autoconf_mk_in
Normal file
@ -0,0 +1,14 @@
|
||||
The bit of C code was not being built PIC.
|
||||
|
||||
Index: Mk/autoconf.mk.in
|
||||
--- Mk/autoconf.mk.in.orig
|
||||
+++ Mk/autoconf.mk.in
|
||||
@@ -2,7 +2,7 @@ SHELL = @SHELL@
|
||||
|
||||
CC = @CC@
|
||||
|
||||
-CFLAGS = @CFLAGS@ @DEFS@ -Wall
|
||||
+CFLAGS = -fPIC @CFLAGS@ @DEFS@ -Wall
|
||||
OBJCFLAGS = -fPIC @OBJCFLAGS@ ${OBJC_RUNTIME_FLAGS} ${OBJC_PTHREAD_CFLAGS} -fno-strict-aliasing ${CFLAGS}
|
||||
OBJC_LIBS = -fPIC @OBJC_LIBS@ ${OBJC_PTHREAD_LIBS}
|
||||
|
Loading…
Reference in New Issue
Block a user