diff options
author | joerg <joerg@pkgsrc.org> | 2006-06-04 12:57:11 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-06-04 12:57:11 +0000 |
commit | 075f6d5d1d3bff9cfcf8462d2e97c02587c892d5 (patch) | |
tree | c49e5fec64056d1c8217a0a41397312702687aea /parallel/dqs | |
parent | 4ad409b8275af80a00b5b35b88d79bc3b0c384a0 (diff) | |
download | pkgsrc-075f6d5d1d3bff9cfcf8462d2e97c02587c892d5.tar.gz |
Use config.* from pkgrsc.
Add DragonFly support.
Fix errno usage.
Force traditional cpp for Makefile generation.
Diffstat (limited to 'parallel/dqs')
-rw-r--r-- | parallel/dqs/Makefile | 6 | ||||
-rw-r--r-- | parallel/dqs/distinfo | 12 | ||||
-rw-r--r-- | parallel/dqs/patches/patch-ab | 13 | ||||
-rw-r--r-- | parallel/dqs/patches/patch-ad | 4 | ||||
-rw-r--r-- | parallel/dqs/patches/patch-ae | 4 | ||||
-rw-r--r-- | parallel/dqs/patches/patch-af | 8 | ||||
-rw-r--r-- | parallel/dqs/patches/patch-ag | 13 | ||||
-rw-r--r-- | parallel/dqs/patches/patch-ah | 13 |
8 files changed, 53 insertions, 20 deletions
diff --git a/parallel/dqs/Makefile b/parallel/dqs/Makefile index 9db3a8a7722..c243680eb18 100644 --- a/parallel/dqs/Makefile +++ b/parallel/dqs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2006/03/04 21:30:26 jlam Exp $ +# $NetBSD: Makefile,v 1.8 2006/06/04 12:57:11 joerg Exp $ # DISTNAME= DQS-3.3.2 @@ -28,6 +28,10 @@ EGDIR= ${PREFIX}/share/examples/dqs post-patch: ${ECHO} '#undef DEFAULT_HOST' >> ${WRKSRC}/SRC/dqs.h +pre-configure: + ${CP} ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC}/UTIL/config.guess + ${CP} ${PKGSRCDIR}/mk/gnu-config/config.sub ${WRKSRC}/UTIL/config.sub + post-install: ${INSTALL_DATA_DIR} ${DOCDIR} .for doc in ${DOCS} diff --git a/parallel/dqs/distinfo b/parallel/dqs/distinfo index 9899593f394..036e5cc6864 100644 --- a/parallel/dqs/distinfo +++ b/parallel/dqs/distinfo @@ -1,11 +1,13 @@ -$NetBSD: distinfo,v 1.6 2005/07/08 19:46:59 kristerw Exp $ +$NetBSD: distinfo,v 1.7 2006/06/04 12:57:11 joerg Exp $ SHA1 (DQS-3.3.2.tgz) = fbb165cc058dcbda8bcfa6dbead78e2f1a4f031e RMD160 (DQS-3.3.2.tgz) = eb32ef1cd8243b508fbee91710982637de185b7a Size (DQS-3.3.2.tgz) = 1498996 bytes SHA1 (patch-aa) = 0b9880000157f2c9795991d1441ccd48e817d300 -SHA1 (patch-ab) = c3b1c4561f450b5c0628eb4d84f40c7850c1fb84 +SHA1 (patch-ab) = 8cb54cb86c7558da60ff6fb329ca71a671a0dded SHA1 (patch-ac) = c72be633789525f73bb0e1415ff7b300b7576e7e -SHA1 (patch-ad) = dcc151f4648da1beabe9191e77e25c8792a65391 -SHA1 (patch-ae) = d048393c1a6c98e66049aeca67ffda49d6e40593 -SHA1 (patch-af) = ede6336939be8f2c8dd7d5a13f96f6e5b40b5a41 +SHA1 (patch-ad) = 6a7116cf60b9d4305257b233f2bc3dbeeddfc069 +SHA1 (patch-ae) = f1d1a8a370a65fcbd3144224387423bb46ed6054 +SHA1 (patch-af) = 41081707b3b4cbb2a5cd78adcd983f029362389e +SHA1 (patch-ag) = 76a7c43036a5be2952a1822e0871bc3dabb8806c +SHA1 (patch-ah) = 8d1a43c595981e0f148f44a3f5edb5368f18b5cb diff --git a/parallel/dqs/patches/patch-ab b/parallel/dqs/patches/patch-ab index 0aad598012a..cc553c5ed8e 100644 --- a/parallel/dqs/patches/patch-ab +++ b/parallel/dqs/patches/patch-ab @@ -1,13 +1,14 @@ -$NetBSD: patch-ab,v 1.1.1.1 2003/06/26 20:23:42 agc Exp $ +$NetBSD: patch-ab,v 1.2 2006/06/04 12:57:11 joerg Exp $ ---- SRC/globals.h 2000/12/12 07:24:12 1.8 -+++ SRC/globals.h 2002/09/18 11:13:49 -@@ -246,7 +246,7 @@ +--- SRC/globals.h.orig 2000-12-12 07:24:12.000000000 +0000 ++++ SRC/globals.h +@@ -245,8 +245,7 @@ static char globals_rcsid[]="$Id: global + * *--------------------------------------------------*/ - extern int errno; +-extern int errno; -#if !(defined(__linux__) && defined (__GLIBC__) && __GLIBC__ >=2) && !(defined(__FreeBSD__) & defined(__GNUC__) && __GNUC__ >=2) -+#if !(defined(__linux__) && defined (__GLIBC__) && __GLIBC__ >=2) && !(defined(__FreeBSD__) & defined(__GNUC__) && __GNUC__ >=2) && !defined(__NetBSD__) ++#if !(defined(__linux__) && defined (__GLIBC__) && __GLIBC__ >=2) && !(defined(__FreeBSD__) & defined(__GNUC__) && __GNUC__ >=2) && !defined(__NetBSD__) && !defined(__DragonFly__) extern char *sys_errlist[]; #endif #ifdef MAINPROGRAM diff --git a/parallel/dqs/patches/patch-ad b/parallel/dqs/patches/patch-ad index c550226def1..5476973c08a 100644 --- a/parallel/dqs/patches/patch-ad +++ b/parallel/dqs/patches/patch-ad @@ -1,4 +1,4 @@ -$NetBSD: patch-ad,v 1.1 2003/07/26 00:41:11 kristerw Exp $ +$NetBSD: patch-ad,v 1.2 2006/06/04 12:57:11 joerg Exp $ --- SRC/h.h.orig Fri Jul 25 23:21:58 2003 +++ SRC/h.h Fri Jul 25 23:24:06 2003 @@ -195,7 +195,7 @@ @@ -6,7 +6,7 @@ $NetBSD: patch-ad,v 1.1 2003/07/26 00:41:11 kristerw Exp $ #include <nlist.h> #endif -#if ( defined(i386) || defined(__MACH__) || defined(sun) || defined(solaris) || defined (SOLARIS23) || defined (SOLARIS24) || defined (SOLARIS25) || defined(NeXT) ) -+#if ( defined(i386) || defined(__MACH__) || defined(sun) || defined(solaris) || defined (SOLARIS23) || defined (SOLARIS24) || defined (SOLARIS25) || defined(NeXT) || defined(__NetBSD__)) ++#if ( defined(i386) || defined(__MACH__) || defined(sun) || defined(solaris) || defined (SOLARIS23) || defined (SOLARIS24) || defined (SOLARIS25) || defined(NeXT) || defined(__NetBSD__) || defined(__DragonFly__)) /* empty */ #else #include <sys/sysinfo.h> diff --git a/parallel/dqs/patches/patch-ae b/parallel/dqs/patches/patch-ae index fff4a1bd1f9..7e0d6a4b454 100644 --- a/parallel/dqs/patches/patch-ae +++ b/parallel/dqs/patches/patch-ae @@ -1,4 +1,4 @@ -$NetBSD: patch-ae,v 1.1 2003/07/26 00:41:11 kristerw Exp $ +$NetBSD: patch-ae,v 1.2 2006/06/04 12:57:11 joerg Exp $ --- SRC/def.h.orig Fri Jul 25 23:22:18 2003 +++ SRC/def.h Fri Jul 25 23:26:14 2003 @@ -753,7 +753,7 @@ @@ -6,7 +6,7 @@ $NetBSD: patch-ae,v 1.1 2003/07/26 00:41:11 kristerw Exp $ /* GETPGRP - get a process group */ -#if (defined(__sgi) || defined(__convex__) || defined(_AIX) || defined(i386) || defined (SVR3) || defined (__osf__) || defined(solaris)|| defined(SOLARIS23_UP) ) -+#if (defined(__sgi) || defined(__convex__) || defined(_AIX) || defined(i386) || defined (SVR3) || defined (__osf__) || defined(solaris)|| defined(SOLARIS23_UP) || defined(__NetBSD__)) ++#if (defined(__sgi) || defined(__convex__) || defined(_AIX) || defined(i386) || defined (SVR3) || defined (__osf__) || defined(solaris)|| defined(SOLARIS23_UP) || defined(__NetBSD__) || defined(__DragonFly__)) #define GETPGRP getpgrp() #else #define GETPGRP getpgrp(getpid()) diff --git a/parallel/dqs/patches/patch-af b/parallel/dqs/patches/patch-af index b02befaaed1..03ab6902ca0 100644 --- a/parallel/dqs/patches/patch-af +++ b/parallel/dqs/patches/patch-af @@ -1,4 +1,4 @@ -$NetBSD: patch-af,v 1.2 2004/09/10 20:23:46 wiz Exp $ +$NetBSD: patch-af,v 1.3 2006/06/04 12:57:11 joerg Exp $ --- SRC/Makefile.orig 1999-07-02 17:06:53.000000000 +0200 +++ SRC/Makefile @@ -7,7 +7,7 @@ $NetBSD: patch-af,v 1.2 2004/09/10 20:23:46 wiz Exp $ cp $(PROTO) Makefile.c echo "#define `../UTIL/config.guess 1`" | sed s/\\./_/g | sed s/-/_/g > Makefile.h - $(CC) -E Makefile.c | sed 's/\/ /\//g' | sed 's/ \//\//g' | sed 's/ ( BIN_DIR )/(BIN_DIR)/g' > Makefile.typ -+ $(CC) -E Makefile.c | sed 's/ / /g' | sed 's/\/ /\//g' | sed 's/ \//\//g' | sed 's/ ( BIN_DIR )/(BIN_DIR)/g' > Makefile.typ ++ $(CC) -traditional -E Makefile.c | sed 's/ / /g' | sed 's/\/ /\//g' | sed 's/ \//\//g' | sed 's/ ( BIN_DIR )/(BIN_DIR)/g' > Makefile.typ # rm -f Makefile.c @$(MAKE) -f Makefile.typ $@ @@ -16,7 +16,7 @@ $NetBSD: patch-af,v 1.2 2004/09/10 20:23:46 wiz Exp $ cp $(PROTO) Makefile.c echo "#define `../UTIL/config.guess 1`" | sed s/\\./_/g | sed s/-/_/g > Makefile.h - $(CC) -E Makefile.c | sed 's/\/ /\//g' | sed 's/ \//\//g' | sed 's/ ( BIN_DIR )/(BIN_DIR)/g' > Makefile.typ -+ $(CC) -E Makefile.c | sed 's/ / /g' | sed 's/\/ /\//g' | sed 's/ \//\//g' | sed 's/ ( BIN_DIR )/(BIN_DIR)/g' > Makefile.typ ++ $(CC) -traditional -E Makefile.c | sed 's/ / /g' | sed 's/\/ /\//g' | sed 's/ \//\//g' | sed 's/ ( BIN_DIR )/(BIN_DIR)/g' > Makefile.typ @$(MAKE) -f Makefile.typ $@ .DEFAULT : @@ -24,7 +24,7 @@ $NetBSD: patch-af,v 1.2 2004/09/10 20:23:46 wiz Exp $ cp $(PROTO) Makefile.c echo "#define `../UTIL/config.guess`" | sed s/\\./_/g | sed s/-/_/g > Makefile.h - $(CC) -E Makefile.c | sed 's/\/ /\//g' | sed 's/ \//\//g' | sed 's/ ( BIN_DIR )/(BIN_DIR)/g' > Makefile.typ -+ $(CC) -E Makefile.c | sed 's/ / /g' | sed 's/\/ /\//g' | sed 's/ \//\//g' | sed 's/ ( BIN_DIR )/(BIN_DIR)/g' > Makefile.typ ++ $(CC) -traditional -E Makefile.c | sed 's/ / /g' | sed 's/\/ /\//g' | sed 's/ \//\//g' | sed 's/ ( BIN_DIR )/(BIN_DIR)/g' > Makefile.typ # rm -f Makefile.c @$(MAKE) -f Makefile.typ $@ diff --git a/parallel/dqs/patches/patch-ag b/parallel/dqs/patches/patch-ag new file mode 100644 index 00000000000..5f018648ccc --- /dev/null +++ b/parallel/dqs/patches/patch-ag @@ -0,0 +1,13 @@ +$NetBSD: patch-ag,v 1.1 2006/06/04 12:57:11 joerg Exp $ + +--- SRC/dqs_mail.c.orig 2006-06-04 12:40:25.000000000 +0000 ++++ SRC/dqs_mail.c +@@ -74,7 +74,7 @@ static char dqs_mail_rcsid[]="$Id: dqs_m + #include "struct.h" + #include "func.h" + #include "globals.h" +-#include <sys/errno.h> ++#include <errno.h> + #include "dqs_errno.h" + + /************************************************************/ diff --git a/parallel/dqs/patches/patch-ah b/parallel/dqs/patches/patch-ah new file mode 100644 index 00000000000..c3cacad526b --- /dev/null +++ b/parallel/dqs/patches/patch-ah @@ -0,0 +1,13 @@ +$NetBSD: patch-ah,v 1.1 2006/06/04 12:57:11 joerg Exp $ + +--- tools/actf.c.orig 2006-06-04 12:40:42.000000000 +0000 ++++ tools/actf.c +@@ -1,7 +1,7 @@ + #include <stdio.h> + #include <time.h> + #include <sys/time.h> +-#include <sys/errno.h> ++#include <errno.h> + + FILE *f; + FILE *of; |