diff options
author | marino <marino@FreeBSD.org> | 2016-09-16 22:06:02 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-09-16 22:06:02 +0800 |
commit | d337536d1e0de05c96bf52de367d0f2935142550 (patch) | |
tree | 239484b075baed8ec3e447361b90970c5a11b87b /security | |
parent | ff8d966c33a33fa8892534a3498822c3895c892b (diff) | |
download | freebsd-ports-gnome-d337536d1e0de05c96bf52de367d0f2935142550.tar.gz freebsd-ports-gnome-d337536d1e0de05c96bf52de367d0f2935142550.tar.zst freebsd-ports-gnome-d337536d1e0de05c96bf52de367d0f2935142550.zip |
security/openscep: Mark IGNORE if SSL_DEFAULT matches libressl
The fix for LibreSSL support is not immediately obvious, so mark the
port IGNOREd until the LibreSSL case is fixed.
Approved by: SSL blanket
Diffstat (limited to 'security')
-rw-r--r-- | security/openscep/Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/security/openscep/Makefile b/security/openscep/Makefile index 3acd82ec6983..a7ffc954f985 100644 --- a/security/openscep/Makefile +++ b/security/openscep/Makefile @@ -12,15 +12,14 @@ COMMENT= Open source scep server CONFLICTS_INSTALL= nss-3.* -USES= gmake libtool -USE_OPENSSL= yes +USES= gmake libtool ssl USE_OPENLDAP= yes USE_APACHE= 22+ GNU_CONFIGURE= yes USE_LDCONFIG= yes -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib +CPPFLAGS+= -I${OPENSSLINC} -I${LOCALBASE}/include +LIBS+= -L${OPENSSLLIB} -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-html-install-dir="${PREFIX}/www/openscep" \ --with-cgi-install-dir="${PREFIX}/www/cgi-bin/openscep" \ --with-openscep-dir="${PREFIX}/etc/openscep" \ @@ -32,6 +31,12 @@ LOCAL_CONF_FILES= openscep.cnf openscep.ldif openscep.schema slapd.conf SUB_FILES= pkg-message SUB_LIST= CONF_DIR="${CONF_DIR}" CONF_FILES="${LOCAL_CONF_FILES}" +.include <bsd.port.pre.mk> + +.if ${SSL_DEFAULT:Mlibressl*} +IGNORE= Detected LibreSSL (unknown ASN1 functions) +.endif + post-patch: @${REINPLACE_CMD} -e '/^subdirs=/ s|libltdl||' ${WRKSRC}/configure @${REINPLACE_CMD} -e '/^SUBDIRS =/ s|libltdl||' ${WRKSRC}/Makefile.in @@ -59,4 +64,4 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/ldap/${f} ${STAGEDIR}${CONF_DIR}/${f}.sample .endfor -.include <bsd.port.mk> +.include <bsd.port.post.mk> |