summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-09-12 17:03:03 +0000
committerJohn Marino <marino@FreeBSD.org>2016-09-12 17:03:03 +0000
commitd497bf48e26ed55ab61f5ba5d1ef711bbbfb454b (patch)
tree870b278293339aa48c8915f109dd47f8dd769ca4 /net
parentnet/pecl-apn: Document SSL build and run requirement, set SSL flags (diff)
net/mad_fcl: fix SSL configuration for non-base SSL
Notes
Notes: svn path=/head/; revision=421939
Diffstat (limited to 'net')
-rw-r--r--net/mad_fcl/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/net/mad_fcl/Makefile b/net/mad_fcl/Makefile
index 4408cece2551..fac42835a7b0 100644
--- a/net/mad_fcl/Makefile
+++ b/net/mad_fcl/Makefile
@@ -13,8 +13,7 @@ COMMENT= FLUTE - File Delivery over Unidirectional Transport implementation
LIB_DEPENDS= libexpat.so:textproc/expat2 \
libcurl.so:ftp/curl
-USES= dos2unix gmake
-USE_OPENSSL= yes
+USES= dos2unix gmake ssl
MAKE_ENV= LFLAGS="${LDFLAGS}"
MAKE_JOBS_UNSAFE= yes
@@ -33,7 +32,6 @@ post-patch:
${REINPLACE_CMD} -e '/CC/s| =| ?=|; \
s|-O3 -g||; s|-D_ISOC99_SOURCE||; \
s|-D_XOPEN_SOURCE=500||; \
- s|/usr/local/ssl|${OPENSSLBASE}|; \
s|-I/usr/local/include/boost-1_33_1||; \
s|-L/usr/local/lib||; s|-lpthread|-lcompat|'
@${FIND} ${WRKSRC} -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD} -e \
@@ -42,6 +40,11 @@ post-patch:
s|open64|open|; s|stat64|stat|'
@${REINPLACE_CMD} -e \
'/<curl\/types.h>/d' ${WRKSRC}/flutelib/http_file_repair.h
+ @${REINPLACE_CMD} -e "s|/usr/local/ssl|${OPENSSLBASE}|" \
+ ${WRKSRC}/flute/Makefile \
+ ${WRKSRC}/multis_flute/Makefile \
+ ${WRKSRC}/repair_sender/Makefile \
+ ${WRKSRC}/UnitTest/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/flute \