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@
29 lines
546 B
Makefile
29 lines
546 B
Makefile
COMMENT= Java program analyzer and checker
|
|
|
|
DISTNAME= jlint-3.1.2
|
|
REVISION = 5
|
|
CATEGORIES= java
|
|
|
|
HOMEPAGE= https://jlint.sourceforge.net/
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE= Yes
|
|
WANTLIB= c z m ${COMPILER_LIBCXX}
|
|
|
|
COMPILER = base-clang ports-gcc
|
|
CXXFLAGS = -std=c++14
|
|
|
|
SITES= ${SITE_SOURCEFORGE:=jlint/}
|
|
|
|
MAKE_ENV+= CC="${CC}" CPP="${CXX}" \
|
|
CXXFLAGS="${CXXFLAGS}" \
|
|
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
|
|
INSTALL_DATA_DIR="${INSTALL_DATA_DIR}" \
|
|
INSTALL_DATA="${INSTALL_DATA}"
|
|
|
|
NO_TEST= Yes
|
|
|
|
FIX_EXTRACT_PERMISSIONS = Yes
|
|
|
|
.include <bsd.port.mk>
|