From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 14 10:30:22 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AF5E16A424 for ; Tue, 14 Mar 2006 10:30:22 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 955C343D48 for ; Tue, 14 Mar 2006 10:30:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2EAUEcP053153 for ; Tue, 14 Mar 2006 10:30:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2EAUEMw053152; Tue, 14 Mar 2006 10:30:14 GMT (envelope-from gnats) Resent-Date: Tue, 14 Mar 2006 10:30:14 GMT Resent-Message-Id: <200603141030.k2EAUEMw053152@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hiroto Kagotani Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D4E3A16A41F for ; Tue, 14 Mar 2006 10:28:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E22643D53 for ; Tue, 14 Mar 2006 10:28:41 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k2EASfJ4058032 for ; Tue, 14 Mar 2006 10:28:41 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k2EASfuN058031; Tue, 14 Mar 2006 10:28:41 GMT (envelope-from nobody) Message-Id: <200603141028.k2EASfuN058031@www.freebsd.org> Date: Tue, 14 Mar 2006 10:28:41 GMT From: Hiroto Kagotani To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/94442: [PATCH] www/mod_ruby: build fails with apache22 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Mar 2006 10:30:22 -0000 >Number: 94442 >Category: ports >Synopsis: [PATCH] www/mod_ruby: build fails with apache22 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Mar 14 10:30:13 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Hiroto Kagotani >Release: 6.1-BETA3 >Organization: Okayama Univ. >Environment: FreeBSD myhost.mydomain 6.1-BETA3 FreeBSD 6.1-BETA3 #10: Wed Mar 8 02:07:59 JST 2006 root@myhost.mydomain:/usr/obj/usr/src/sys/MYHOST i386 >Description: make in www/mod_ruby stops if I already have installed www/apache22. # make .. ===> Building for mod_ruby-1.2.5 cc -O2 -fno-strict-aliasing -pipe -fPIC -Wall -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/lib/ruby/1.8/i386-freebsd6 -I/usr/local/include/apache22 -c mod_ruby.c In file included from /usr/local/include/apache22/httpd.h:43, from mod_ruby.h:49, from mod_ruby.c:33: /usr/local/include/apache22/ap_config.h:25:17: apr.h: No such file or directory .. # This is caused by www/mod_ruby's assumption that apr headers are thestored in apache's include directory, though they are actually stored in /usr/local/include/apr-1 directory for apache21 and 22. >How-To-Repeat: >Fix: --- Makefile.orig Mon Feb 20 17:53:14 2006 +++ Makefile Tue Mar 14 09:19:26 2006 @@ -35,6 +35,10 @@ .include +.if exists(${LOCALBASE}/bin/apr-1-config) +CONFIGURE_ARGS+=--with-apr-includes="`${LOCALBASE}/bin/apr-1-config --includedir`" +.endif + do-configure: @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} ${RUBY_FLAGS} configure.rb ${CONFIGURE_ARGS} .if !defined(WITHOUT_PTHREADS) >Release-Note: >Audit-Trail: >Unformatted: