svn commit: r353297 - head/security/openvpn-auth-ldap
Baptiste Daroussin
bapt at FreeBSD.org
Thu May 8 13:35:05 UTC 2014
Author: bapt
Date: Thu May 8 13:35:05 2014
New Revision: 353297
URL: http://svnweb.freebsd.org/changeset/ports/353297
QAT: https://qat.redports.org/buildarchive/r353297/
Log:
Convert to USES=objc and drop hard coded gcc 4.6 dep
Modified:
head/security/openvpn-auth-ldap/Makefile
Modified: head/security/openvpn-auth-ldap/Makefile
==============================================================================
--- head/security/openvpn-auth-ldap/Makefile Thu May 8 13:32:12 2014 (r353296)
+++ head/security/openvpn-auth-ldap/Makefile Thu May 8 13:35:05 2014 (r353297)
@@ -11,6 +11,8 @@ DISTNAME= auth-ldap-${PORTVERSION}
MAINTAINER= snb at FreeBSD.org
COMMENT= LDAP authentication plugin for OpenVPN
+USES= objc
+
BUILD_DEPENDS= re2c:${PORTSDIR}/devel/re2c \
${NONEXISTENT}:${PORTSDIR}/security/openvpn:extract
@@ -24,17 +26,12 @@ CONFIGURE_ARGS+= --with-openldap=${LOCAL
PORTDOCS= README
PORTEXAMPLES= auth-ldap.conf
PLIST_FILES= lib/openvpn-auth-ldap.so
+OBJCFLAGS+= -L/usr/local/lib
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
-.if ${OSVERSION} >= 900000
-# Use GCC from ports because Objective-C support is no longer included
-# in base. lang/libobjc2 + clang currently do not work, nor do newer
-# versions of GCC.
-USE_GCC= 4.6
CONFIGURE_ENV+= OBJC="${CC}"
-.endif
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/openvpn-auth-ldap.so
More information about the svn-ports-all
mailing list