diff options
-rw-r--r-- | x11/kdelibs3/Makefile | 5 | ||||
-rw-r--r-- | x11/kdelibs4/Makefile | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/x11/kdelibs3/Makefile b/x11/kdelibs3/Makefile index 9e16dbe70d9..7638f49866b 100644 --- a/x11/kdelibs3/Makefile +++ b/x11/kdelibs3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.188 2016/12/03 22:05:08 maya Exp $ +# $NetBSD: Makefile,v 1.189 2016/12/17 14:19:27 joerg Exp $ DISTNAME= kdelibs-${_KDE_VERSION} PKGREVISION= 40 @@ -69,6 +69,9 @@ SPECIAL_PERMS+= ${PREFIX}/bin/kgrantpty ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 455 # so force this as configure gets this wrong on Solaris 9 CONFIGURE_ENV.SunOS+= ac_cv_lib_bzip2='no' +# jasper uses SIZE_MAX and friends in its headers. +CPPFLAGS+= -D__STDC_LIMIT_MACROS + .include "options.mk" PLIST_VARS+= kded diff --git a/x11/kdelibs4/Makefile b/x11/kdelibs4/Makefile index a6104ec481c..b79f5c05283 100644 --- a/x11/kdelibs4/Makefile +++ b/x11/kdelibs4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.86 2016/10/07 18:25:36 adam Exp $ +# $NetBSD: Makefile,v 1.87 2016/12/17 14:19:27 joerg Exp $ DISTNAME= kdelibs-4.14.15 PKGNAME= ${DISTNAME:S/-4/4-4/} @@ -89,6 +89,9 @@ PLIST.kgrantpty= yes CFLAGS.SunOS+= -D__EXTENSIONS__ LDFLAGS.SunOS+= -lintl +# jasper uses SIZE_MAX and friends in its headers. +CXXFLAGS+= -D__STDC_LIMIT_MACROS + BUILDLINK_DEPMETHOD.qt4-tools= full .include "../../meta-pkgs/kde4/kde4.mk" |