From ea3eb255c8e53b1818814abb27381211b135d4fe Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 25 Jan 2006 15:28:43 +0000 Subject: Add DragonFly support, fix errno. --- sysutils/xapply/distinfo | 4 ++-- sysutils/xapply/files/makeme | 4 ++-- sysutils/xapply/patches/patch-aa | 12 ++++++------ 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'sysutils/xapply') diff --git a/sysutils/xapply/distinfo b/sysutils/xapply/distinfo index 5a0c1b20b6c..48e454a2528 100644 --- a/sysutils/xapply/distinfo +++ b/sysutils/xapply/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.3 2005/07/02 16:52:59 epg Exp $ +$NetBSD: distinfo,v 1.4 2006/01/25 15:28:43 joerg Exp $ SHA1 (xapply-3.4.tgz) = 3e5a6a01c7fc1c27b1ec68fd607563ba0400f3cb RMD160 (xapply-3.4.tgz) = 9f0bd23374dd260118db642a7373607eeda8d2c7 Size (xapply-3.4.tgz) = 31354 bytes -SHA1 (patch-aa) = cc9413bc79cc258a253d414530808e56f143adc4 +SHA1 (patch-aa) = a75dc1b4f44250a1d58b9c60e975ba75b3ccc7d5 diff --git a/sysutils/xapply/files/makeme b/sysutils/xapply/files/makeme index 518653c12f5..b8b919cd4c0 100644 --- a/sysutils/xapply/files/makeme +++ b/sysutils/xapply/files/makeme @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: makeme,v 1.2 2005/04/06 15:48:17 epg Exp $ +# $Id: makeme,v 1.3 2006/01/25 15:28:43 joerg Exp $ # This hack won't work for every trick you can play with /usr/msrc. # If the Distfile sends different files to the various platforms, or # builds a file on the meta source machine with a special tool or @@ -39,7 +39,7 @@ if [ -z "$HOSTTYPE" ] ; then HOSTTYPE="NEXT2" ;; *Solaris*|*[Ss]un[Oo][Ss]*) HOSTTYPE="SUN5" ;; - Darwin*|*BSD*) + Darwin*|*BSD*|DragonFly*) HOSTTYPE="FREEBSD" ;; BSDI*) HOSTTYPE="BSDI" ;; diff --git a/sysutils/xapply/patches/patch-aa b/sysutils/xapply/patches/patch-aa index 6d020bed394..f8cc2ce77a1 100644 --- a/sysutils/xapply/patches/patch-aa +++ b/sysutils/xapply/patches/patch-aa @@ -1,14 +1,14 @@ -$NetBSD: patch-aa,v 1.1 2005/07/02 16:53:00 epg Exp $ +$NetBSD: patch-aa,v 1.2 2006/01/25 15:28:43 joerg Exp $ --- bin/xapply/xapply.m.orig 2000-08-01 08:21:25.000000000 -0400 +++ bin/xapply/xapply.m -@@ -56,8 +56,7 @@ integer 'P' { - - char* 'S' { +@@ -30,3 +30,2 @@ static char rcsid[] = + extern char **environ; +-extern int errno; + %% +@@ -58,4 +57,3 @@ char* 'S' { named "pcShell" - init getenv "SHELL" - before 'if ((char *)0 == %n) {%n = "%D/sh/pv";}' + before 'if ((char *)0 == %n) {%n = "/bin/sh";}' param "shell" - help "the shell to run tasks under" - } -- cgit v1.2.3