aboutsummaryrefslogtreecommitdiff
path: root/devel/ice/Makefile
diff options
context:
space:
mode:
authorMichael Gmelin <grembo@FreeBSD.org>2015-09-16 23:38:56 +0000
committerMichael Gmelin <grembo@FreeBSD.org>2015-09-16 23:38:56 +0000
commitf0a68f6868f5dc797a042bc76b40acc9af42c1a2 (patch)
tree25a5e7b9efcd707ea767e816990450e03cdbbc93 /devel/ice/Makefile
parenta73518bcca494a5333c0f98f2b0d783bd561fd4b (diff)
downloadports-f0a68f6868f5dc797a042bc76b40acc9af42c1a2.tar.gz
ports-f0a68f6868f5dc797a042bc76b40acc9af42c1a2.zip
Support building against LibreSSL and OpenSSL from ports.
Also fixes building against iconv from ports. PR: 203163 Approved by: mentors (implicit)
Notes
Notes: svn path=/head/; revision=397092
Diffstat (limited to 'devel/ice/Makefile')
-rw-r--r--devel/ice/Makefile19
1 files changed, 14 insertions, 5 deletions
diff --git a/devel/ice/Makefile b/devel/ice/Makefile
index fe1b74a17576..71a8c8d5043d 100644
--- a/devel/ice/Makefile
+++ b/devel/ice/Makefile
@@ -3,6 +3,7 @@
PORTNAME= Ice
PORTVERSION= 3.6.0
+PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= devel
@@ -102,29 +103,37 @@ post-patch:
s|%%DOCSDIR%%|${STAGEDIR}${DOCSDIR}|g; \
s|%%ICONV_LIB%%|${ICONV_LIB}|g; \
s|%%INSTALL_PROGRAM%%|${INSTALL_PROGRAM}|g; \
- s|%%INSTALL_DATA%%|${INSTALL_DATA}|g' \
+ s|%%INSTALL_DATA%%|${INSTALL_DATA}|g; \
+ s|%%OPENSSLLIB%%|${OPENSSLLIB}|g; \
+ s|%%OPENSSLINC%%|${OPENSSLINC}|g; \
+ s|%%OPENSSLRPATH%%|${OPENSSLRPATH}|g;' \
${FILESDIR}/Make.rules.FreeBSD > ${WRKSRC}/cpp/config/Make.rules.FreeBSD
@${REINPLACE_CMD} 's|%%BDB_LIB_CXX_NAME%%|${BDB_LIB_CXX_NAME}|g; \
s|%%BDB_LIB_DIR%%|${BDB_LIB_DIR}|g; \
s|%%BDB_INCLUDE_DIR%%|${BDB_INCLUDE_DIR}|g; \
+ s|%%OPENSSLLIB%%|${OPENSSLLIB}|g; \
+ s|%%OPENSSLINC%%|${OPENSSLINC}|g; \
+ s|%%OPENSSLRPATH%%|${OPENSSLRPATH}|g; \
/install_docdir/d' \
${WRKSRC}/cpp/config/Make.rules
+ @${REINPLACE_CMD} 's|%%OPENSSLBASE%%|${OPENSSLBASE}|g;' \
+ ${WRKSRC}/cpp/test/IceSSL/configuration/run.py
@${REINPLACE_CMD} '/install_configdir/d' \
${WRKSRC}/cpp/config/Make.rules
@${REINPLACE_CMD} '/LICENSE/s/prefix/install_slicedir/; \
- s|%%INSTALL_PROGRAM%%|${INSTALL_PROGRAM}|g; ' \
+ s|%%INSTALL_PROGRAM%%|${INSTALL_PROGRAM}|g;' \
${WRKSRC}/config/Make.common.rules
@${REINPLACE_CMD} 's|%%INSTALL_PROGRAM%%|${INSTALL_PROGRAM}|g; \
s|%%INSTALL_DATA%%|${INSTALL_DATA}|g; \
s|%%ICONV_LIB%%|${ICONV_LIB}|g; \
s|%%PYTHON_CMD%%|${PYTHON_CMD}|g; \
s|%%PYTHON_SITELIBDIR%%|${STAGEDIR}${PYSITEDIR}|g; \
- s|%%PREFIX%%|${PREFIX}|g ; \
+ s|%%PREFIX%%|${PREFIX}|g; \
s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/python/config/Make.rules
@${REINPLACE_CMD} 's|%%INSTALL_PROGRAM%%|${INSTALL_PROGRAM}|g; \
s|%%INSTALL_DATA%%|${INSTALL_DATA}|g; \
- s|%%PREFIX%%|${PREFIX}|g ; \
- s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/php/config/Make.rules.php
+ s|%%PREFIX%%|${PREFIX}|g; \
+ s|%%LOCALBASE%%|${LOCALBASE}|g;' ${WRKSRC}/php/config/Make.rules.php
.if ${PORT_OPTIONS:MTESTS}
TEST_CMD= @cd ${BUILD_WRKSRC} && ${PYTHON_CMD} ./allTests.py