From 2e402539727f660625cbef5a75fe1f21ea1c99ba Mon Sep 17 00:00:00 2001 From: hans Date: Tue, 29 Nov 2011 18:12:12 +0000 Subject: Fix build on SunOS. --- x11/kdelibs4/Makefile | 9 ++++++++- x11/kdelibs4/PLIST | 3 ++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'x11') diff --git a/x11/kdelibs4/Makefile b/x11/kdelibs4/Makefile index 6cb3dc181a8..8242accd3ea 100644 --- a/x11/kdelibs4/Makefile +++ b/x11/kdelibs4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2011/11/20 02:08:10 markd Exp $ +# $NetBSD: Makefile,v 1.31 2011/11/29 18:12:12 hans Exp $ DISTNAME= kdelibs-${_KDE_VERSION} PKGREVISION= 8 @@ -55,6 +55,7 @@ SUBST_FILES.kdelibsfix= \ SUBST_SED.kdelibsfix= -e 's:@LOCALBASE@:${LOCALBASE}:g' -e 's:@X11BASE@:${X11BASE}:g' USE_TOOLS+= flex gmake +PLIST_VARS+= PLIST.kgrantpty .include "../../mk/bsd.prefs.mk" @@ -63,6 +64,12 @@ USE_TOOLS+= flex gmake DEPENDS+= zonetab-[0-9]*:../../time/zonetab .endif +.if ${OPSYS} == "SunOS" +PLIST.kgrantpty= yes +.endif + +LDFLAGS.SunOS+= -lintl + BUILDLINK_DEPMETHOD.qt4-tools= full .include "../../meta-pkgs/kde4/kde4.mk" diff --git a/x11/kdelibs4/PLIST b/x11/kdelibs4/PLIST index 9d87e335a12..e254cc2af56 100644 --- a/x11/kdelibs4/PLIST +++ b/x11/kdelibs4/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.7 2010/10/25 20:55:28 markd Exp $ +@comment $NetBSD: PLIST,v 1.8 2011/11/29 18:12:12 hans Exp $ bin/checkXML bin/kbuildsycoca4 bin/kconfig_compiler @@ -1841,6 +1841,7 @@ lib/kde4/libexec/fileshareset lib/kde4/libexec/kauth-policy-gen lib/kde4/libexec/kconf_update lib/kde4/libexec/kdesu_stub +${PLIST.kgrantpty}lib/kde4/libexec/kgrantpty lib/kde4/libexec/kio_http_cache_cleaner lib/kde4/libexec/kioslave lib/kde4/libexec/klauncher -- cgit v1.2.3