pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel Reset WRKSRC settings, use CONFIGURE_DIRS instead.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1842c5edd53d
branches:  trunk
changeset: 570921:1842c5edd53d
user:      obache <obache%pkgsrc.org@localhost>
date:      Fri Feb 05 08:44:03 2010 +0000

description:
Reset WRKSRC settings, use CONFIGURE_DIRS instead.

This package are using some files outside of the directory specified by WRKSRC,
(ex. ../build-aux/config.*).  But some pkgsrc checks/replacements/modifications
are only effect to below ${WRKSRC}.

diffstat:

 devel/gettext-asprintf/Makefile    |  7 +++----
 devel/gettext-lib/Makefile         |  7 +++----
 devel/gettext-lib/distinfo         |  8 ++++----
 devel/gettext-lib/patches/patch-aa |  6 +++---
 devel/gettext-lib/patches/patch-ab |  6 +++---
 devel/gettext-lib/patches/patch-ac |  6 +++---
 6 files changed, 19 insertions(+), 21 deletions(-)

diffs (111 lines):

diff -r 7fe5f93365da -r 1842c5edd53d devel/gettext-asprintf/Makefile
--- a/devel/gettext-asprintf/Makefile   Fri Feb 05 05:09:19 2010 +0000
+++ b/devel/gettext-asprintf/Makefile   Fri Feb 05 08:44:03 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2008/06/20 01:09:12 joerg Exp $
+# $NetBSD: Makefile,v 1.7 2010/02/05 08:44:03 obache Exp $
 
 DISTNAME=      gettext-0.14.6
 PKGNAME=       gettext-asprintf-0.14.6
@@ -12,13 +12,12 @@
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 PKG_DESTDIR_SUPPORT=   user-destdir
 
-WRKSRC=                        ${WRKDIR}/${DISTNAME}/gettext-runtime
-
 USE_LANGUAGES=         c c++
 USE_LIBTOOL=           yes
 GNU_CONFIGURE=         yes
 
-BUILD_DIRS=            libasprintf
+CONFIGURE_DIRS=                gettext-runtime
+BUILD_DIRS=            gettext-runtime/libasprintf
 
 INFO_FILES=            yes
 
diff -r 7fe5f93365da -r 1842c5edd53d devel/gettext-lib/Makefile
--- a/devel/gettext-lib/Makefile        Fri Feb 05 05:09:19 2010 +0000
+++ b/devel/gettext-lib/Makefile        Fri Feb 05 08:44:03 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2008/06/20 01:09:12 joerg Exp $
+# $NetBSD: Makefile,v 1.48 2010/02/05 08:44:03 obache Exp $
 
 DISTNAME=      gettext-0.14.6
 PKGNAME=       gettext-lib-0.14.6
@@ -15,8 +15,6 @@
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 PKG_DESTDIR_SUPPORT=   user-destdir
 
-WRKSRC=                        ${WRKDIR}/${DISTNAME}/gettext-runtime
-
 USE_LIBTOOL=           yes
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --with-included-gettext
@@ -29,7 +27,8 @@
 
 INSTALL_MAKE_FLAGS=    ${MAKE_FLAGS} localedir=${EGDIR}
 
-BUILD_DIRS=            intl
+CONFIGURE_DIRS=                gettext-runtime
+BUILD_DIRS=            gettext-runtime/intl
 EGDIR=                 ${PREFIX}/share/examples/gettext
 LOCALEDIR=             ${PREFIX}/${PKGLOCALEDIR}/locale
 
diff -r 7fe5f93365da -r 1842c5edd53d devel/gettext-lib/distinfo
--- a/devel/gettext-lib/distinfo        Fri Feb 05 05:09:19 2010 +0000
+++ b/devel/gettext-lib/distinfo        Fri Feb 05 08:44:03 2010 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.14 2006/07/26 06:53:02 adam Exp $
+$NetBSD: distinfo,v 1.15 2010/02/05 08:44:03 obache Exp $
 
 SHA1 (gettext-0.14.6.tar.gz) = 0d8ce8d9a09a719065a1530399c4f45c15a002c5
 RMD160 (gettext-0.14.6.tar.gz) = 02138d12fd4d9ce0b3bda2d132f1569b30d16726
 Size (gettext-0.14.6.tar.gz) = 7102365 bytes
