pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/leptonica Fix build on SunOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0366de8f6bfc
branches:  trunk
changeset: 646477:0366de8f6bfc
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Mon Feb 09 11:11:25 2015 +0000

description:
Fix build on SunOS.

diffstat:

 graphics/leptonica/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 4237e44994ee -r 0366de8f6bfc graphics/leptonica/Makefile
--- a/graphics/leptonica/Makefile       Mon Feb 09 11:10:20 2015 +0000
+++ b/graphics/leptonica/Makefile       Mon Feb 09 11:11:25 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2014/10/07 16:47:11 adam Exp $
+# $NetBSD: Makefile,v 1.4 2015/02/09 11:11:25 fhajny Exp $
 
 DISTNAME=      leptonica-1.71
 PKGREVISION=   1
@@ -22,6 +22,9 @@
 CONFIGURE_ENV+=                ac_cv_func_fmemopen=no
 .endif
 
+# Pass a SunOS that the build relies on
+CPPFLAGS.SunOS+=       -D__SOLARIS__=1
+
 .include "../../graphics/giflib/buildlink3.mk"
 .include "../../graphics/libwebp/buildlink3.mk"
 .include "../../graphics/openjpeg/buildlink3.mk"



Home | Main Index | Thread Index | Old Index