summaryrefslogtreecommitdiff
path: root/x11/kdelibs3/Makefile
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-26 10:57:45 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-26 10:57:45 +0000
commit97f4078fc66b31385abf80fccbd0ad2c025fe60f (patch)
treeba40492c0d12e5e3607803f3192c1d24923347ba /x11/kdelibs3/Makefile
parentff2ff9e81927ce4912893dae7f00cc43823bb857 (diff)
downloadpkgsrc-97f4078fc66b31385abf80fccbd0ad2c025fe60f.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'x11/kdelibs3/Makefile')
-rw-r--r--x11/kdelibs3/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/x11/kdelibs3/Makefile b/x11/kdelibs3/Makefile
index bd250e2fef1..19acb98f12e 100644
--- a/x11/kdelibs3/Makefile
+++ b/x11/kdelibs3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.182 2015/06/12 10:52:18 wiz Exp $
+# $NetBSD: Makefile,v 1.183 2016/02/26 11:27:14 jperkin Exp $
DISTNAME= kdelibs-${_KDE_VERSION}
PKGREVISION= 38
@@ -62,6 +62,10 @@ SPECIAL_PERMS+= ${PREFIX}/bin/kpac_dhcp_helper ${SETUID_ROOT_PERMS}
# find the path to the kgrantpty expects it to have read permissions set.
SPECIAL_PERMS+= ${PREFIX}/bin/kgrantpty ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 4555
+# We require use of a recent enough libbz2 to have the BZ2_ prefixes
+# so force this as configure gets this wrong on Solaris 9
+CONFIGURE_ENV.SunOS+= ac_cv_lib_bzip2='no'
+
.include "options.mk"
PLIST_VARS+= kded
@@ -140,9 +144,3 @@ CONFIGURE_ENV+= ac_cv_func_getservbyname_r='no'
CONFIGURE_ENV+= ac_cv_func_getservbyport_r='no'
CONFIGURE_ENV+= ac_cv_func_getprotobyname_r='no'
.endif
-
-.if ${OPSYS} == "SunOS"
-# We require use of a recent enough libbz2 to have the BZ2_ prefixes
-# so force this as configure gets this wrong on Solaris 9
-CONFIGURE_ENV+= ac_cv_lib_bzip2='no'
-.endif