1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Update to 20110817

- Add LICENSE section
- Change default for BACKTRACE option to On

PR:		ports/159850
Submitted by:	Jase Thew <freebsd@beardz.net> (maintainer)
This commit is contained in:
Beech Rintoul 2011-08-18 06:22:18 +00:00
parent 67e9f7d303
commit 6b8eb58a56
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=279944
5 changed files with 44 additions and 6 deletions

View File

@ -6,19 +6,23 @@
#
PORTNAME= weechat
PORTVERSION= 20110714
PORTVERSION= 20110817
CATEGORIES= irc
MASTER_SITES= http://perturb.me.uk/distfiles/
PKGNAMESUFFIX= -devel
DISTNAME= weechat-devel-35a3df0a7a09f00863be917f8181d5363c0a8302
DISTNAME= weechat-devel-885e0d93742e647ae58964a1d2cebcaaaaccd609
MAINTAINER= freebsd@beardz.net
COMMENT= A lightweight and user friendly ncurse based IRC client
LICENSE= GPLv3
CONFLICTS= weechat-0.3*
USE_ICONV= yes
USE_LDCONFIG= yes
USE_NCURSES= yes
WITH_NCURSES_BASE= yes
USE_CMAKE= yes
CMAKE_USE_PTHREAD= yes
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
@ -30,14 +34,14 @@ OPTIONS= RUBY "Ruby scripting support." Off \
TCL "TCL scripting support." Off \
LUA "Lua scripting support." Off \
CHARSET "Charset support." On \
BACKTRACE "Backtraces." Off \
BACKTRACE "Backtraces." On \
DEBUG "Debugging." On \
ASPELL "Spell checking." Off \
GNUTLS "GNU TLS." Off \
NLS "NLS support." On \
DOCUMENTATION "Build documentation." Off
WRKSRC= ${WRKDIR}/${PORTNAME}-35a3df0
WRKSRC= ${WRKDIR}/${PORTNAME}-885e0d9
.include <bsd.port.options.mk>

View File

@ -1,2 +1,2 @@
SHA256 (weechat-devel-35a3df0a7a09f00863be917f8181d5363c0a8302.tar.gz) = ca52872388cfffac7426ea2bba177a5051719e9209e4f4300318a91bbeeb6229
SIZE (weechat-devel-35a3df0a7a09f00863be917f8181d5363c0a8302.tar.gz) = 1839915
SHA256 (weechat-devel-885e0d93742e647ae58964a1d2cebcaaaaccd609.tar.gz) = d17085673b32504322634f0fa5f227c68667cea4c399d7ce6f77c3d30f8f4325
SIZE (weechat-devel-885e0d93742e647ae58964a1d2cebcaaaaccd609.tar.gz) = 1912719

View File

@ -0,0 +1,11 @@
--- src/gui/curses/CMakeLists.txt.orig 2011-08-18 04:19:10.997333389 +0100
+++ src/gui/curses/CMakeLists.txt 2011-08-18 04:19:56.348074585 +0100
@@ -38,7 +38,7 @@
FIND_PACKAGE(Ncurses)
IF(NCURSES_FOUND)
- CHECK_INCLUDE_FILES(ncursesw/ncurses.h NCURSESW_HEADERS)
+ CHECK_INCLUDE_FILES(ncurses.h NCURSESW_HEADERS)
IF(NCURSESW_HEADERS)
ADD_DEFINITIONS(-DHAVE_NCURSESW_CURSES_H)
ELSE(NCURSESW_HEADERS)

View File

@ -0,0 +1,12 @@
--- src/gui/curses/gui-curses.h.orig 2011-08-17 14:08:18.000000000 +0100
+++ src/gui/curses/gui-curses.h 2011-08-18 05:02:47.647960373 +0100
@@ -23,7 +23,8 @@
#include <time.h>
#ifdef HAVE_NCURSESW_CURSES_H
-#include <ncursesw/ncurses.h>
+#define _XOPEN_SOURCE_EXTENDED 1
+#include <ncurses.h>
#elif HAVE_NCURSES_H
#include <ncurses.h>
#else

View File

@ -0,0 +1,11 @@
--- src/gui/curses/gui-curses-term.c.orig 2011-08-18 04:25:40.510233646 +0100
+++ src/gui/curses/gui-curses-term.c 2011-08-18 04:25:55.436405801 +0100
@@ -26,7 +26,7 @@
#endif
#ifdef HAVE_NCURSESW_CURSES_H
-#include <ncursesw/term.h>
+#include <term.h>
#else
#include <term.h>
#endif