summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/vinagre/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/net/vinagre/Makefile b/net/vinagre/Makefile
index d16ea9ea386..27eb74d33b0 100644
--- a/net/vinagre/Makefile
+++ b/net/vinagre/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.56 2014/05/05 00:48:16 ryoon Exp $
+# $NetBSD: Makefile,v 1.57 2014/07/09 12:20:04 jperkin Exp $
#
DISTNAME= vinagre-3.6.2
@@ -17,10 +17,13 @@ BUILD_DEPENDS+= itstool-[0-9]*:../../textproc/itstool
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= gmake intltool pkg-config msgfmt
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c99 c++
USE_PKGLOCALEDIR= yes
+CFLAGS.SunOS+= -D__EXTENSIONS__
+LDFLAGS.SunOS+= -lnsl
+
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
CFLAGS+= -Wno-error=format-nonliteral