pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/weechat Remove old SunOS hacks that are no longer...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e2dd6e944496
branches:  trunk
changeset: 649066:e2dd6e944496
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Mar 31 11:35:58 2015 +0000

description:
Remove old SunOS hacks that are no longer needed and are now actively
harmful when enabling certain options.

diffstat:

 chat/weechat/Makefile |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 55e941c600e8 -r e2dd6e944496 chat/weechat/Makefile
--- a/chat/weechat/Makefile     Tue Mar 31 11:00:27 2015 +0000
+++ b/chat/weechat/Makefile     Tue Mar 31 11:35:58 2015 +0000
@@ -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_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+=           -DMANDIR:STRING=${PKGMANDIR}
 CMAKE_ARGS+=           -DLOCALEDIR:STRING=${PKGLOCALEDIR}/locale
 
+LDFLAGS+=              ${BUILDLINK_LDADD.gettext}
+
 .include "options.mk"
 
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"



Home | Main Index | Thread Index | Old Index