pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Fixed wrong use of WRKSRC.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/11387d57eab5
branches:  trunk
changeset: 502288:11387d57eab5
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Nov 03 22:35:53 2005 +0000

description:
Fixed wrong use of WRKSRC.

diffstat:

 lang/hugs/Makefile                 |  15 ++++-----------
 lang/hugs/distinfo                 |  10 +++++-----
 lang/hugs/patches/patch-aa         |   6 +++---
 lang/hugs/patches/patch-ab         |   6 +++---
 lang/hugs/patches/patch-ac         |   6 +++---
 lang/hugs/patches/patch-ad         |   6 +++---
 net/IglooFTP/Makefile              |   6 +++---
 net/IglooFTP/distinfo              |   6 +++---
 net/IglooFTP/patches/patch-aa      |   6 +++---
 net/IglooFTP/patches/patch-ab      |   6 +++---
 net/dgd/Makefile                   |  14 +++++++-------
 net/dgd/distinfo                   |   4 ++--
 net/dgd/patches/patch-aa           |   6 +++---
 net/mDNSResponder/Makefile         |   8 ++++----
 net/mDNSResponder/distinfo         |   4 ++--
 net/mDNSResponder/patches/patch-aa |   6 +++---
 16 files changed, 54 insertions(+), 61 deletions(-)

diffs (truncated from 301 to 300 lines):

diff -r 48614eb8cc94 -r 11387d57eab5 lang/hugs/Makefile
--- a/lang/hugs/Makefile        Thu Nov 03 22:30:35 2005 +0000
+++ b/lang/hugs/Makefile        Thu Nov 03 22:35:53 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2005/09/28 20:52:23 rillig Exp $
+# $NetBSD: Makefile,v 1.32 2005/11/03 22:35:53 rillig Exp $
 
 DISTNAME=      hugs98-Dec2001
 PKGNAME=       hugs98-200112
@@ -10,9 +10,10 @@
 HOMEPAGE=      http://www.haskell.org/hugs/
 COMMENT=       Nottingham and Yale Haskell interpreter and programming environment
 
-WRKSRC=                        ${WRKDIR}/hugs98-Dec2001/src/unix
 GNU_CONFIGURE=         yes
+CONFIGURE_DIRS=                src/unix
 CONFIGURE_ARGS+=       --with-readline
+BUILD_DIRS=            src
 BUILD_TARGET=          default
 
 .include "../../mk/bsd.prefs.mk"
@@ -25,16 +26,8 @@
 
 INSTALLATION_DIRS=     man/man1
 
-do-build:
-       @cd ${WRKSRC}/.. && ${SETENV} ${MAKE_ENV} \
-               ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${BUILD_TARGET}
-
-do-install:
-       @cd ${WRKSRC}/.. && ${SETENV} ${MAKE_ENV} \
-               ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${INSTALL_TARGET}
-
 post-install:
-       ${INSTALL_MAN} ${WRKSRC}/../../docs/hugs.1 ${PREFIX}/man/man1/hugs.1
+       ${INSTALL_MAN} ${WRKSRC}/docs/hugs.1 ${PREFIX}/man/man1/hugs.1
 
 .include "../../devel/readline/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 48614eb8cc94 -r 11387d57eab5 lang/hugs/distinfo
--- a/lang/hugs/distinfo        Thu Nov 03 22:30:35 2005 +0000
+++ b/lang/hugs/distinfo        Thu Nov 03 22:35:53 2005 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.11 2005/02/24 09:03:08 agc Exp $
+$NetBSD: distinfo,v 1.12 2005/11/03 22:35:53 rillig Exp $
 
 SHA1 (hugs98-Dec2001.tar.gz) = 0980e3bbd21a6f5bc8ab1658a90be2a4dec35007
 RMD160 (hugs98-Dec2001.tar.gz) = c10c5279ef4f06b753750dca7854791e5664b314
 Size (hugs98-Dec2001.tar.gz) = 821812 bytes
