jasper 2e2e490833 fix build with clang6 by defaulting to c++03. while this isn't the nicest solution
it allows to unblock a fairly large number of ports at this point.
2018-04-10 20:30:58 +00:00

34 lines
731 B
Makefile

# $OpenBSD: Makefile,v 1.15 2018/04/10 20:30:58 jasper Exp $
COMMENT = full-text search engine library
CATEGORIES = textproc
DISTNAME = clucene-core-2.3.3.4
REVISION = 2
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=clucene/}
HOMEPAGE = http://clucene.sourceforge.net/
SHARED_LIBS += clucene-contribs-lib 0.0 # 2.3
SHARED_LIBS += clucene-core 0.0 # 2.3
SHARED_LIBS += clucene-shared 0.0 # 2.3
# LGPL or Apache License 2.0
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += m pthread ${COMPILER_LIBCXX} z
MODULES= devel/cmake
BUILD_DEPENDS= devel/boost
CONFIGURE_ARGS= -DBUILD_CONTRIBS_LIB:BOOL=ON
.include <bsd.port.arch.mk>
.if ${PROPERTIES:Mclang}
CXXFLAGS += -std=c++03
.endif
.include <bsd.port.mk>