Files
claudio e3d2d4cdf2 Make this work with gcc15
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@
2025-12-04 07:48:02 +00:00

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>