summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-11-29 18:12:12 +0000
committerhans <hans@pkgsrc.org>2011-11-29 18:12:12 +0000
commit2e402539727f660625cbef5a75fe1f21ea1c99ba (patch)
tree190c87b3e50bde29ddf1d2974cd3c01263c2d95a /x11
parent4f318d799125c25ea2aecfbad2678f5408877cd4 (diff)
downloadpkgsrc-2e402539727f660625cbef5a75fe1f21ea1c99ba.tar.gz
Fix build on SunOS.
Diffstat (limited to 'x11')
-rw-r--r--x11/kdelibs4/Makefile9
-rw-r--r--x11/kdelibs4/PLIST3
2 files changed, 10 insertions, 2 deletions
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