aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-05-07 03:49:45 +0800
committermarcus <marcus@FreeBSD.org>2002-05-07 03:49:45 +0800
commit9b45a8fbc4f47b2360c80272d3367f6d3d1a6de2 (patch)
tree0e792e5b1e702f3da486d5dbacc0583725befa62
parentaf08d572d271acb596572e7ad6184feb15b881c7 (diff)
downloadfreebsd-ports-graphics-9b45a8fbc4f47b2360c80272d3367f6d3d1a6de2.tar.gz
freebsd-ports-graphics-9b45a8fbc4f47b2360c80272d3367f6d3d1a6de2.tar.zst
freebsd-ports-graphics-9b45a8fbc4f47b2360c80272d3367f6d3d1a6de2.zip
Allow gnomevfs to find charset.alias. This should fix some recent
I18N problems reported with Nautilus. Bump PORTREVISION. Reported by: Franz Klammer <klammer@webonaut.com>
-rw-r--r--devel/gnome-vfs1/Makefile6
-rw-r--r--devel/gnome-vfs1/files/patch-libgnomevfs::libcharset::Makefile.in9
-rw-r--r--devel/gnomevfs/Makefile6
-rw-r--r--devel/gnomevfs/files/patch-libgnomevfs::libcharset::Makefile.in9
4 files changed, 16 insertions, 14 deletions
diff --git a/devel/gnome-vfs1/Makefile b/devel/gnome-vfs1/Makefile
index 582f92bc086..0e6e1a2e64d 100644
--- a/devel/gnome-vfs1/Makefile
+++ b/devel/gnome-vfs1/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gnomevfs
PORTVERSION= 1.0.5
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/gnome-vfs
@@ -45,4 +45,8 @@ pre-patch:
@find ${WRKSRC} -name 'xml-i18n-*' | xargs ${PERL} -pi -e \
's|/usr/local/bin/perl|${PERL}|g'
+post-patch:
+ @${PERL} -pi -e 's|\%\%LOCALBASE\%\%|${LOCALBASE}|g' \
+ ${WRKSRC}/libgnomevfs/libcharset/Makefile.in
+
.include <bsd.port.mk>
diff --git a/devel/gnome-vfs1/files/patch-libgnomevfs::libcharset::Makefile.in b/devel/gnome-vfs1/files/patch-libgnomevfs::libcharset::Makefile.in
index 090241b1c98..b28eeb05fff 100644
--- a/devel/gnome-vfs1/files/patch-libgnomevfs::libcharset::Makefile.in
+++ b/devel/gnome-vfs1/files/patch-libgnomevfs::libcharset::Makefile.in
@@ -1,14 +1,11 @@
-
-$FreeBSD$
-
---- libgnomevfs/libcharset/Makefile.in 2002/03/17 14:28:57 1.1
-+++ libgnomevfs/libcharset/Makefile.in 2002/03/17 14:30:13
+--- libgnomevfs/libcharset/Makefile.in.orig Mon May 6 15:14:48 2002
++++ libgnomevfs/libcharset/Makefile.in Mon May 6 15:33:22 2002
@@ -188,7 +188,7 @@
cxxflags_set = @cxxflags_set@
l = @l@
-INCLUDES = -DLIBDIR=\"$(libdir)\"
-+INCLUDES = -DLIBDIR=\"$(prefix)/libdata\"
++INCLUDES = -DLIBDIR=\"%%LOCALBASE%%/libdata\"
noinst_LTLIBRARIES = libcharset.la
diff --git a/devel/gnomevfs/Makefile b/devel/gnomevfs/Makefile
index 582f92bc086..0e6e1a2e64d 100644
--- a/devel/gnomevfs/Makefile
+++ b/devel/gnomevfs/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gnomevfs
PORTVERSION= 1.0.5
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/gnome-vfs
@@ -45,4 +45,8 @@ pre-patch:
@find ${WRKSRC} -name 'xml-i18n-*' | xargs ${PERL} -pi -e \
's|/usr/local/bin/perl|${PERL}|g'
+post-patch:
+ @${PERL} -pi -e 's|\%\%LOCALBASE\%\%|${LOCALBASE}|g' \
+ ${WRKSRC}/libgnomevfs/libcharset/Makefile.in
+
.include <bsd.port.mk>
diff --git a/devel/gnomevfs/files/patch-libgnomevfs::libcharset::Makefile.in b/devel/gnomevfs/files/patch-libgnomevfs::libcharset::Makefile.in
index 090241b1c98..b28eeb05fff 100644
--- a/devel/gnomevfs/files/patch-libgnomevfs::libcharset::Makefile.in
+++ b/devel/gnomevfs/files/patch-libgnomevfs::libcharset::Makefile.in
@@ -1,14 +1,11 @@
-
-$FreeBSD$
-
---- libgnomevfs/libcharset/Makefile.in 2002/03/17 14:28:57 1.1
-+++ libgnomevfs/libcharset/Makefile.in 2002/03/17 14:30:13
+--- libgnomevfs/libcharset/Makefile.in.orig Mon May 6 15:14:48 2002
++++ libgnomevfs/libcharset/Makefile.in Mon May 6 15:33:22 2002
@@ -188,7 +188,7 @@
cxxflags_set = @cxxflags_set@
l = @l@
-INCLUDES = -DLIBDIR=\"$(libdir)\"
-+INCLUDES = -DLIBDIR=\"$(prefix)/libdata\"
++INCLUDES = -DLIBDIR=\"%%LOCALBASE%%/libdata\"
noinst_LTLIBRARIES = libcharset.la