-SHA1 (patch-aa) = c7e05ca44740a4a39595ab95149e6064b9d99ca9
-SHA1 (patch-ab) = 81d75e31db129be9f3e38e330c6c7f3cca375784
-SHA1 (patch-ac) = 4fa190a3aaec5c3fc64c7cf693ace5cb6786c430
-SHA1 (patch-ad) = fc0ed4a99eecd8c89096ba9f30567564701e4070
+SHA1 (patch-aa) = 91c3ac30eb7b89e7866ed69711a067849bd2b279
+SHA1 (patch-ab) = 0c5f3f41048c4220726b3c95cc88e1a4a8be19c8
+SHA1 (patch-ac) = 4e4826187298b36c38397ba3578753ab5535ee27
+SHA1 (patch-ad) = c39e30d9b46605c69b17fdd4a5ac0846e821f463
diff -r 48614eb8cc94 -r 11387d57eab5 lang/hugs/patches/patch-aa
--- a/lang/hugs/patches/patch-aa        Thu Nov 03 22:30:35 2005 +0000
+++ b/lang/hugs/patches/patch-aa        Thu Nov 03 22:35:53 2005 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.4 2001/05/22 06:38:09 jlam Exp $
+$NetBSD: patch-aa,v 1.5 2005/11/03 22:35:53 rillig Exp $
 
---- ../MkInstal.in.orig        Tue Feb 29 05:29:00 2000
-+++ ../MkInstal.in     Tue May 22 02:32:45 2001
+--- src/MkInstal.in.orig       Tue Feb 29 05:29:00 2000
++++ src/MkInstal.in    Tue May 22 02:32:45 2001
 @@ -10,8 +10,8 @@
  # multiple files at once.
  ################################################################
diff -r 48614eb8cc94 -r 11387d57eab5 lang/hugs/patches/patch-ab
--- a/lang/hugs/patches/patch-ab        Thu Nov 03 22:30:35 2005 +0000
+++ b/lang/hugs/patches/patch-ab        Thu Nov 03 22:35:53 2005 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-ab,v 1.2 2001/05/22 06:38:09 jlam Exp $
+$NetBSD: patch-ab,v 1.3 2005/11/03 22:35:53 rillig Exp $
 
---- ../prelude.h.orig  Thu May 27 23:29:25 1999
-+++ ../prelude.h       Sat May 20 04:06:55 2000
+--- src/prelude.h.orig Thu May 27 23:29:25 1999
++++ src/prelude.h      Sat May 20 04:06:55 2000
 @@ -566,10 +566,12 @@
   * eval, print loop
   */
diff -r 48614eb8cc94 -r 11387d57eab5 lang/hugs/patches/patch-ac
--- a/lang/hugs/patches/patch-ac        Thu Nov 03 22:30:35 2005 +0000
+++ b/lang/hugs/patches/patch-ac        Thu Nov 03 22:35:53 2005 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-ac,v 1.3 2002/04/09 02:59:15 markd Exp $
+$NetBSD: patch-ac,v 1.4 2005/11/03 22:35:53 rillig Exp $
 
---- configure.orig     Sat Dec 15 16:20:04 2001
-+++ configure  Fri Mar 15 15:01:38 2002
+--- src/unix/configure.orig    Sat Dec 15 16:20:04 2001
++++ src/unix/configure Fri Mar 15 15:01:38 2002
 @@ -4608,8 +4608,8 @@
    -Wno-parentheses \
    "
diff -r 48614eb8cc94 -r 11387d57eab5 lang/hugs/patches/patch-ad
--- a/lang/hugs/patches/patch-ad        Thu Nov 03 22:30:35 2005 +0000
+++ b/lang/hugs/patches/patch-ad        Thu Nov 03 22:35:53 2005 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-ad,v 1.3 2003/06/23 21:24:34 jtb Exp $
+$NetBSD: patch-ad,v 1.4 2005/11/03 22:35:53 rillig Exp $
 
