1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

work around missing deps in src/Makefile[.in]

This commit is contained in:
Matthias Andree 2015-01-19 16:45:47 +00:00
parent 44ebdcf6a8
commit 64325337c3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=377441

View File

@ -28,16 +28,16 @@ OPENVPN_WRKSRC= `cd ${PORTSDIR}/security/openvpn; make -V WRKSRC`
CONFIGURE_ARGS+= --with-openldap=${LOCALBASE} \
--with-openvpn=${OPENVPN_WRKSRC}/include \
--with-objc-runtime=GNU
# this issue would cause run-time trouble, so turn it into an error:
#OBJCFLAGS+= -Werror=objc-method-access
PORTDOCS= README
PORTEXAMPLES= auth-ldap.conf
PLIST_FILES= lib/openvpn-auth-ldap.so
OBJCFLAGS+= -L${LOCALBASE}/lib -I${LOCALBASE}/include -fPIC
CFLAGS+= -fPIC
MAKE_JOBS_UNSAFE=yes # work around missing deps in src/Makefile[.in]
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
CONFIGURE_ENV+= OBJC="${CC}"