fix compile on 32bit platforms

Noted by:	pointyhat
This commit is contained in:
Oliver Lehmann 2007-04-09 08:59:42 +00:00
parent b2a78a5ff4
commit 1d83b817cb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=189542

View file

@ -37,7 +37,7 @@ post-patch:
s|CHECK_LIBRARY_EXISTS("readline" "history.*|SET(HAVE_LIBHISTORY TRUE)|g; \
s|" " \(readline curses\)|\1|' ${WRKSRC}/CMakeLists.txt
@${REINPLACE_CMD} -e 's|define SIZEOF_INT |&9999|g' \
@${REINPLACE_CMD} -e 's|\(define SIZEOF_INT\) 4|\1 (LONG_BIT/8)|g' \
${WRKSRC}/platform/unix.c
do-configure::