summaryrefslogtreecommitdiff
path: root/chat/weechat/Makefile
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-03-31 11:35:58 +0000
committerjperkin <jperkin@pkgsrc.org>2015-03-31 11:35:58 +0000
commit2e105bb6342f5a5aab06f42402660b9cb9016657 (patch)
treedd1f670eed2767fef6d61cfafd07bcaf06c3c98e /chat/weechat/Makefile
parentbed76313baf57edc04598e712f20d779ecee450b (diff)
downloadpkgsrc-2e105bb6342f5a5aab06f42402660b9cb9016657.tar.gz
Remove old SunOS hacks that are no longer needed and are now actively
harmful when enabling certain options.
Diffstat (limited to 'chat/weechat/Makefile')
-rw-r--r--chat/weechat/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/chat/weechat/Makefile b/chat/weechat/Makefile
index f37d4ba4c61..843145fa30a 100644
--- a/chat/weechat/Makefile
+++ b/chat/weechat/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.50 2014/10/19 22:27:43 alnsn Exp $
+# $NetBSD: Makefile,v 1.51 2015/03/31 11:35:58 jperkin Exp $
DISTNAME= weechat-1.0
PKGREVISION= 1
@@ -19,9 +19,6 @@ USE_LANGUAGES= c99
USE_LIBTOOL= yes
USE_CMAKE= yes
-CFLAGS.SunOS+= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
-LDFLAGS.SunOS+= -lsocket -lnsl -lintl
-
CMAKE_ARGS+= -DENABLE_ASPELL:BOOL=OFF
CMAKE_ARGS+= -DENABLE_GUILE:BOOL=OFF
CMAKE_ARGS+= -DENABLE_TCL:BOOL=OFF
@@ -29,6 +26,8 @@ CMAKE_ARGS+= -DENABLE_MAN:BOOL=ON
CMAKE_ARGS+= -DMANDIR:STRING=${PKGMANDIR}
CMAKE_ARGS+= -DLOCALEDIR:STRING=${PKGLOCALEDIR}/locale
+LDFLAGS+= ${BUILDLINK_LDADD.gettext}
+
.include "options.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"