diff --git a/x11/tint2/Makefile b/x11/tint2/Makefile index b3ad265b0bc4..8768c7046dad 100644 --- a/x11/tint2/Makefile +++ b/x11/tint2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.60 2022/03/11 21:33:34 tnn Exp $ +# $NetBSD: Makefile,v 1.61 2022/04/12 13:47:10 tnn Exp $ DISTNAME= tint2-v17.0.2 PKGNAME= ${DISTNAME:S/-v/-/} @@ -24,6 +24,9 @@ CONF_FILES= ${PREFIX}/share/examples/tint2/tint2rc \ CMAKE_ARGS.Linux= -DENABLE_BATTERY=ON CMAKE_ARGS.*= -DENABLE_BATTERY=OFF +CFLAGS.SunOS+= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ +CFLAGS.SunOS+= -Du_int8_t=uint8_t -Du_int32_t=uint32_t -Du_int64_t=uint64_t + post-install: ${INSTALL_DATA} ${WRKSRC}/themes/tint2rc \ ${DESTDIR}${PREFIX}/share/examples/tint2