diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-08-17 19:19:30 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-08-17 19:19:30 +0000 |
commit | 770a7952ea29e67f87539616aa3a64e21fa7b775 (patch) | |
tree | 9573cf92ea231a8f7d7b3c2922a35d48a9f65bbb /www | |
parent | - Update to version 0.9p (diff) |
* Fix the locale dir [1]
* Fix the path to some of the bookmarks editor pixmaps
Reported by: Pav Lucistnik <pav@oook.cz>
Notes
Notes:
svn path=/head/; revision=87141
Diffstat (limited to 'www')
-rw-r--r-- | www/galeon2/Makefile | 3 | ||||
-rw-r--r-- | www/galeon2/files/patch-src_Makefile.in | 10 | ||||
-rw-r--r-- | www/galeon2/files/patch-src_galeon-main.c | 11 |
3 files changed, 24 insertions, 0 deletions
diff --git a/www/galeon2/Makefile b/www/galeon2/Makefile index 6cd6e433e65a..ab5b13ae3841 100644 --- a/www/galeon2/Makefile +++ b/www/galeon2/Makefile @@ -7,6 +7,7 @@ PORTNAME= galeon2 PORTVERSION= 1.3.7 +PORTREVISION= 1 CATEGORIES= www gnome MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME:S/2$//} @@ -81,6 +82,8 @@ post-patch: 's|-lpthread|${PTHREAD_LIBS}|g' @${FIND} ${WRKSRC} -name "*.cpp" | ${XARGS} ${REINPLACE_CMD} -e \ 's|malloc\.h|stdlib.h|g' + @${REINPLACE_CMD} -e 's|@prefix@/@DATADIRNAME@|@datadir@|g' \ + ${WRKSRC}/ui/galeon-bookmarks-editor-ui.xml.in post-configure: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \ diff --git a/www/galeon2/files/patch-src_Makefile.in b/www/galeon2/files/patch-src_Makefile.in new file mode 100644 index 000000000000..75df3add0251 --- /dev/null +++ b/www/galeon2/files/patch-src_Makefile.in @@ -0,0 +1,10 @@ +--- src/Makefile.in.orig Sun Aug 17 15:00:55 2003 ++++ src/Makefile.in Sun Aug 17 15:01:50 2003 +@@ -205,6 +205,7 @@ + $(GALEON_DEPENDENCY_CFLAGS) \ + -DSHARE_DIR=\"$(pkgdatadir)\" \ + -DDATADIR=\""$(datadir)"\" \ ++ -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" \ + -DG_DISABLE_DEPRECATED \ + -DGDK_DISABLE_DEPRECATED \ + -DGTK_DISABLE_DEPRECATED \ diff --git a/www/galeon2/files/patch-src_galeon-main.c b/www/galeon2/files/patch-src_galeon-main.c new file mode 100644 index 000000000000..bbcc13951e81 --- /dev/null +++ b/www/galeon2/files/patch-src_galeon-main.c @@ -0,0 +1,11 @@ +--- src/galeon-main.c.orig Sun Aug 17 14:59:02 2003 ++++ src/galeon-main.c Sun Aug 17 15:00:25 2003 +@@ -126,7 +126,7 @@ + + #ifdef ENABLE_NLS + /* Initialize the i18n stuff */ +- bindtextdomain(GETTEXT_PACKAGE, DATADIR "/locale"); ++ bindtextdomain(GETTEXT_PACKAGE, GNOMELOCALEDIR); + bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); + textdomain(GETTEXT_PACKAGE); + #endif |