Edit

IABSD.fr/ports/inputmethods/scim-pinyin/Makefile

Branch :

  • Show log

    Commit

  • Author : tb
    Date : 2024-01-02 10:20:09
    Hash : bee0fa22
    Message : scim-pinyin: fix build with newer libcxx

  • inputmethods/scim-pinyin/Makefile
  • COMMENT=	scim input method module for pinyin
    
    DISTNAME=	scim-pinyin-0.5.91
    REVISION=	16
    
    CATEGORIES=	inputmethods chinese
    
    HOMEPAGE=	https://github.com/scim-im/scim-pinyin
    
    # GPLv2
    PERMIT_PACKAGE=	Yes
    
    WANTLIB += ${COMPILER_LIBCXX} X11 Xcomposite Xcursor Xdamage Xext
    WANTLIB += Xfixes Xi Xinerama Xrandr Xrender atk-1.0 cairo expat
    WANTLIB += ffi fontconfig freetype fribidi gdk-x11-2.0 gdk_pixbuf-2.0
    WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 graphite2
    WANTLIB += gthread-2.0 gtk-x11-2.0 harfbuzz iconv intl m pango-1.0
    WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre2-8 pixman-1 png scim-1.0
    WANTLIB += scim-gtkutils-1.0 scim-x11utils-1.0 xcb xcb-render
    WANTLIB += xcb-shm z Xau Xdmcp jpeg
    
    COMPILER=	base-clang ports-gcc
    
    SITES=		${SITE_SOURCEFORGE:=scim/}
    
    LIB_DEPENDS=	x11/gtk+2 \
    		inputmethods/scim
    
    LIBTOOL_FLAGS=	--tag=disable-static
    
    CONFIGURE_STYLE=gnu
    CONFIGURE_ARGS=	--disable-static \
    		--disable-skim-support
    CXXFLAGS+=-D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION
    
    .include <bsd.port.mk>