summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print/poppler/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/print/poppler/Makefile b/print/poppler/Makefile
index 03a26f2b3e7..107bcf5aac4 100644
--- a/print/poppler/Makefile
+++ b/print/poppler/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 2013/07/04 13:13:55 wiz Exp $
+# $NetBSD: Makefile,v 1.64 2013/09/25 23:07:31 asau Exp $
.include "../../print/poppler/Makefile.common"
@@ -45,6 +45,11 @@ CONFIGURE_ARGS+= --disable-cms
.include "../../mk/bsd.prefs.mk"
+# Passing "-ansi" turns "long long" support off on FreeBSD/amd64:
+.if ${OPSYS} == "FreeBSD" && ${MACHINE_ARCH} == "x86_64"
+CFLAGS+= -D__LONG_LONG_SUPPORTED=
+.endif
+
post-install:
${INSTALL_MAN} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/poppler/
${INSTALL_MAN} ${WRKSRC}/README-XPDF ${DESTDIR}${PREFIX}/share/doc/poppler/