---- ../input.c.orig
-+++ ../input.c
+--- src/input.c.orig
++++ src/input.c
 @@ -313,7 +313,7 @@
  static char *lineBuffer = NULL;   /* getline() does the initial allocation */
  #else
diff -r 48614eb8cc94 -r 11387d57eab5 net/IglooFTP/Makefile
--- a/net/IglooFTP/Makefile     Thu Nov 03 22:30:35 2005 +0000
+++ b/net/IglooFTP/Makefile     Thu Nov 03 22:35:53 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2005/06/01 18:03:07 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2005/11/03 22:39:38 rillig Exp $
 
 DISTNAME=      IglooFTP-0.6.1
 PKGREVISION=   4
@@ -11,10 +11,10 @@
 HOMEPAGE=      http://www.littleigloo.org/iglooftp.php3
 COMMENT=       Easy to use FTP client for X Window System
 
-WRKSRC=                ${WRKDIR}/${DISTNAME}/src
+BUILD_DIRS=    src
 
 post-extract:
-       ${RM} ${WRKSRC}/../share/docs/LICENSE~
+       ${RM} ${WRKSRC}/share/docs/LICENSE~
 
 .include "../../x11/gtk/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 48614eb8cc94 -r 11387d57eab5 net/IglooFTP/distinfo
--- a/net/IglooFTP/distinfo     Thu Nov 03 22:30:35 2005 +0000
+++ b/net/IglooFTP/distinfo     Thu Nov 03 22:35:53 2005 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 12:13:41 agc Exp $
+$NetBSD: distinfo,v 1.4 2005/11/03 22:39:38 rillig Exp $
 
 SHA1 (IglooFTP-0.6.1.src.tar.gz) = ab56bc6c15dc81525b8e987ae5fc15e562f92eed
 RMD160 (IglooFTP-0.6.1.src.tar.gz) = 7f0971ec857542d96a09dffc9db8a3544df38fae
 Size (IglooFTP-0.6.1.src.tar.gz) = 300553 bytes
-SHA1 (patch-aa) = 8016e43c95b53c38a39acaeeac3c72876fc9004a
-SHA1 (patch-ab) = 7f3b7c383099e4889618f6dafcc76e320278aec9
+SHA1 (patch-aa) = 62f8e163e4b4fa3842732c11beb712bbd3a7448a
+SHA1 (patch-ab) = 95acf4685cf1da0ce04afc86f92ce201b24324e5
diff -r 48614eb8cc94 -r 11387d57eab5 net/IglooFTP/patches/patch-aa
--- a/net/IglooFTP/patches/patch-aa     Thu Nov 03 22:30:35 2005 +0000
+++ b/net/IglooFTP/patches/patch-aa     Thu Nov 03 22:35:53 2005 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.2 2002/10/13 11:50:11 wiz Exp $
+$NetBSD: patch-aa,v 1.3 2005/11/03 22:39:38 rillig Exp $
 
---- Makefile.orig      Fri Apr 16 00:05:15 1999
-+++ Makefile
+--- src/Makefile.orig  Fri Apr 16 00:05:15 1999
++++ src/Makefile
 @@ -1,14 +1,13 @@
  SHELL=/bin/sh
 -CC = gcc
diff -r 48614eb8cc94 -r 11387d57eab5 net/IglooFTP/patches/patch-ab
--- a/net/IglooFTP/patches/patch-ab     Thu Nov 03 22:30:35 2005 +0000
+++ b/net/IglooFTP/patches/patch-ab     Thu Nov 03 22:35:53 2005 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-ab,v 1.1.1.1 2002/07/11 21:40:41 agc Exp $
+$NetBSD: patch-ab,v 1.2 2005/11/03 22:39:38 rillig Exp $
 
