ports/67974: apache13-modperl does not handle WITHOUT_APACHE_EXPAT properly

Alexey Mahotkin alexm at w-m.ru
Tue Jun 15 13:40:29 UTC 2004


>Number:         67974
>Category:       ports
>Synopsis:       apache13-modperl does not handle WITHOUT_APACHE_EXPAT properly
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 15 13:40:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Alexey Mahotkin
>Release:        4.10-RELEASE
>Organization:
http://www.w-m.ru/
>Environment:
FreeBSD some.machine.org 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Tue May 25 22:47:12 GMT 2004     root at perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
      EXPAT_CONF variable is not added to './configure' arguments when building apache13-modperl.  So, it is not possible to disable builtin expat.  So, XML::Parser is linked with wrong libexpat, and apache segfaults. 

apache13 is ok.  
>How-To-Repeat:
      cd /usr/ports/www/apache13-modperl
      make WITHOUT_APACHE_EXPAT=yes

See that it still says "+ using builtin expat";

>Fix:
      --- Makefile.orig       Tue Jun 15 17:27:28 2004
+++ Makefile    Tue Jun 15 16:17:48 2004
@@ -96,6 +96,7 @@
                --enable-shared=max \
                --activate-module=src/modules/perl/libperl.a \
                --enable-module=perl \
+               ${EXPAT_CONF} \
                ${SUEXEC_CONF}
 
 CFLAGS+=-DDOCUMENT_LOCATION=\\\\\"${DOCUMENT_ROOT}\\\\\" \

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list