-SHA1 (patch-aa) = fea57fe492c342ed816a43632e63abd21853a0ee
-SHA1 (patch-ab) = 2195304902fe17cd97c243a6bc395de1484a50c4
-SHA1 (patch-ac) = f7695a44cdb85a4f6d9b97872425acb4b74519c9
+SHA1 (patch-aa) = b0d25a2e9547649a3d6d583bdfc98255dcafbf90
+SHA1 (patch-ab) = fc4da46f6f7003c22880455dfe66ff161aa92135
+SHA1 (patch-ac) = 7097eecac165b0462e7bf270c58ed7cdb3bff94e
diff -r 7fe5f93365da -r 1842c5edd53d devel/gettext-lib/patches/patch-aa
--- a/devel/gettext-lib/patches/patch-aa        Fri Feb 05 05:09:19 2010 +0000
+++ b/devel/gettext-lib/patches/patch-aa        Fri Feb 05 08:44:03 2010 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.5 2006/07/09 18:13:29 tonio Exp $
+$NetBSD: patch-aa,v 1.6 2010/02/05 08:44:04 obache Exp $
 
---- intl/localcharset.c.orig   2005-05-20 13:07:51.000000000 -0700
-+++ intl/localcharset.c
+--- gettext-runtime/intl/localcharset.c.orig   2005-05-20 13:07:51.000000000 -0700
++++ gettext-runtime/intl/localcharset.c
 @@ -23,6 +23,10 @@
  # include <config.h>
  #endif
diff -r 7fe5f93365da -r 1842c5edd53d devel/gettext-lib/patches/patch-ab
--- a/devel/gettext-lib/patches/patch-ab        Fri Feb 05 05:09:19 2010 +0000
+++ b/devel/gettext-lib/patches/patch-ab        Fri Feb 05 08:44:03 2010 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-ab,v 1.3 2006/02/05 22:45:54 joerg Exp $
+$NetBSD: patch-ab,v 1.4 2010/02/05 08:44:04 obache Exp $
 
---- intl/Makefile.in.orig      Thu Jul 25 08:49:57 2002
-+++ intl/Makefile.in   Mon Mar 15 14:39:58 2004
+--- gettext-runtime/intl/Makefile.in.orig      Thu Jul 25 08:49:57 2002
++++ gettext-runtime/intl/Makefile.in   Mon Mar 15 14:39:58 2004
 @@ -156,8 +156,7 @@ libintl.la libgnuintl.la: $(OBJECTS)
          $(CC) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) $(LDFLAGS) -o $@ \
          $(OBJECTS) @LTLIBICONV@ @INTL_MACOSX_LIBS@ $(LIBS) -lc \
diff -r 7fe5f93365da -r 1842c5edd53d devel/gettext-lib/patches/patch-ac
--- a/devel/gettext-lib/patches/patch-ac        Fri Feb 05 05:09:19 2010 +0000
+++ b/devel/gettext-lib/patches/patch-ac        Fri Feb 05 08:44:03 2010 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-ac,v 1.2 2006/02/05 22:45:54 joerg Exp $
+$NetBSD: patch-ac,v 1.3 2010/02/05 08:44:04 obache Exp $
 
---- intl/dcigettext.c.orig     2005-05-20 20:06:17.000000000 +0000
-+++ intl/dcigettext.c
+--- gettext-runtime/intl/dcigettext.c.orig     2005-05-20 20:06:17.000000000 +0000
++++ gettext-runtime/intl/dcigettext.c
 @@ -243,7 +243,9 @@ struct known_translation_t
  /* Root of the search tree with known translations.  We can use this
     only if the system provides the `tsearch' function family.  */



Home | Main Index | Thread Index | Old Index