---- FTP.c.orig Thu Apr 15 20:05:13 1999
-+++ FTP.c      Mon May  3 12:59:56 1999
+--- src/FTP.c.orig     Thu Apr 15 20:05:13 1999
++++ src/FTP.c  Mon May  3 12:59:56 1999
 @@ -15,12 +15,12 @@
   */
  
diff -r 48614eb8cc94 -r 11387d57eab5 net/dgd/Makefile
--- a/net/dgd/Makefile  Thu Nov 03 22:30:35 2005 +0000
+++ b/net/dgd/Makefile  Thu Nov 03 22:35:53 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2005/07/15 18:27:52 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2005/11/03 22:37:28 rillig Exp $
 
 DISTNAME=      dgd-1.2p4
 PKGNAME=       dgd-1.2.0.4
@@ -13,20 +13,20 @@
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
-WRKSRC=                ${WRKDIR}/dgd/src
-
-USE_TOOLS+=    gtar
+USE_TOOLS+=            gtar
+WRKSRC=                        ${WRKDIR}/dgd
+BUILD_DIRS=            src
 
 SUBST_CLASSES+=                paths
 SUBST_MESSAGE.paths=   "Fixing hardcoded paths and command names."
 SUBST_STAGE.paths=     post-patch
-SUBST_FILES.paths=     ../mud.dgd
+SUBST_FILES.paths=     mud.dgd
 SUBST_SED.paths=       -e 's,/home/dworkin/,${PREFIX}/libdata/,g'
 
 INSTALLATION_DIRS=     libexec
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/a.out ${PREFIX}/libexec/dgd
+       ${INSTALL_PROGRAM} ${WRKSRC}/src/a.out ${PREFIX}/libexec/dgd
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dgd
        ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dgd
        ${INSTALL_DATA_DIR} ${PREFIX}/libdata/dgd/tmp
@@ -37,6 +37,6 @@
        ${GTAR} cCf ${WRKDIR}/dgd - mud | ${GTAR} xCf ${PREFIX}/libdata/dgd -
        ${CHOWN} -R ${BINOWN}:${BINGRP}  ${PREFIX}/libdata/dgd \
                ${PREFIX}/share/doc/dgd
-       ${INSTALL_DATA} ${WRKSRC}/../mud.dgd ${PREFIX}/share/examples/dgd
+       ${INSTALL_DATA} ${WRKSRC}/mud.dgd ${PREFIX}/share/examples/dgd
 
 .include "../../mk/bsd.pkg.mk"
diff -r 48614eb8cc94 -r 11387d57eab5 net/dgd/distinfo
--- a/net/dgd/distinfo  Thu Nov 03 22:30:35 2005 +0000
+++ b/net/dgd/distinfo  Thu Nov 03 22:35:53 2005 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2005/02/24 12:13:45 agc Exp $
+$NetBSD: distinfo,v 1.6 2005/11/03 22:37:28 rillig Exp $
 
 SHA1 (dgd-1.2p4.tar.gz) = 7a42cf6534ad114ab2eca6638414d5dd5595342a
 RMD160 (dgd-1.2p4.tar.gz) = 1c6f5e8e6783ba29d8933bef2c365031e32be77f
 Size (dgd-1.2p4.tar.gz) = 472205 bytes
-SHA1 (patch-aa) = 9926a03ca84c0d9473b0f3ee7bd19167b11c3579
+SHA1 (patch-aa) = 9253e211eb82fb06ea7771e2dbd37d9c53ea1435
diff -r 48614eb8cc94 -r 11387d57eab5 net/dgd/patches/patch-aa
--- a/net/dgd/patches/patch-aa  Thu Nov 03 22:30:35 2005 +0000
+++ b/net/dgd/patches/patch-aa  Thu Nov 03 22:35:53 2005 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.2 2004/03/08 01:56:53 minskim Exp $
+$NetBSD: patch-aa,v 1.3 2005/11/03 22:37:28 rillig Exp $
 
