diff options
author | marino <marino@FreeBSD.org> | 2016-09-11 05:55:28 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-09-11 05:55:28 +0800 |
commit | 147fb9311aa56d3e5cd1c53e607bec32d26b7e7f (patch) | |
tree | 1839023cf1d28f78ff2e9d5099e5f7742b84594a | |
parent | 6852f539a492f4763067f182b357c6ccd7341583 (diff) | |
download | freebsd-ports-gnome-147fb9311aa56d3e5cd1c53e607bec32d26b7e7f.tar.gz freebsd-ports-gnome-147fb9311aa56d3e5cd1c53e607bec32d26b7e7f.tar.zst freebsd-ports-gnome-147fb9311aa56d3e5cd1c53e607bec32d26b7e7f.zip |
net-im/imspector: configure SSL properly and honor LDFLAGS
Approved by: SSL blanket
-rw-r--r-- | net-im/imspector/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net-im/imspector/Makefile b/net-im/imspector/Makefile index e0cee611780a..3009de226077 100644 --- a/net-im/imspector/Makefile +++ b/net-im/imspector/Makefile @@ -13,15 +13,15 @@ COMMENT= IM transparent proxy with monitoring, blocking, and content-filtering LICENSE= GPLv2 CFLAGS+= -fPIC -I ${LOCALBASE}/include -DHAVE_SSL -USES= iconv gmake -USE_OPENSSL= YES +USES= gmake iconv ssl USE_LDCONFIG= ${LOCALBASE}/lib/imspector CONFIG_FILES= imspector.conf badwords.txt acl.txt USE_RC_SUBR= ${PORTNAME} -MAKE_ENV+= ETCDIR=${ETCDIR} +MAKE_ENV+= ETCDIR=${ETCDIR} \ + SSL_DIR=${OPENSSLBASE} OPTIONS_DEFINE= IPFW PLUGINS OPTIONS_DEFAULT=IPFW @@ -46,6 +46,7 @@ post-patch: @${REINPLACE_CMD} -e 's,= SSLv23_method(),= (SSL_METHOD *) SSLv23_method(),g' \ ${WRKSRC}/sslstate.cpp @${REINPLACE_CMD} -e 's,%%ICONV_LIB%%,${ICONV_LIB},' \ + -e 's,\(LIBS = -lcrypto\),#\1,g' \ ${WRKSRC}/Makefile .if ${PORT_OPTIONS:MPLUGINS} @${REINPLACE_CMD} -e 's,#ADD_PLUGINS,ADD_PLUGINS,' \ |