Date: Tue, 16 Oct 2007 16:29:24 +1000 (YAKST) From: Alexander Logvinov <ports@logvinov.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: dinoex@FreeBSD.org Subject: ports/117233: [PATCH] www/apache13-modssl: fix start on 7.0-PRERELEASE Message-ID: <200710160629.l9G6TOtM077983@blg.akavia.ru> Resent-Message-ID: <200710160630.l9G6U3KQ059480@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710160629.l9G6TOtM077983>