-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
from maintainer James Prevatt <jprevatt+bsd at paunix.org>
- Loading branch information
Nikolay Sturm
committed
Jan 29, 2006
1 parent
b09a868
commit 5997e7d
Showing
9 changed files
with
77 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
# $OpenBSD: Makefile,v 1.3 2005/10/22 23:55:20 espie Exp $ | ||
# $OpenBSD: Makefile,v 1.4 2006/01/29 15:41:00 sturm Exp $ | ||
|
||
COMMENT= "full-featured text WWW browser" | ||
DISTNAME= elinks-0.10.5 | ||
PKGNAME= ${DISTNAME}p0 | ||
DISTNAME= elinks-0.11.0 | ||
EXTRACT_SUFX= .tar.bz2 | ||
CATEGORIES= www | ||
MASTER_SITES= http://elinks.or.cz/download/ | ||
MASTER_SITES= http://elinks.cz/download/ | ||
|
||
HOMEPAGE= http://elinks.or.cz/ | ||
HOMEPAGE= http://elinks.cz/ | ||
|
||
MAINTAINER= James Prevatt <[email protected]> | ||
|
||
|
@@ -18,20 +17,24 @@ PERMIT_DISTFILES_CDROM= Yes | |
PERMIT_DISTFILES_FTP= Yes | ||
|
||
CONFIGURE_STYLE= gnu | ||
BUILD_DEPENDS= :automake-1.4.*:devel/automake/1.4 | ||
CONFIGURE_ENV+= CFLAGS=-I${LOCALBASE}/include \ | ||
LDFLAGS=-L${LOCALBASE}/lib | ||
CONFIGURE_ARGS+= --with-bzlib \ | ||
--disable-xbel \ | ||
--enable-gopher \ | ||
--with-libiconv=${LOCALBASE} | ||
LIB_DEPENDS+= bz2::archivers/bzip2 | ||
USE_GMAKE= Yes | ||
|
||
RUN_DEPENDS= ::devel/gettext | ||
WANTLIB= crypto c z ssl | ||
MODULES= converters/libiconv | ||
|
||
FLAVORS= gopher lua no_x11 | ||
FLAVORS= lua no_x11 | ||
FLAVOR?= | ||
|
||
.if ${FLAVOR:L:Mgopher} | ||
CONFIGURE_ARGS+= --enable-gopher | ||
.endif | ||
|
||
.if ${FLAVOR:L:Mlua} | ||
CONFIGURE_ARGS+= --with-lua | ||
LIB_DEPENDS+= lua.5,lualib.5::lang/lua | ||
WANTLIB+= m | ||
.else | ||
|
@@ -41,13 +44,9 @@ CONFIGURE_ARGS+= --without-lua | |
.if ${FLAVOR:L:Mno_x11} | ||
CONFIGURE_ARGS+= --without-x | ||
.else | ||
CONFIGURE_ARGS+= --with-x | ||
USE_X11= Yes | ||
WANTLIB+= X11 | ||
.endif | ||
|
||
post-patch: | ||
@cd ${WRKSRC} && automake-1.4 -a -c | ||
|
||
REGRESS_IS_INTERACTIVE= Yes | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
MD5 (elinks-0.10.5.tar.bz2) = d19fea8cddd1c64ae890319650dce1ff | ||
RMD160 (elinks-0.10.5.tar.bz2) = f1b54cfa1eb4375a20b4b4e1a6edcc589739c3a2 | ||
SHA1 (elinks-0.10.5.tar.bz2) = f05fcb5194bd5a6b43ed4bc09880de7577cbcce0 | ||
SIZE (elinks-0.10.5.tar.bz2) = 2357709 | ||
MD5 (elinks-0.11.0.tar.bz2) = 9154f493f544af31ae31ec1dd203d315 | ||
RMD160 (elinks-0.11.0.tar.bz2) = ff95458cab4890ab724d823dc78e6d3d7b871b3d | ||
SHA1 (elinks-0.11.0.tar.bz2) = 8d6c0aac00c8e79dd654e13807be7e1a50a8dec1 | ||
SIZE (elinks-0.11.0.tar.bz2) = 2575870 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
$OpenBSD: patch-configure,v 1.1 2006/01/29 15:41:00 sturm Exp $ | ||
--- configure.orig Sun Jan 1 11:39:43 2006 | ||
+++ configure Wed Jan 4 14:18:10 2006 | ||
@@ -22496,10 +22496,6 @@ ALL_CFLAGS="$CFLAGS $CPPFLAGS" | ||
|
||
|
||
|
||
-if test $(`which tput` colors) -ge 4; then | ||
- MAKE_COLOR=1 | ||
- | ||
-fi | ||
|
||
|
||
ac_config_files="$ac_config_files Makefile.config contrib/elinks.spec contrib/lua/hooks.lua contrib/conv/w3m2links.awk doc/man/man1/elinks.1 src/intl/gettext/ref-add.sed src/intl/gettext/ref-del.sed" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
$OpenBSD: patch-src_cache_dialogs_c,v 1.1 2006/01/29 15:41:00 sturm Exp $ | ||
--- src/cache/dialogs.c.orig Sun Jan 1 11:39:36 2006 | ||
+++ src/cache/dialogs.c Wed Jan 4 13:28:54 2006 | ||
@@ -82,9 +82,9 @@ get_cache_entry_info(struct listbox_item | ||
} | ||
} | ||
|
||
- add_format_to_string(&msg, "\n%s: %" PRId64, _("Size", term), | ||
+ add_format_to_string(&msg, "\n%s: %lld", _("Size", term), | ||
cached->length); | ||
- add_format_to_string(&msg, "\n%s: %" PRId64, _("Loaded size", term), | ||
+ add_format_to_string(&msg, "\n%s: %lld", _("Loaded size", term), | ||
cached->data_size); | ||
if (cached->content_type) { | ||
add_format_to_string(&msg, "\n%s: %s", _("Content type", term), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
$OpenBSD: patch-src_dialogs_document_c,v 1.1 2006/01/29 15:41:00 sturm Exp $ | ||
--- src/dialogs/document.c.orig Wed Jan 4 13:29:51 2006 | ||
+++ src/dialogs/document.c Wed Jan 4 13:30:05 2006 | ||
@@ -152,7 +152,7 @@ document_info_dialog(struct session *ses | ||
if (cached) { | ||
unsigned char *a; | ||
|
||
- add_format_to_string(&msg, "\n%s: %" PRId64, | ||
+ add_format_to_string(&msg, "\n%s: %lld", | ||
_("Size", term), cached->length); | ||
|
||
if (cached->incomplete) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
$OpenBSD: patch-src_intl_gettext_Makefile,v 1.1 2006/01/29 15:41:00 sturm Exp $ | ||
--- src/intl/gettext/Makefile.orig Sun Jan 1 11:39:36 2006 | ||
+++ src/intl/gettext/Makefile Wed Jan 4 14:17:41 2006 | ||
@@ -26,8 +26,8 @@ OBJS = \ | ||
|
||
|
||
# $(builddir)/charset.alias: $(srcdir)/config.charset | ||
-$(builddir)/charset.alias: $(srcdir)config.charset | ||
- $(SHELL) $(srcdir)/config.charset '$(host)' > [email protected] | ||
+$(builddir)/charset.alias: config.charset | ||
+ $(SHELL) config.charset '$(host)' > [email protected] | ||
mv [email protected] $@ | ||
|
||
# FIXME: Building plural.c from plural.y on the fly doesn't work |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters