diff options
author | marino <marino@FreeBSD.org> | 2016-09-11 03:37:13 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-09-11 03:37:13 +0800 |
commit | 7a41b429de691be2e1adf613411dcc13257d529f (patch) | |
tree | 9c08c1940c29a0a72e288ba5cb8f2384b08818c4 /mail | |
parent | 7480fa29de2d1c994395b0896cf516a6477704bf (diff) | |
download | freebsd-ports-gnome-7a41b429de691be2e1adf613411dcc13257d529f.tar.gz freebsd-ports-gnome-7a41b429de691be2e1adf613411dcc13257d529f.tar.zst freebsd-ports-gnome-7a41b429de691be2e1adf613411dcc13257d529f.zip |
mail/archiveopteryx(-devel): document SSL requirement, sed in related flags
While here, couple OSVERSION with OPSYS
Approved by: SSL blanket
Diffstat (limited to 'mail')
-rw-r--r-- | mail/archiveopteryx-devel/Makefile | 11 | ||||
-rw-r--r-- | mail/archiveopteryx/Makefile | 11 |
2 files changed, 14 insertions, 8 deletions
diff --git a/mail/archiveopteryx-devel/Makefile b/mail/archiveopteryx-devel/Makefile index 7b013721c5b7..e44d3a8f1914 100644 --- a/mail/archiveopteryx-devel/Makefile +++ b/mail/archiveopteryx-devel/Makefile @@ -21,8 +21,7 @@ GH_ACCOUNT= aox GH_PROJECT= aox GH_TAGNAME= e10c73a -USES= perl5 tar:bzip2 pgsql:9.1+ -USE_OPENSSL= yes +USES= perl5 pgsql:9.1+ ssl tar:bzip2 USE_PERL5= build PORTDOCS= COPYING README license.txt @@ -43,14 +42,18 @@ JAM?= ${LOCALBASE}/bin/jam .include <bsd.port.pre.mk> # force Clang when on FreeBSD 10+ -.if ${OSVERSION} >= 1000000 +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 JAMARG= "-sCLANG=1" .endif post-patch: @${GREP} -Rl '%%[[:alpha:]]\+%%' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} \ -e 's,%%PREFIX%%,${PREFIX},g' - ${REINPLACE_CMD} "s|INSTALLROOT ?= \"\" ;|INSTALLROOT = \"${STAGEDIR}\" ;|" ${WRKSRC}/Jamsettings + ${REINPLACE_CMD} -e "s|\(C++FLAGS =\)|\1 -I${OPENSSLINC}|g" \ + -e"s|INSTALLROOT ?= \"\" ;|INSTALLROOT = \"${STAGEDIR}\" ;|" \ + ${WRKSRC}/Jamsettings + ${REINPLACE_CMD} -e "s|\(-lcrypto\)|-L${OPENSSLLIB} \1|g" \ + ${WRKSRC}/server/Jamfile do-build: @cd ${WRKSRC} && ${JAM} ${JAMARG} diff --git a/mail/archiveopteryx/Makefile b/mail/archiveopteryx/Makefile index fa87c589d909..f9887c45473c 100644 --- a/mail/archiveopteryx/Makefile +++ b/mail/archiveopteryx/Makefile @@ -16,8 +16,7 @@ BROKEN_powerpc64= Does not build BUILD_DEPENDS= jam:devel/jam -USES= perl5 tar:bzip2 pgsql:9.1+ -USE_OPENSSL= yes +USES= perl5 pgsql:9.1+ ssl tar:bzip2 USE_PERL5= build PORTDOCS= COPYING README bsd.txt @@ -36,14 +35,18 @@ JAM?= ${LOCALBASE}/bin/jam .include <bsd.port.pre.mk> # force Clang when on FreeBSD 10+ -.if ${OSVERSION} >= 1000000 +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 JAMARG= "-sCLANG=1" .endif post-patch: @${GREP} -Rl '%%[[:alpha:]]\+%%' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} \ -e 's,%%PREFIX%%,${PREFIX},g' - ${REINPLACE_CMD} "s|INSTALLROOT ?= \"\" ;|INSTALLROOT = \"${STAGEDIR}\" ;|" ${WRKSRC}/Jamsettings + ${REINPLACE_CMD} -e "s|\(C++FLAGS =\)|\1 -I${OPENSSLINC}|g" \ + -e"s|INSTALLROOT ?= \"\" ;|INSTALLROOT = \"${STAGEDIR}\" ;|" \ + ${WRKSRC}/Jamsettings + ${REINPLACE_CMD} -e "s|\(-lcrypto\)|-L${OPENSSLLIB} \1|g" \ + ${WRKSRC}/server/Jamfile do-build: @cd ${WRKSRC} && ${JAM} ${JAMARG} |