jca 9db5a7f3c3 Fix time_t handling and unbreak on 32 bits archs.
newsbeuter stores feeds and articles timestamps as time_t in its sqlite
database, but does so incorrectly.  Fix sqlite3 and logging format
string so that they use the proper (long long) idiom.

Issue reported and fix tested by Raf Czlonka, ok sthen@
2015-10-05 19:46:22 +00:00

38 lines
742 B
Makefile

# $OpenBSD: Makefile,v 1.6 2015/10/05 19:46:22 jca Exp $
COMMENT = open-source RSS/Atom feed reader for text terminals
DISTNAME = newsbeuter-2.7
REVISION = 0
CATEGORIES = www
HOMEPAGE = http://newsbeuter.org/
MAINTAINER = Kyle Isom <kyle@tyrfingr.is>
# mit
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c crypto curl json-c m ncursesw pthread sqlite3
WANTLIB += stdc++ stfl xml2
MASTER_SITES = http://newsbeuter.org/downloads/
MODULES = devel/gettext
LIB_DEPENDS = devel/stfl \
devel/json-c \
textproc/libxml \
net/curl
MAKE_FLAGS = CXX="${CXX}"
FAKE_FLAGS = mandir=${PREFIX}/man
USE_GMAKE = Yes
CONFIGURE_STYLE = simple
CONFIGURE_SCRIPT = config.sh
post-extract:
rm $(WRKSRC)/src/google*.cpp
.include <bsd.port.mk>