tint2: SunOS build fixes
This commit is contained in:
parent
e18826621f
commit
d20eace578
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue