Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Aug 1998 21:46:35 +0200 (CEST)
From:      Stefan Eggers <seggers@semyam.dinoco.de>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Cc:        seggers@semyam.dinoco.de
Subject:   ports/7472: apache12 doesn't build on -current
Message-ID:  <199808021946.VAA06084@semyam.dinoco.de>

next in thread | raw e-mail | index | archive | help

>Number:         7472
>Category:       ports
>Synopsis:       apache12 doesn't build on -current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug  2 13:00:01 PDT 1998
>Last-Modified:
>Originator:     Stefan Eggers
>Organization:
none
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

	-current cvsup'ed on Friday.  Ports are the same age.

>Description:

	apache12 doesn't build.  This is what I got from a try:

>How-To-Repeat:

	Try it yourself.

>Fix:
	
	I made patches to files/Makefile and scripts/configure which
looked the least intrusive and easiest way to me.  The are:

Index: files/Makefile
===================================================================
RCS file: /usr2/FreeBSD/CVSROOT/ports/www/apache12/files/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	1997/06/07 14:28:22	1.7
+++ Makefile	1998/08/02 19:29:39
@@ -2,7 +2,7 @@
 # Makefile for building and installing apache
 #
 all::
-	cd src; ${MAKE} PREFIX=@@PREFIX@@ $@
+	cd @@WRKSRC@@/src; ${MAKE} PREFIX=@@PREFIX@@ $@
 
 configure::
 	cd src; ./Configure

Index: scripts/configure
===================================================================
RCS file: /usr2/FreeBSD/CVSROOT/ports/www/apache12/scripts/configure,v
retrieving revision 1.4
diff -u -r1.4 configure
--- configure	1997/08/12 11:49:17	1.4
+++ configure	1998/08/02 19:37:36
@@ -1,4 +1,4 @@
 #!/bin/sh
 echo "Making Makefile"
-sed -e "s;@@PREFIX@@;${PREFIX};" $FILESDIR/Makefile >$WRKSRC/Makefile
+sed -e "s;@@PREFIX@@;${PREFIX};" $FILESDIR/Makefile | sed -e "s;@@WRKSRC@@;${WRKSRC};" >$WRKSRC/Makefile
 cd $WRKSRC/src ; sh ./Configure
>Audit-Trail:
>Unformatted:
>> Checksum OK for apache_1.2.6.tar.gz.
===>  Extracting for apache-1.2.6
===>  Patching for apache-1.2.6
===>  Applying FreeBSD patches for apache-1.2.6
===>  Configuring for apache-1.2.6
Making Makefile
Using config file: Configuration
Using Makefile template file: Makefile.tmpl
 + configured for FreeBSD/NetBSD platform
 + setting C compiler to gcc
 + setting C compiler optimization-level to -O2
===>  Building for apache-1.2.6
cd src; make PREFIX=/usr/local all
cd: can't cd to src
*** Error code 2

Stop.
*** Error code 1

Stop.
H
*** Error code 1

Stop.
*** Error code 1

Stop.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808021946.VAA06084>