pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/wxGTK Make sure we follow PKGLOCALEDIR when instal...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b1d4612b525a
branches:  trunk
changeset: 498056:b1d4612b525a
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Thu Aug 11 00:47:23 2005 +0000

description:
Make sure we follow PKGLOCALEDIR when installing the locale files.  Fixes
install on solaris.  Bump PKGREVISION.

diffstat:

 x11/wxGTK/Makefile         |   3 ++-
 x11/wxGTK/Makefile.common  |   3 ++-
 x11/wxGTK/distinfo         |   4 ++--
 x11/wxGTK/patches/patch-ab |  29 +++++++++++++++++------------
 4 files changed, 23 insertions(+), 16 deletions(-)

diffs (98 lines):

diff -r 6679706ff2aa -r b1d4612b525a x11/wxGTK/Makefile
--- a/x11/wxGTK/Makefile        Thu Aug 11 00:05:51 2005 +0000
+++ b/x11/wxGTK/Makefile        Thu Aug 11 00:47:23 2005 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.43 2005/08/07 11:26:17 wiz Exp $
+# $NetBSD: Makefile,v 1.44 2005/08/11 00:47:23 dmcmahill Exp $
 #
 
 .include "Makefile.common"
 
+PKGREVISION=   1
 COMMENT=               GTK-based implementation of the wxWidgets GUI library
 
 post-install:
diff -r 6679706ff2aa -r b1d4612b525a x11/wxGTK/Makefile.common
--- a/x11/wxGTK/Makefile.common Thu Aug 11 00:05:51 2005 +0000
+++ b/x11/wxGTK/Makefile.common Thu Aug 11 00:47:23 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.3 2005/08/10 20:56:30 jlam Exp $
+# $NetBSD: Makefile.common,v 1.4 2005/08/11 00:47:23 dmcmahill Exp $
 #
 
 DISTNAME=              wxGTK-2.6.1
@@ -24,6 +24,7 @@
 CONFIGURE_ARGS+=       --with-opengl
 CONFIGURE_ARGS+=       --with-zlib=sys
 CONFIGURE_ENV+=                BUILDLINK_DIR=${BUILDLINK_DIR}
+MAKE_ENV+=             PKGLOCALEDIR=${PKGLOCALEDIR}
 
 CPPFLAGS+=             -Dunix=1        # src/common/unzip.c needs this
 
diff -r 6679706ff2aa -r b1d4612b525a x11/wxGTK/distinfo
--- a/x11/wxGTK/distinfo        Thu Aug 11 00:05:51 2005 +0000
+++ b/x11/wxGTK/distinfo        Thu Aug 11 00:47:23 2005 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.20 2005/08/07 11:26:17 wiz Exp $
+$NetBSD: distinfo,v 1.21 2005/08/11 00:47:23 dmcmahill Exp $
 
 SHA1 (wxGTK-2.6.1.tar.bz2) = 49142a4b827a4c8187eb60c76c85355f50058e8e
 RMD160 (wxGTK-2.6.1.tar.bz2) = 66f4a499b69dcffec7579472d238b637b986e7cd
 Size (wxGTK-2.6.1.tar.bz2) = 7205374 bytes
 SHA1 (patch-aa) = 884ab5b352119a37b2611e0538bf10914530a5d5
-SHA1 (patch-ab) = c7f91bffe1f5ac0a1d077f9625c61ad4c1c691bd
+SHA1 (patch-ab) = d39eaa09e91ac3da1b8b1b59f0fae6a42b31f2e4
 SHA1 (patch-ah) = c384584623b63004f59b4755ef32156f3d5687a0
diff -r 6679706ff2aa -r b1d4612b525a x11/wxGTK/patches/patch-ab
--- a/x11/wxGTK/patches/patch-ab        Thu Aug 11 00:05:51 2005 +0000
+++ b/x11/wxGTK/patches/patch-ab        Thu Aug 11 00:47:23 2005 +0000
@@ -1,9 +1,6 @@
-$NetBSD: patch-ab,v 1.12 2005/08/07 11:26:17 wiz Exp $
-
---- Makefile.in.orig   2005-06-02 18:03:05.000000000 +0200
-+++ Makefile.in
-@@ -23,7 +23,9 @@ PIC_FLAG = @PIC_FLAG@
- SONAME_FLAG = @SONAME_FLAG@
+--- Makefile.in.orig   2005-06-02 12:03:05.000000000 -0400
++++ Makefile.in        2005-08-10 15:28:16.561533000 -0400
+@@ -24,5 +24,7 @@
  STRIP = @STRIP@
  INSTALL_PROGRAM = @INSTALL_PROGRAM@
 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
@@ -11,18 +8,14 @@
 +INSTALL_DATA_DIR = @INSTALL_DATA_DIR@
  INSTALL_DIR = @INSTALL_DIR@
  srcdir = @srcdir@
- top_srcdir = @top_srcdir@
-@@ -1180,7 +1182,7 @@ LOCALE_LINGUAS = ca cs da de el es fi fr
- @COND_DEPS_TRACKING_1@CCC = $(top_builddir)./bk-deps $(CC)
+@@ -1181,5 +1183,5 @@
  @COND_DEPS_TRACKING_0@CXXC = $(CXX)
  @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
 -@COND_USE_PLUGINS_0@PLUGIN_ADV_EXTRALIBS = $(EXTRALIBS_SDL)
 +@COND_USE_PLUGINS_0@PLUGIN_ADV_EXTRALIBS = $(EXTRALIBS_SDL) $(LIBOSSAUDIO)
  @COND_USE_GUI_0@PORTNAME = base
  @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
- @COND_TOOLKIT_MAC@WXBASEPORT = _carbon
-@@ -9673,7 +9675,7 @@ samples: 
- install-wxconfig: 
+@@ -9674,14 +9676,14 @@
        $(INSTALL_DIR) $(DESTDIR)$(bindir)
        $(INSTALL_DIR) $(DESTDIR)$(libdir)/wx/config
 -      $(INSTALL_PROGRAM) lib/wx/config/$(TOOLCHAIN_FULLNAME) $(DESTDIR)$(libdir)/wx/config
@@ -30,3 +23,15 @@
        (cd $(DESTDIR)$(bindir) && rm -f wx-config && $(LN_S) $(DESTDIR)$(libdir)/wx/config/$(TOOLCHAIN_FULLNAME) wx-config)
  
  locale_install: 
+-      $(INSTALL_DIR) $(DESTDIR)$(datadir)/locale
++      $(INSTALL_DIR) $(DESTDIR)$(prefix)/${PKGLOCALEDIR}/locale
+       for l in $(LOCALE_LINGUAS) ; do \
+-      $(INSTALL_DIR) $(DESTDIR)$(datadir)/locale/$$l ; \
+-      $(INSTALL_DIR) $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES ; \
++      $(INSTALL_DIR) $(DESTDIR)$(prefix)/${PKGLOCALEDIR}/locale/$$l ; \
++      $(INSTALL_DIR) $(DESTDIR)$(prefix)/${PKGLOCALEDIR}/locale/$$l/LC_MESSAGES ; \
+       if test -f $(srcdir)/locale/$$l.mo ; then \
+-      $(INSTALL_DATA) $(srcdir)/locale/$$l.mo $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES/wxstd.mo ; \
++      $(INSTALL_DATA) $(srcdir)/locale/$$l.mo $(DESTDIR)$(prefix)/${PKGLOCALEDIR}/locale/$$l/LC_MESSAGES/wxstd.mo ; \
+       fi ; \
+       done



Home | Main Index | Thread Index | Old Index