summaryrefslogtreecommitdiff
path: root/print/poppler
diff options
context:
space:
mode:
authorasau <asau>2013-09-25 23:07:31 +0000
committerasau <asau>2013-09-25 23:07:31 +0000
commit7b4e7f91ae2948393a04b7a37bcc97b3302fa377 (patch)
treeb929ff8330e2926339aa6d99d2a0f3d8faedce0e /print/poppler
parent64a47727308ce84c1241d461f669645130ae7930 (diff)
downloadpkgsrc-7b4e7f91ae2948393a04b7a37bcc97b3302fa377.tar.gz
Passing "-ansi" turns "long long" support off on FreeBSD/amd64.
Define __LONG_LONG_SUPPORTED to make the package build.
Diffstat (limited to 'print/poppler')
-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/