Edit

IABSD.fr/ports/java/jlint/Makefile

Branch :

  • Show log

    Commit

  • Author : claudio
    Date : 2025-12-04 07:48:02
    Hash : e3d2d4cd
    Message : 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@

  • java/jlint/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>