summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-04-11 17:06:03 +0000
committerjperkin <jperkin@pkgsrc.org>2016-04-11 17:06:03 +0000
commit7e35fbb8d71775e723c7b84e3af09aefb795d5f8 (patch)
tree94d44b6eb3136c97d24c56112e430b9bb6519dfd /x11
parent56cd59a678213b83e2ce2272753f4b5cdeb95640 (diff)
downloadpkgsrc-7e35fbb8d71775e723c7b84e3af09aefb795d5f8.tar.gz
Additional CFLAGS and LDFLAGS to fix the build on SunOS.
Diffstat (limited to 'x11')
-rw-r--r--x11/kde-runtime4/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11/kde-runtime4/Makefile b/x11/kde-runtime4/Makefile
index aad87a3ded4..2b8d4863b4d 100644
--- a/x11/kde-runtime4/Makefile
+++ b/x11/kde-runtime4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2016/03/05 11:27:58 jperkin Exp $
+# $NetBSD: Makefile,v 1.63 2016/04/11 17:06:03 jperkin Exp $
DISTNAME= kde-runtime-15.12.0
PKGNAME= ${DISTNAME:S/-1/4-1/}
@@ -19,7 +19,8 @@ DEPENDS+= oxygen-icons-[0-9]*:../../graphics/oxygen-icons
USE_TOOLS+= gmake
-LDFLAGS.SunOS+= -lsocket
+CFLAGS.SunOS+= -DPORTMAP
+LDFLAGS.SunOS+= -lsocket -lnsl
.include "../../mk/bsd.prefs.mk"
.include "options.mk"