mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
* Fix the locale dir [1]
* Fix the path to some of the bookmarks editor pixmaps Reported by: Pav Lucistnik <pav@oook.cz>
This commit is contained in:
parent
c85d863fee
commit
770a7952ea
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87141
@ -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 ; \
|
||||
|
10
www/galeon2/files/patch-src_Makefile.in
Normal file
10
www/galeon2/files/patch-src_Makefile.in
Normal file
@ -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 \
|
11
www/galeon2/files/patch-src_galeon-main.c
Normal file
11
www/galeon2/files/patch-src_galeon-main.c
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user