ports/117233: [PATCH] www/apache13-modssl: fix start on 7.0-PRERELEASE
Alexander Logvinov
ports at logvinov.com
Tue Oct 16 06:30:03 UTC 2007
>Number: 117233
>Category: ports
>Synopsis: [PATCH] www/apache13-modssl: fix start on 7.0-PRERELEASE
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 16 06:30:02 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Alexander Logvinov
>Release: FreeBSD 7.0-PRERELEASE i386
>Organization:
>Environment:
>Description:
After updating from 6.2-RELEASE to 7.0-PRERELEASE and rebuilding ports I can't load apache.
This patch based on patch-ae of www/apache13 resolves this problem.
>How-To-Repeat:
# /usr/local/etc/rc.d/apache.sh start
Starting apache.
Syntax error on line 205 of /usr/local/etc/apache/httpd.conf:
Cannot load /usr/local/libexec/apache/mod_mmap_static.so into server: /usr/local/libexec/apache/mod_mmap_static.so: Undefined symbol "ap_null_cleanup"
>Fix:
Index: files/patch-Configure
===================================================================
RCS file: /home/pcvs/ports/www/apache13-modssl/files/patch-Configure,v
retrieving revision 1.2
diff -u -r1.2 patch-Configure
--- files/patch-Configure 16 Sep 2007 20:05:49 -0000 1.2
+++ files/patch-Configure 16 Oct 2007 06:18:41 -0000
@@ -20,7 +20,7 @@
esac
done
echo " + using \"$uppercase\" to uppercase"
-@@ -1080,7 +1080,7 @@
+@@ -1080,17 +1080,11 @@
;;
*-freebsd[3-9]*)
LD_SHLIB="gcc"
@@ -28,4 +28,14 @@
+ CFLAGS_SHLIB="-fPIC"
LDFLAGS_SHLIB="-shared"
LDFLAGS_MOD_SHLIB=$LDFLAGS_SHLIB
- OBJFORMAT=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+- OBJFORMAT=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+- if [ "x$OBJFORMAT" = "xelf" ]; then
+ LDFLAGS_SHLIB_EXPORT="-Wl,-E"
+ SHLIB_SUFFIX_DEPTH=0
+- else
+- LDFLAGS_SHLIB_EXPORT=""
+- SHLIB_SUFFIX_DEPTH=2
+- fi
+ ;;
+ *-openbsd*)
+ PLATOSVERS=`echo $PLAT | sed 's/^.*openbsd//'`
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list