summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2014-11-27 11:21:40 +0000
committerfhajny <fhajny@pkgsrc.org>2014-11-27 11:21:40 +0000
commit881196ec7ac84c3ebbd84406762b5c77884a2af1 (patch)
treea442e90da7769b0d673f75c7700d4df31ab017f3 /chat
parent2044ca518dda89fb386354e4e7040ca749acb676 (diff)
downloadpkgsrc-881196ec7ac84c3ebbd84406762b5c77884a2af1.tar.gz
Fix missing conditional
Diffstat (limited to 'chat')
-rw-r--r--chat/prosody/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/chat/prosody/Makefile b/chat/prosody/Makefile
index f9eace268f2..5996bcc9ffd 100644
--- a/chat/prosody/Makefile
+++ b/chat/prosody/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2014/11/27 10:18:20 fhajny Exp $
+# $NetBSD: Makefile,v 1.19 2014/11/27 11:21:40 fhajny Exp $
#
DISTNAME= prosody-0.9.7
@@ -69,7 +69,9 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --with-lua-include=${PREFIX}/${LUA_INCDIR}
CFLAGS+= -fPIC -Wall -DLUA_COMPAT_MODULE
+.if ${OPSYS} == "SunOS"
MAKE_ENV+= SOCKET_LIB=-lsocket
+.endif
RCD_SCRIPTS= prosody