From owner-freebsd-mono@FreeBSD.ORG Fri Jul 3 09:01:43 2009 Return-Path: Delivered-To: mono@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0173A106564A for ; Fri, 3 Jul 2009 09:01:43 +0000 (UTC) (envelope-from arjoh@xs4all.nl) Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) by mx1.freebsd.org (Postfix) with ESMTP id 7457A8FC13 for ; Fri, 3 Jul 2009 09:01:42 +0000 (UTC) (envelope-from arjoh@xs4all.nl) Received: from xs6.xs4all.nl (xs6.xs4all.nl [194.109.21.6]) by smtp-vbr11.xs4all.nl (8.13.8/8.13.8) with ESMTP id n638hLOM099882 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 3 Jul 2009 10:43:21 +0200 (CEST) (envelope-from arjoh@xs4all.nl) Received: from xs6.xs4all.nl (arjoh@localhost [127.0.0.1]) by xs6.xs4all.nl (8.13.6/8.13.6) with ESMTP id n638hLWN062751 for ; Fri, 3 Jul 2009 10:43:21 +0200 (CEST) (envelope-from arjoh@xs4all.nl) Received: (from arjoh@localhost) by xs6.xs4all.nl (8.13.6/8.13.6/Submit) id n638hL9j062750 for mono@freebsd.org; Fri, 3 Jul 2009 10:43:21 +0200 (CEST) (envelope-from arjoh) Date: Fri, 3 Jul 2009 10:43:21 +0200 From: Arjo Hooimeijer To: mono@freebsd.org Message-ID: <20090703084321.GA61984@xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Subject: www/mod_mono patch error X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2009 09:01:43 -0000 Hi, On my FreeBSD 7.2-RELEASE-p1 amd64 system the www/mod_mono port fails with a patch error. I have included the 'make' output and configure.rej below. Thanks! Arjo make output: => mod_mono-2.4.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://ftp.novell.com/pub/mono/sources/mod_mono/. mod_mono-2.4.tar.bz2 100% of 262 kB 172 kBps ===> Extracting for mod_mono-2.4 => MD5 Checksum OK for mod_mono-2.4.tar.bz2. => SHA256 Checksum OK for mod_mono-2.4.tar.bz2. ===> Patching for mod_mono-2.4 ===> Applying FreeBSD patches for mod_mono-2.4 2 out of 2 hunks failed--saving rejects to configure.rej => Patch patch-configure failed to apply cleanly. => Patch(es) patch-Makefile.in applied cleanly. *** Error code 1 configure.rej: *************** *** 21250,21255 **** fi fi # last resort if test -z "$APXS"; then # Extract the first word of "apxs2", so it can be a program name with args. --- 21250,21269 ---- fi fi + if test -z "$APRCONFIG"; then + echo "$as_me:$LINENO: checking for apr-config in /usr/local/bin" >&5 + echo $ECHO_N "checking for apr-1-config in /usr/local/bin... $ECHO_C" >&6 + if test -x /usr/local/bin/apr-1-config; then + APRCONFIG=/usr/local/bin/apr-1-config + echo "$as_me:$LINENO: result: found, we'll use this. Use --with-apr-config to specify another." >&5 + echo "${ECHO_T}found, we'll use this. Use --with-apr-config to specify another." >&6 + else + echo "$as_me:$LINENO: result: no" >&5 + echo "${ECHO_T}no" >&6 + APRCONFIG="" + fi + fi + # last resort if test -z "$APXS"; then # Extract the first word of "apxs2", so it can be a program name with args. *************** *** 21386,21392 **** # determine LIBEXEC echo "$as_me:$LINENO: checking for Apache libexec directory" >&5 echo $ECHO_N "checking for Apache libexec directory... $ECHO_C" >&6 - APXS_LIBEXECDIR=`${APXS} -q LIBEXECDIR` echo "$as_me:$LINENO: result: $APXS_LIBEXECDIR" >&5 echo "${ECHO_T}$APXS_LIBEXECDIR" >&6 --- 21400,21406 ---- # determine LIBEXEC echo "$as_me:$LINENO: checking for Apache libexec directory" >&5 echo $ECHO_N "checking for Apache libexec directory... $ECHO_C" >&6 + APXS_LIBEXECDIR=`${APXS} -q LIBEXECDIR | sed -E "s|.*(/libexec/apache)|${prefix}\1|" ` echo "$as_me:$LINENO: result: $APXS_LIBEXECDIR" >&5 echo "${ECHO_T}$APXS_LIBEXECDIR" >&6