www/mod_mono patch error

Arjo Hooimeijer arjo.hooimeijer at xs4all.nl
Fri Jul 3 09:01:43 UTC 2009


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



More information about the freebsd-mono mailing list