mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
e3d2d4cdf2
Remove base-gcc from COMPILER, replace the CXXFLAGS_base-clang with CXXFLAGS so that the right -std=c++XY is passed to the compiler since in most cases the c++ needs to be downgraded to make the code compile. OK sthen@ tb@
38 lines
776 B
Makefile
38 lines
776 B
Makefile
COMMENT= GNU project portable class framework for C++
|
|
|
|
VER= 1.7.3
|
|
DISTNAME= commoncpp2-${VER}
|
|
PKGNAME= commoncpp-${VER}
|
|
REVISION= 10
|
|
CATEGORIES= devel
|
|
SITES= ${SITE_GNU:=commoncpp/}
|
|
|
|
SHARED_LIBS+= ccext2 2.0
|
|
SHARED_LIBS+= ccgnu2 2.0
|
|
|
|
HOMEPAGE= https://www.gnu.org/software/commoncpp/
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB= crypto ssl z m ${COMPILER_LIBCXX} pthread
|
|
|
|
COMPILER = base-clang ports-gcc
|
|
|
|
CXXFLAGS = -std=c++98
|
|
|
|
CONFIGURE_STYLE= autoconf
|
|
AUTOCONF_VERSION= 2.61
|
|
CONFIGURE_ARGS+= --without-nat \
|
|
--with-openssl
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
ac_cv_path_DOXYGEN=no \
|
|
ac_cv_header_gnutls_gnutls_h=no
|
|
|
|
do-test:
|
|
cd ${WRKDIST}/tests && ${SETENV} ${MAKE_ENV} ${MAKE} && \
|
|
./test.sh
|
|
|
|
.include <bsd.port.mk>
|