---- Makefile.orig      2002-08-26 08:21:20.000000000 -0500
-+++ Makefile
+--- src/Makefile.orig  2002-08-26 08:21:20.000000000 -0500
++++ src/Makefile
 @@ -5,11 +5,11 @@ HOST=        NETBSD
  DEFINES=-D$(HOST) #-DDUMP_FUNCS
  DEBUG=        -O2
diff -r 48614eb8cc94 -r 11387d57eab5 net/mDNSResponder/Makefile
--- a/net/mDNSResponder/Makefile        Thu Nov 03 22:30:35 2005 +0000
+++ b/net/mDNSResponder/Makefile        Thu Nov 03 22:35:53 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2005/08/21 13:40:24 grant Exp $
+# $NetBSD: Makefile,v 1.8 2005/11/03 22:40:58 rillig Exp $
 
 DISTNAME=      mDNSResponder-107.1
 PKGREVISION=   1
@@ -10,8 +10,8 @@
 COMMENT=       Apple's mDNS responder
 
 USE_TOOLS=     gmake
-WRKSRC=                ${WRKDIR}/${DISTNAME}/mDNSPosix
-BUILDDIR=      ${WRKSRC}/build/prod
+BUILD_DIRS=    mDNSPosix
+BUILDDIR=      ${WRKSRC}/mDNSPosix/build/prod
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -53,7 +53,7 @@
        for i in ${SBINARY}; do \
                ${INSTALL_PROGRAM} ${BUILDDIR}/$$i ${PREFIX}/sbin; \
        done
-       ${INSTALL_DATA} ${WRKSRC}/../mDNSShared/dns_sd.h ${PREFIX}/include
+       ${INSTALL_DATA} ${WRKSRC}/mDNSShared/dns_sd.h ${PREFIX}/include
        ${INSTALL_LIB} ${BUILDDIR}/libdns_sd.${SO_SUFFIX} ${PREFIX}/lib
 
 .include "../../mk/pthread.buildlink3.mk"
diff -r 48614eb8cc94 -r 11387d57eab5 net/mDNSResponder/distinfo
--- a/net/mDNSResponder/distinfo        Thu Nov 03 22:30:35 2005 +0000
+++ b/net/mDNSResponder/distinfo        Thu Nov 03 22:35:53 2005 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2005/08/19 21:56:59 reed Exp $
+$NetBSD: distinfo,v 1.6 2005/11/03 22:40:58 rillig Exp $
 
 SHA1 (mDNSResponder-107.1.tar.gz) = 272c97dce83cea643a75ddd46a6e7d4c4e05d1ef
 RMD160 (mDNSResponder-107.1.tar.gz) = 3415d6e17aa44ce1f25b15d5f57af67d48280d08
 Size (mDNSResponder-107.1.tar.gz) = 1325181 bytes
-SHA1 (patch-aa) = 44b6130e6ac23bca2529c52b59c11bb8da3cbcf8
+SHA1 (patch-aa) = 628da397c9ee54c72224c08dc2dcffac3d831538
diff -r 48614eb8cc94 -r 11387d57eab5 net/mDNSResponder/patches/patch-aa
--- a/net/mDNSResponder/patches/patch-aa        Thu Nov 03 22:30:35 2005 +0000
+++ b/net/mDNSResponder/patches/patch-aa        Thu Nov 03 22:35:53 2005 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.2 2005/08/19 21:56:59 reed Exp $
+$NetBSD: patch-aa,v 1.3 2005/11/03 22:40:58 rillig Exp $
 
---- Makefile.orig      Sat Jun 11 22:44:40 2005
-+++ Makefile
+--- mDNSPosix/Makefile.orig    Sat Jun 11 22:44:40 2005
++++ mDNSPosix/Makefile
 @@ -233,7 +233,7 @@ RM = rm
  LN = ln -s -f



Home | Main Index | Thread Index | Old Index