diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2012-03-24 15:57:39 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2012-03-24 15:57:39 +0000 |
commit | ccecfeab22539d9ad1268f4eaf3383ce380b7ae0 (patch) | |
tree | 3770ac1ea6c0cac0b96bda09ec58fe0bd6565b4b /devel/ice/Makefile | |
parent | 5d27ea9d7e4d25cfff3eb1071d4cebb67764f673 (diff) | |
download | ports-ccecfeab22539d9ad1268f4eaf3383ce380b7ae0.tar.gz ports-ccecfeab22539d9ad1268f4eaf3383ce380b7ae0.zip |
- Fix build with gcc 4.7
- Add support for clang
PR: 165702
Submitted by: Michael Gmelin <freebsd@grem.de> (maintainer)
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=293741
Diffstat (limited to 'devel/ice/Makefile')
-rw-r--r-- | devel/ice/Makefile | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/devel/ice/Makefile b/devel/ice/Makefile index 824e8bab2a43..660f1ff7b88b 100644 --- a/devel/ice/Makefile +++ b/devel/ice/Makefile @@ -7,7 +7,7 @@ PORTNAME= Ice PORTVERSION= 3.4.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= http://download.zeroc.com/Ice/3.4/ @@ -17,6 +17,15 @@ COMMENT= A modern alternative to object middleware such as CORBA/COM/DCOM/COM+ LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 \ mcpp.3:${PORTSDIR}/devel/mcpp +OPTIONS= TESTS "Build and run tests (requires lang/python)" on \ + DEMOS "Build demos" on + +.include <bsd.port.options.mk> + +.if defined(WITH_TESTS) +USE_PYTHON_BUILD= yes +.endif + USE_GMAKE= yes USE_ICONV= yes USE_BDB= 42+ @@ -45,6 +54,14 @@ BROKEN= fails to link MAKE_ENV= LP64=yes .endif +.if !defined(WITH_TESTS) +MAKE_ENV+= NOTESTS=yes +.endif + +.if !defined(WITH_DEMOS) +MAKE_ENV+= NODEMOS=yes +.endif + .if defined(NOPORTDOCS) MAKE_ENV+= NOPORTDOCS=yes .endif @@ -69,4 +86,12 @@ post-patch: ${REINPLACE_CMD} '/LICENSE/s/prefix/install_slicedir/' \ ${WRKSRC}/config/Make.common.rules +.if defined(WITH_TESTS) +TEST_CMD= @cd ${BUILD_WRKSRC} && ${PYTHON_CMD} ./allTests.py +post-build: + ${TEST_CMD} +regression-test test: build + ${TEST_CMD} +.endif + .include <bsd.port.post.mk> |